Skip to content

ontop/ontop-api-examples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

64 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ontop-api-examples

This repository shows how to use ontop API as Maven libraries.

NOTICE

  • We now recommend the usage of the Docker image, or as a second option, the CLI.

Test database

A sample h2 database is provided in the h2 directory. To start it, just

$ cd h2
$ ./h2.sh

A login window will popup. The login infos are:

  • Saved Settings: Generic H2 (Server)
  • Driver Class: org.h2.Driver
  • JDBC URL: jdbc:h2:tcp://localhost/./books.h2
  • User Name: sa
  • Password: test

Ontop Maven artifacts

Ontop as a RDF4J library

        <dependency>
            <groupId>it.unibz.inf.ontop</groupId>
            <artifactId>ontop-rdf4j</artifactId>
            <version>${ontop.version}</version>
        </dependency>
        <dependency>
            <groupId>it.unibz.inf.ontop</groupId>
            <artifactId>ontop-system-sql-owlapi</artifactId>
            <version>${ontop.version}</version>
        </dependency>