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 (opens new window) expressed over the knowledge graphs into SQL queries executed by the relational data sources. It relies on R2RML mappings (opens new window) 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 (opens new window).
Most recent version:
- Stable: Ontop 4.1.1, released on July 23, 2021.
See release notes for more details.
# Main features
- Uses RDF 1.1 as graph data model
- Supports RDFS and OWL 2 QL ontologies
- Supports R2RML and Ontop mappings
- Supports the majority of SPARQL 1.1 features, including the main SPARQL aggregation functions (since 4.0-beta-1) and GeoSPARQL functions (since 4.1)
- Can be deployed as a SPARQL endpoint and as a predefined query endpoint (since 4.1)
- 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 Denodo (beta), Dremio (since 4.1), and Teiid (since 4.1.1)
- Can materialize virtual graphs into RDF files
- Provides a plugin for editing and testing mappings in the Protégé ontology editor (opens new window)
Ontop is backed by the Free University of Bozen-Bolzano (opens new window) and Ontopic s.r.l. (opens new window). It also receives regular important contributions from Birkbeck, University of London (opens new window). See the community section for more details.
Ontop is available under the Apache 2.0 (opens new window) license.
All the documentation is licensed under the Creative Commons (Attribution) (opens new window) license.
You can find us on the following social platforms:
- Facebook (obdaontop) (opens new window)
- Twitter (ontop4obda) (opens new window)
- Google Group (ontop4obda) (opens new window)
- GitHub (ontop/ontop) (opens new window)
If you use Ontop in your work, please cite one of the following articles describing the system.
- Guohui Xiao, Davide Lanti, Roman Kontchakov, Sarah Komla-Ebri, Elem Güzel-Kalayci, Linfang Ding, Julien Corman, Benjamin Cogrel, Diego Calvanese, and Elena Botoeva. The Virtual Knowledge Graph System Ontop (opens new window). In: International Semantic Web Conference (Resource Track), 2020.
- 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 (opens new window). In: Semantic Web Journal 8.3 (2017), pp. 471–487.
If you want to cite the techniques behind Ontop, check our publications.