Skip to content

ontop/ontop-api-examples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

f63c437 · Aug 16, 2024

History

64 Commits
Jun 27, 2023
Aug 16, 2024
Jun 27, 2023
Aug 2, 2017
Aug 24, 2019
May 10, 2015
Jun 24, 2023
Aug 16, 2024

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>