# Key concepts
# Virtual Knowledge Graph (VKG)
A Knowledge Graph (KG) is, in our terminology, a graph using the RDF data model.
A Virtual KG (VKG) is a virtual representation in RDF of non-RDF data, which is generally relational data. With a VKG, the data remains the data sources in its original format but can be virtually represented as an RDF graph.
The Resource Description Framework (RDF) is one of the two main data models for graphs (together with property graphs). RDF mainly targets data integration applications while property graphs are used for building graph databases.
In RDF, data is modelled using classes and properties.
Starting from 3.0, Ontop supports RDF 1.1.
# SPARQL query
SPARQL is the standard query language for RDF graphs.
Ontop is capable of answering SPARQL queries expressed over the VKG. Ontop translates these SPARQL queries into SQL queries, which are then executed over the relational data sources.
Ontop supports a large fragment of SPARQL 1.1.
Mappings specify the correspondance between the data models of the relational data sources and the RDF graph. Ontop supports the R2RML standard mapping language and the Ontop mapping language, which is fully interoperable with R2RML.
An ontology specifies the formal relations between the classes and properties used by the RDF graph. It is mainly used for enriching the RDF graph by, for instance, taking account of class hierarchies.
# VKG specification
VKG specifications are composed of mappings and optionally of ontologies.
# SPARQL endpoint
A SPARQL endpoint is a standardized HTTP-based Web API. It makes the RDF graph queryable by any HTTP client.
Ontop enables VKG specifications to be deployed as SPARQL endpoints.