Ontopmaven
Since the release of version 1.10, Ontop has been deployed to the central maven repository.
All artifacts have the groupId it.unibz.inf.ontop
.
The artifactsId's are ontop
, ontop-obdalib-core
, ontop-obdalib-owlapi3
, ontop-obdalib-protege4
, ontop-obdalib-sesame
, ontop-obdalib-r2rml
, ontop-quest-db
, ontop-quest-owlapi3
, ontop-quest-sesame
, ontop-reformulation-core
.
You may want to check the up-to-date info at the following link:
https://oss.sonatype.org/index.html#nexus-search;quick~ontop
For instance, if you want to use the owlapi interface of Ontop, put the following in your pom.xml:
<dependency>
<groupId>it.unibz.inf.ontop</groupId>
<artifactId>ontop-quest-owlapi3</artifactId>
<version>1.12.0</version>
</dependency>
If you want to use the sesame API interface of Ontop, use the following:
<dependency>
<groupId>it.unibz.inf.ontop</groupId>
<artifactId>ontop-quest-sesame</artifactId>
<version>1.12.0</version>
</dependency>
If you need to use Ontop with R2RML, put the following dependency
<dependency>
<groupId>it.unibz.inf.ontop</groupId>
<artifactId>ontop-obdalib-r2rml</artifactId>
<version>1.12.0</version>
</dependency>
and add the bolzano maven repo to your pom.xml
<repositories>
<repository>
<!-- for R2RML api -->
<id>bolzano-nexus-public</id>
<url>http://obdavm.inf.unibz.it:8080/nexus/content/groups/public/</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
</repositories>
For a complete example, please visit https://github.com/ontop/ontop-api-examples .