nkons / r2rml-parser

R2RML Parser is an award-winning tool that can export relational database contents as RDF graphs, based on an R2RML mapping document.
Apache License 2.0
69 stars 21 forks source link

Running the tool (as a newbie) #11

Closed vpraturlon closed 8 years ago

vpraturlon commented 9 years ago

I'd like to use the tool to publish DSpace data as per examples. Does the tool need to modify the DSpace db / setup? (should it run in the DSpace host?)

nkons commented 9 years ago

The tool needs JDBC connectivity with the DSpace database. This does not mean that the tool has to run in the same host necessarily, but, usually, for security reasons, JDBC connection is only allowed from the same host (localhost). So in theory, it can run from anywhere, but it is good practice to run it from the same host.

The DSpace installation remains unaltered, nothing needs to be done there. Also, the tool does not modify anything in DSpace, it only performs SELECT queries.

How to configure JDBC connectivity: From the tool properties, in the file r2rml.properties, locate the properties: db.url, db.login, db.password, and db.driver

These have to be in accordance with the ones in your DSpace instance: File config/dspace.cfg, properties: db.url, db.username, db.password, and db.driver.

Gautamshahi commented 4 years ago

After changing the JDBC connection properties, how to run the r2ml parser? Do I need to import the entire project in an IDE to execute it? @vpraturlon can you give hint?