Db2triples is a project mainly written in ..., based on the LGPL-3.0 license.
Antidot implementations of R2RML and Direct Mapping specifications
DB2Triples - RDB2RDF Antidot implementation LGPL Licence https://github.com/antidot/db2triples http://www.antidot.net
References : W3C Working Drafts 24 March 2011
Getting the jar
The last version of the jar is available to download on the github repository, using the "Downloads" button:
https://github.com/antidot/db2triples/
Needed dependency
OpenRdf Sesame > 2.5.x - http://www.openrdf.org/ Commons-cli > 1.2 - http://commons.apache.org/cli/ Commons-logging > 1.1.1 - http://commons.apache.org/logging/ MySQL Connector > 5.1.15 - http://www.mysql.com/downloads/connector/j/
Command line
According your classpath has the links to all the preceding jars and the
"db2triples-
To call DirectMapping : java antidot.dm.main.DirectMapping
To call R2RML : java antidot.r2rml.main.R2RML
To build DB2Triples jar, you need to use Maven (http://maven.apache.org/) which will provide to you all the necessary package to compile. The classical way is the command:
mvn package
This will provide a file "db2triples-
You can also compile and execute directly the jar from Maven build. This operation requires to copy dependencies into working folder.
Use following commands :
mvn dependency:copy-dependencies
java -cp target/dependency/*.jar:target/db2triples-
Lead developer : Julien Homo - [email protected] Maven packaging, Git admin : Laurent Mazuel - [email protected]