-
Notifications
You must be signed in to change notification settings - Fork 21
Getting started
-
Dowload and extract the latest release of the R2RML Parser tool.
-
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
-
Execute r2rml-parser.bat (r2rml-parser.sh in linux, do not forget to run
chmod +x r2rml-parser.sh
before execution).