To build the project and copy its dependencies, execute
$ mvn package
$ mvn dependency:copy-dependencies
The run the R2RML processor, execute the following command
$ java -jar r2rml-0.0.1-SNAPSHOT.jar config.properties
Where config.properties
is a properties file containing:
When named graphs are used in the R2RML mapping, one should use serelizations that support graphs such as N-QUADS and TRIG. The use of other serializations formats (such as TURTLE) results in all triples of all graphs being written away to that file. When setting the flag filePerGraph
to true
for seralization formats that do not support graphs, however, the value for outputFile
will be used to create a directory in which a file will be created for each graph in RDF dataset.
This implementation of R2RML is written by Christophe Debruyne.
This code is copyrighted by ADAPT - Trinity College Dublin and released under the MIT license.