Is there a Java open source implementation of R2RM

2020-03-01 10:25发布

问题:

I want to generate RDF data from tabular data, in particular: CSV, TSV, spreadsheets (either Excel or OpenOffice) and, eventually, tables in RDBMS.

I am aware of the "RDB to RDF Mapping Language" (R2RML) (http://www.w3.org/TR/r2rml/) current draft.

I use Apache Jena for processing, storing and querying RDF data and/or reading CSV or TSV files. I use Apache POI for reading Microsoft Excel spreadsheets and I am planning to use Apache ODF Toolkit for reading OpenOffice spreadsheets.

Is there a Java open source (preferably ASL) implementation of R2RML I can use?

回答1:

D2RQ is the underling implementation behind the popular D2R Server. Open source (Apache) and written in Java, so I guess it's exactly what you need.



回答2:

Here you can find a list of current R2RML implementations. Maybe the Clojure one might be interesting for you ;)



回答3:

Before your actual question, you introduced another related problem regarding spreadsheets transformation into RDF. For that I'd recommend you to take a look to Google Refine (now: OpenRefine) and its RDF extension. Maybe this screencast regarding how it's used in LMF would help you.