Coder Social home page Coder Social logo

maliciousgenius / db2triples Goto Github PK

View Code? Open in Web Editor NEW

This project forked from bsletten/db2triples

0.0 0.0 0.0 157 KB

Antidot implementations of R2RML and Direct Mapping specifications

Home Page: http://www.antidot.net

License: GNU Lesser General Public License v3.0

db2triples's Introduction

DB2Triples - RDB2RDF Antidot implementation
LGPL Licence
https://github.com/antidot/db2triples
http://www.antidot.net

References : W3C Working Drafts 24 March 2011
- R2RML: RDB to RDF Mapping Language (http://www.w3.org/TR/2011/WD-r2rml-20110324/)
- A Direct Mapping of Relational Data to RDF (http://www.w3.org/TR/2011/WD-rdb-direct-mapping-20110324/)


Using the library
=================

** 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-<version number>.jar", you can launch the lib as follow :

- To call DirectMapping :
java antidot.dm.main.DirectMapping

- To call R2RML :
java antidot.r2rml.main.R2RML


Building your own jar
=====================

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-<version number>.jar" in the "target"
directory according to default configuration of Maven.


Execute the jar
===============

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-<version number>.jar <main function>


Contacts
========

Lead developer : Julien Homo - [email protected]
Maven packaging, Git admin : Laurent Mazuel - [email protected] 

db2triples's People

Contributors

jhomo avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.