# Introduction

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.

# Versions

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 5.0.2, released on March 9, 2023.

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.0)
  • Can be deployed as a SPARQL endpoint and as a predefined query endpoint (since 4.1.0)
  • Produces efficient SQL queries by applying many optimizations
  • Supports the main database systems: PostgreSQL, MySQL, MariaDB (since 5.0.0), SQL Server, Oracle, DB2, Snowflake (since 5.0.0), Google BigQuery (since 5.0.2), AWS Redshift (since 5.0.2) and DuckDB (since 5.0.2).
  • Supports database federators such as Denodo (beta), Dremio (since 4.1.0), Teiid (since 4.1.1), Apache Spark (since 4.2.0) / Databricks (since 5.0.0) and Trino / PrestoDB / AWS Athena (since 5.0.2).
  • Supports lenses specified outside the data sources (since 4.2.0)
  • Can materialize virtual graphs into RDF files
  • Provides a plugin for editing and testing mappings in the Protégé ontology editor (opens new window)

# Organizations

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 University of Bergen (opens new window) and Birkbeck, University of London (opens new window). See the community section for more details.

# Licenses

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.

# Social

You can find us on the following social platforms:

# Citations