Skip to content
This repository has been archived by the owner on Aug 26, 2023. It is now read-only.

owlcs/ont-d2rq

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ONT-D2RQ – A Database to OWL Mapper (API and Tools)

This is a modified fork of D2RQ (https://github.com/d2rq/d2rq).

There are following major differences with the original:

  • It is a maven project while the original is ant
  • Up-to-date dependencies (java 8, Apache Jena 3.x, etc)
  • OWL2 support
  • A Fuseki (SPARQLer) based embedded server instead of Joseki based native D2RQ Server
  • ONT-API (an OWL-API alternative implementation over Apache Jena)

Usage

  • To build: mvn clean package
  • To run tools: $ java -jar tools\target\d2rq.jar
  • To include in dependencies jitpack.io can be used

Notes and propositions

  • For ONT-API integration there is a special kind of OWLDocumentSource: com.github.owlcs.d2rq.D2RQGraphDocumentSource
  • It is also assumed that ru.owlcs.d2rq.MappingFilter can be used to filter the default database schema
  • ONT-MAP can be used to transform DB RDF data into a more suitable form

Tests

For running tests please configure postgres and mysql databases. DB sql-dumps to prepare environment are located in the doc/example directory. Also, there is a property-file with test db-settings: api/src/test/resources/db.properties

License

Apache License Version 2.0

About

A Database to OWL Mapper

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages