Skip to content

Latest commit

 

History

History
73 lines (48 loc) · 3.07 KB

README.md

File metadata and controls

73 lines (48 loc) · 3.07 KB

CSV-RDF-Mapper

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.

Demo

Live Demo

Project information

The tool was developed during the NFDI4Ing Seed Fund: RDM-Workflows for construction engineering and architecture.

Features

  • Conversion of csv data to turtle / text format using shacl for structuring.
  • Example datasets and shape graph provided to demonstrate functionality in the Demo.

Planned Features

  • 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 and nodeShapeProperties for demonstration.

Technologies Used

Installation

To install CSV-RDF-Mapper, follow these steps:

git clone https://github.com/winroger/csv-rdf-mapper.git
cd csv-rdf-mapper
npm install

Running the Application

To run the application locally, execute:

npm run serve

Building for Production

To build the project for production, use:

npm run build

TypeScript Classes

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

License

This project is distributed under the MIT License. See LICENSE for more information.

Contact