Skip to content

Given ANY Json schema, transform it into a Turtle vocabulary. The "traverse" script goes in that direction, by recursively checking the content of the Json schema. However, it fails to do that in an universally general way, as underlying assumptions/knowledge about the schema are needed.

Notifications You must be signed in to change notification settings

andreipopi/JsonSchemaToRDF

Repository files navigation

JSON Schema to RDF

According to Linked-Data best practices, RDF vocabularies and Shacl shapes are desiderata. This is a component tailored to the current GBFS specification and its json schema structure. It transforms GBFS Json schemas into corresponding RDF vocabularies and Shacl shapes.

Goal

The raison d'etre of this prototype was to have a fully general system, that given any Json schema, would transform it into a Turtle vocabulary. The "traverse" script goes in that direction, by recursively checking the content of the Json schema. However, it fails to do that in an universally general way, as underlying assumptions/knowledge about the schema are required.

How to use

  • Fork on your machine.
  • Install dependencies using npm install
  • Build the typescript using npm run build
  • Run by node JsonSchemaToRDF.js

Useful links

Author

Andrei Popescu andrei.popescu@ugent.be

Future Work

About

Given ANY Json schema, transform it into a Turtle vocabulary. The "traverse" script goes in that direction, by recursively checking the content of the Json schema. However, it fails to do that in an universally general way, as underlying assumptions/knowledge about the schema are needed.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published