jkan is a lightweight, backend-free open data portal, powered by Jekyll.
This project takes the datasets created by jkan and will transform those datasets into RDF triples adhering to the dcat ontology. Ultimately, this data can be loaded into VIVO.
First, the we get the latest data from jkan.
Then, the jkan markdown data is transformed into json using the markdown-to-json node.js project.
The datasets-rdf.py script will read the json data and transform it into rdf, outputting that data into the public directory. Using pow the rdf can be served as a static file for use as an IRIref in the SPARQL load operation.
Finally, using the VIVO Sparql Update API, the data is loaded into VIVO.