Converts tabular data (csv
) to rdf (turtle / text
) utilizing SHACL. The CSV-RDF-Mapper is an MVP to showcase a workflow to populate tabular data into a data graph. Current functionalities are mainly for showcase purposes and are not complete. A minimal shape graph and tabular data is included in the examples and embedded into the Demo.
The tool was developed during the NFDI4Ing Seed Fund: RDM-Workflows for construction engineering and architecture.
- Conversion of
csv
data toturtle / text
format usingshacl
for structuring. - Example datasets and shape graph provided to demonstrate functionality in the Demo.
- Implement rdf-validate-shacl for validation
- Fix how nodeshapes are represented in the datagraph (see f.e.
n0:
) - Extend functionalities how Shapegraph are populated, currently only supporting
nodeshapes
andnodeShapeProperties
for demonstration.
To install CSV-RDF-Mapper, follow these steps:
git clone https://github.com/winroger/csv-rdf-mapper.git
cd csv-rdf-mapper
npm install
To run the application locally, execute:
npm run serve
To build the project for production, use:
npm run build
Class | Description |
---|---|
NodeShape | TypeScript class to populate the NodeShape class from a shape graph (turtle). |
NodeShapeProperty | TypeScript class to automatically populate NodeShape Properties from a shape graph (turtle). |
inputdata | TypeScript class to populate a dataInput from a table (CSV). |
mapping | TypeScript class to create a mapping between CSV and NodeShapes, Column-headers, and Node Shape Properties. |
constants | TypeScript class that holds the needed prefixes |
This project is distributed under the MIT License. See LICENSE
for more information.
- Winkler, Roger - [email protected] - University and State Library at the Technical University of Darmstadt, Department Information Technology, Research and Development (III)
- Svatos-Raznjevic, Hana - [email protected] - University of Stuttgart, Institute for Computational Design and Construction