Skip to content
Nikolaos Konstantinou edited this page Feb 19, 2014 · 18 revisions
  1. Dowload and extract the latest release of the R2RML Parser tool.

  2. Modify the file r2rml.properties. Here you can configure almost anything, without altering the source code. The most important properties are the following:

    mapping.file: The R2RML mapping file that defines how the mappings will be materialized. Make sure you provide valid SQL queries and respect R2RML syntax.

    source database connection properties ( db.host, db.port, db.name, db.login, db.password, db.driver ).

    In case of exporting as an RDF file on the hard disk:jena.destinationFileName: The file that will contain the output in RDF, based on the mapping file and the source database.

    jena.storeOutputModelUsingTdb: Has to be set to true when the target model is serialized using Jena TDB.

    jena.tdb.directory: If property jena.storeOutputModelUsingTdb is set to true, this property defines the directory where the target model will be serialized

  3. Execute r2rml-parser.bat (r2rml-parser.sh in linux, do not forget to run chmod +x r2rml-parser.sh before execution).

Clone this wiki locally