Ontop is a Virtual Knowledge Graph system. It exposes the content of arbitrary relational databases as knowledge graphs. These graphs are virtual, which means that data remains in the data sources instead of being moved to another database.
Ontop translates SPARQL queries expressed over the knowledge graphs into SQL queries executed by the relational data sources. It relies on R2RML mappings and can take advantage of lightweight ontologies.
This documentation is for Ontop 3.0 and more recent versions.
For earlier versions, please refer to our previous Wiki.
Most recent versions:
- Stable: Ontop 3.0.1, released on December 9, 2019.
- Beta: Ontop 4.0.0-beta-1, released on December 23, 2019.
See release notes for more details.
# Main features
- Can be deployed as a SPARQL endpoint
- Supports the main SPARQL aggregation functions (since 4.0-beta-1)
- Uses RDF 1.1 as graph data model
- Supports RDFS and OWL 2 QL ontologies
- Supports R2RML and Ontop mappings
- Produces efficient SQL queries by applying many optimizations
- Supports the main database systems (PostgreSQL, MySQL, SQL server, Oracle and DB2)
- Supports database federators such as Dremio and Denodo (beta)
- Can materialize virtual graphs into RDF files
- Provides a plugin for editing and testing mappings in the Protégé ontology editor
Ontop is available under the Apache 2.0 license.
All the documentation is licensed under the Creative Commons (Attribution) license.
You can find us on the following social platforms:
If you use Ontop in your work, please cite the following SWJ article for the system description.
- Diego Calvanese, Benjamin Cogrel, Sarah Komla-Ebri, Roman Kontchakov, Davide Lanti, Martin Rezk, Mariano Rodriguez-Muro, and Guohui Xiao. Ontop: Answering SPARQL Queries over Relational Databases. In: Semantic Web Journal 8.3 (2017), pp. 471–487.
If you want to cite the techniques behind Ontop, check our publications.