Hi Glenn, You might want to try CARML which is a library for converting: csv, json and xml to RDF based on a R2RML mapping (https://github.com/carml/carml). CARML is Java based and you are able to use it as it suits you. Limitation is the amount of data handled, since CARML does everything in memory, altough with CSV you could split the file and create chunks.
Met Vriendelijke Groet / With Kind Regards Nicky van Oorschot Twitter: @nickyvoorschot Tel. +31(0)6-20335266 Netage B.V. http://netage.nl Esdoornstraat 3 3461ER Linschoten From: Glenn Eriksson <[email protected]> To: "[email protected]" <[email protected]> Date: 08-04-2019 15:13 Subject: Migrate CVS data into RDF Hi, I am a Jena newbie and done a couple of example and tutorials. Now that actually have a use-case for Jean I've got stuck converting CVS into RDF. CVS is a common format within transport sector and public transportation. I've noticed that the jena-cvs library has been retired (jena 3.9). I don't want to use third-party tools (cmd) or library and I want control of the process. Use case: I want to migrate CVS data in GTFS (General Transit Feed Specification) format into RDF * I have a ontology of GTFS in Turtle format (gtfs.ttl) * There are 12-13 CVS files with data that I want to merge (one at a time) with the GTFS model * Store the migrated data in a triple store for further processing My questions/problem are: 1. Is it possible to use the retired jena-csv module to merge CVS data and GTFS. I don't want to use R2RML if I can avoid it since it's quite verbose? 2. When I use Jean 3.9 in my pom.xml and build with dependencies the JAR file for jena-csv is missing. So I haven't been able test GraphCSV and merge it with the loaded GTFS model. Where can I find the jar file for jena-csv 3.9? Sorry if this is a rudimentary procedure and question, point me in the right direction if my approach is wrong. Greetings Glenn PS. I have read these jena-csv< https://lists.apache.org/thread.html/81dfedb090089a15275d2b83bd676b03eb141f0d92c96d6d6d455c29@%3Cusers.jena.apache.org%3E >, CSV to rdf< https://lists.apache.org/thread.html/ba053bf52d30285bb447337ac4518110bcec3a6bf035b4f708e67037@%3Cusers.jena.apache.org%3E > in the mail archive. I have found the source code for jena-csv but not the the jar.
