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?
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.
Here you can find a list of current R2RML implementations. Maybe the Clojure one might be interesting for you ;)
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.
来源:https://stackoverflow.com/questions/9656998/is-there-a-java-open-source-implementation-of-r2rml