We present Ontop, an open-source Ontology-Based Data Access (OBDA) system that allows for querying relational data sources through a conceptual representation of the domain of interest, provided in terms of an ontology, to which the data sources are mapped. Key features of Ontop are its solid theoretical foundations, a virtual approach to OBDA, which avoids materializing triples and is implemented through the query rewriting technique, extensive optimizations exploiting all elements of the OBDA architecture, its compliance to all relevant W3C recommendations (including SPARQL queries, R2RML mappings, and OWL 2 QL and RDFS ontologies), and its support for all major relational databases.
Over the past 20 years we have moved from a world where most companies operated with a single all-knowing, self-contained, central database to a world where companies buy and sell their data, interact with several data sources, and analyze patterns and statistics coming from them. The focus is shifting from obtaining information to finding the right information. It has always been the case that information is power, but today attention rather than information becomes the scarce resource, and those who can distinguish valuable information from background clutter gain power [40]. To separate the wheat from the chaff, companies need a comprehensive understanding of their data and the ability to cope with diversity in the data.
Since the mid 2000s, Ontology-Based Data Access (OBDA) has become a popular approach for tackling this challenge [42]. In OBDA, a conceptual layer is provided in the form of an ontology that defines a shared vocabulary, models the domain, hides the structure of the data sources, and enriches incomplete data with background knowledge. Then, queries are posed over this high-level conceptual view, and the users no longer need an understanding of the data sources, the relation between them, or the encoding of the data. Queries are translated by the OBDA system into queries over potentially very large (usually relational and federated) data sources. The ontology is connected to the data sources through a declarative specification given in terms of mappings that relate symbols in the ontology (classes and properties) to (SQL) views over the data. The W3C standard R2RML [17] was created with the goal of providing a language for specifying mappings in the OBDA setting. The ontology together with the mappings exposes a virtual RDF graph, which can be queried using SPARQL, the standard query language in the Semantic Web community. This virtual RDF graph can be materialized, generating RDF triples to be used with RDF triplestores, or alternatively it can be kept virtual and queried only during query execution. The virtual approach avoids the cost of materialization and can profit from more than 30 years’ maturity of relational database systems (efficient query answering, security, robust transaction support, etc.).
To illustrate these concepts and different notions in this article, we will use the following running example. All the material required to run this example in the OBDA system Ontop (and a complementary tutorial) can be found online.1
We consider a hospital database with a single table tbl_patient that contains information on lung cancer patients. The table has 4 attributes: the patient identifier (pid), his/her name, the type of cancer (tumor), and its stage. The lung cancer can be of two types: Non-Small Cell Lung Carcinoma (NSCLC) and Small Cell Lung Carcinoma (SCLC), which are encoded in the table by a boolean value type as follows:
false for NSCLC and true for SCLC.
The stage of the cancer is encoded by a positive integer value stage as follows:
NSCLC: 1–6 for stages I, II, III, IIIa, IIIb, and IV, respectively;
SCLC: 1 and 2 for stages Limited and Extensive, respectively.
Our sample table contains the following data:
Suppose we need a simple piece of information from this database: “Give me the names of patients with a tumor of stage IIIa”. Even this simple query in this tiny database already presents some challenges, because in order to formulate the query and to understand and analyze the results we need to know how the information is encoded in the data. In this article, we describe how to use the Ontop system to address this challenge by enhancing the database with a semantic layer. □
a mature open-source system, which is currently being used in a number of projects. Ontop supports all the W3C recommendations related to OBDA: OWL 2 QL, R2RML, SPARQL, SWRL, and the OWL 2 QL entailment regime in SPARQL. The system is available as a Protégé plugin, a SPARQL endpoint through Sesame Workbench, and a Java library supporting OWL API and Sesame API.
The structure of the article is as follows. Section 2 presents a high-level overview of the architecture of Ontop. Section 3 surveys additional tools that can be used with Ontop for creating, deploying, and querying OBDA systems. Section 4 describes the SPARQL query answering techniques implemented in Ontop. Section 5 outlines the applications of Ontop, in particular the Statoil and Siemens use cases in the context of the Optique EU project. Related SPARQL query answering systems are surveyed in Section 6. Section 7 is a retrospective on the development of Ontop over the past five years. Finally, Section 8 concludes the article.
OBDA system released under the Apache license, developed at the Free University of Bozen-Bolzano. The Ontop system exposes relational databases as virtual RDF graphs by linking the terms (classes and properties) in the ontology to the data sources through mappings. This virtual RDF graph can then be queried using SPARQL by translating the SPARQL queries into SQL queries over the relational databases. This translation process is transparent to the user.
The architecture of Ontop, which is illustrated in Fig. 1, can be divided in four layers: (i) the inputs, i.e., the domain-specific artifacts such as the ontology, mappings, database, and queries; (ii) the core of the system in charge of query translation, optimization, and execution; (iii) the APIs exposing standard Java interfaces to users of the system; and (iv) the applications that allow end-users to execute SPARQL queries over databases. We explore each of these components in turn.
Architecture of the Ontop system.
Inputs: Ontology, mappings, queries, and databases
To the best of our knowledge, Ontop is the first OBDA system that supports all the W3C recommendations related to OBDA: OWL 2 QL, R2RML, SPARQL, SWRL, and the OWL 2 QL entailment regime in SPARQL.4
SWRL and the OWL 2 QL entailment regime are currently supported experimentally.
In addition, it supports all major commercial and open-source relational databases.
As ontology languages, Ontop uses RDFS [8] and OWL 2 QL [38]. OWL 2 QL is based on the DL-Lite family of lightweight description logics [3,11], which guarantees that queries over the ontology can be rewritten into equivalent queries over the data alone. Recently Ontop has been extended to support also a fragment of SWRL [61].
The following ontology captures the domain knowledge of our running example. It describes the concepts of cancer and cancer patient with the following OWL axioms:
In particular, classes :NSCLC and :SCLC are subclasses of :LungCancer (that is, both are types of lung cancer), which in turn is a subclass of :Neoplasm. The object property :hasNeoplasm has class :Patient as its domain and :Neoplasm as its range (in other words, it relates patients to neoplasms). We also have a datatype property :hasName and an object property :hasStage. □
Two mapping languages are suppored by Ontop: the W3C RDB2RDF Mapping Language (R2RML), which is a widely used standard; and the native Ontop mapping language, which is easier to learn and use. Ontop includes tools for converting native mappings into R2RML mappings and vice versa. Intuitively, a mapping assertion consists of a source, which is an SQL query retrieving values from the database, and a target, which constructs RDF triples with values from the source.
The ontology in Example 2.1 can be populated from the database in Example 1.1 by means of the following mappings in the simplified Ontop native mapping syntax:
In this example, IRIs like :hasStage and rdf:type (abbreviated as a) represent the constant components of the RDF triples. IRIs :db1/{pid} and :db1/neoplasm/{pid} are constructed using values from the database: in both cases, {pid} is the value of the attribute pid in the respective SQL query. Similarly, "{name}" is a literal whose value is taken from the attribute name in the SQL query of the mapping. Note that there are individuals that represent patients, :db1/{pid}, and individuals that represent their tumors, :db1/neoplasm/{pid}. This allows for a better modeling of the domain. □
Mappings are also used for data integration. To model an entity, for instance, a patient, that is represented by different objects in different datasources, there are in principle two options. First, one can virtually merge different objects representing the same entity by generating the same URI for them. Second, when the first option is not available, one can use owl:sameAs in the target of the mappings to explicitly state the equality between objects [12].
Ontop supports essentially all features of the query langugage SPARQL 1.0 as well as the OWL 2 QL entailment regime of SPARQL 1.1 [34]. Implementation of other features of SPARQL 1.1 (e.g., aggregates, property path queries, negation) is ongoing work.
Recall our information need in Example 1.1: the names of all patients who have a neoplasm (tumor) at stage IIIa. This can be represented by the following SPARQL query:
On our sample database, the query would return ‘Mary’. Observe that the vocabulary is more domain-oriented and independent of the representation in the database and there is no need to be aware of the specific values that encode types or stages of cancer in the database. □
Standard relational database engines are supported by Ontop via JDBC. These include all major commercial relational databases (DB2, Oracle, MS SQL Server) and the most popular open-source databases (PostgreSQL, MySQL, H2, HSQL). In addition, Ontop can be used with federated databases (e.g., Teiid5
formerly called ADP [59]) to work with multiple data sources (e.g., relational databases, XML, CSV, and Web Services).
Ontop core
The core of Ontop is the SPARQL engine Quest, which is in charge of rewriting SPARQL queries over the virtual RDF graph and ontology into SQL queries over the relational database (see Section 4).
API layer
System developers can use Ontop as a Java library: Ontop implements two widely-used Java APIs, which are also available as Maven artifacts. –OWL API [25] is a reference implementation for creating, manipulating, and serializing OWL ontologies. We extended the OWLReasoner Java interface to support SPARQL query answering. –Sesame [9] is a de-facto standard framework for processing RDF data. Ontop implements the Sesame Storage And Inference Layer (SAIL) API, which supports inferencing and querying over relational databases.
Application layer
Ontop is also available through a simple command-line interface and through several applications accessing it via the aforementioned APIs. We describe three such applications, which we have developed and maintained together with Ontop over the past years.
–Ontop implements a plugin for Protégé based on OWL API. The plugin provides a graphical interface for various key functionalities related to OBDA: editing mappings, executing SPARQL queries, checking consistency of the ontology, bootstrapping ontologies and mappings from the database, importing and exporting R2RML mappings, materializing RDF triples, etc. Figure 2 shows two screenshots of the Ontop Protégé plugin for creating mappings and answering SPARQL queries from the running example. –Sesame OpenRDF Workbench is a web application for administrating Sesame repositories. We extended the Workbench to create and manage Ontop repositories using SAIL API. Such repositories can then be used as standard SPARQL endpoints. Figure 3 shows a screenshot of creating an Ontop repository in Sesame Workbench. –The Optique Platform complements Ontop by adding an intuitive visual query builder, tools for ontology and mapping management, a user-friendly query answering interface, and a database federation tool, among other features [22]. Ontop is the core of the Optique Platform and is in charge of the query transformation module. The platform can exploit massive parallelism in the backend whenever possible, and it also supports streaming data (in the streaming scenario, Ontop is used only for query rewriting).
Screenshots of the Ontop Protégé plugin.
Screenshot of the Ontop Sesame Workbench.
Ecosystem
Complementary to Ontop’s core functionalities, there are additional tools that support the tasks involved in creating and deploying OBDA systems. We now provide a brief overview of some of the tools for bootstrapping mappings and ontologies, for federating data sources at SQL and SPARQL levels, and for formulating queries.
Mapping generation
The process of creating mappings is probably the most complex step in setting up an OBDA system. It involves writing individual queries for each table and column that needs to be aligned with the ontology’s vocabulary. A number of tools for (semi-)automatic creation of mappings have been implemented.
Mapping bootstrappers automatically generate mappings and vocabularies from database schemas. Ontop includes a mapping bootstrapper, which is available as a command-line tool and as part of the Protégé plugin. Most of the existing tools generate mappings that follow the Direct Mapping7
http://www.w3.org/TR/rdb-direct-mapping.
specification, a W3C recommendation for a default way of generating RDF triples from SQL databases. The specification contains guidelines on (i) how to use the values of primary, foreign, and unique keys to create IRIs for subjects and objects in RDF triples, (ii) how to use table names to define classes, and (iii) how to use table and column names to define properties. The specification also deals with low-level issues such as casting SQL values to RDF literals, handling null values, etc. Although the (default) direct mapping is not necessarily useful as a mapping by itself, many mapping bootstrappers take it as a baseline for mapping generation.
It is important to note, however, that a direct mapping is usually not sufficient to capture the semantics of the data such as class hierarchies encoded in columns with codes or IDs (e.g., type = false indicates small cell lung cancer), or the conditions that a certain value in a column identifies the object(s) that belong to a certain class (e.g., a patient with stage 1 to 4 is a high risk patient). Systems like MIRROR [21] and BootOX [27] support automatic generation of such complex mappings by exploiting the common patterns that schema managers use to encode the semantics of the domain in the relational database.
Once mappings have been generated with any of these tools, any query engine for virtual RDF graphs like Ontop can use them.
Mappings can also be constructed semi-automatically: the system suggests new mappings by analyzing the data sources and the existing mappings and the user guides the process. Such systems, e.g., Karma [33] and Clio [20], rely on schema matching techniques developed for data integration [18].
Ontology bootstrapping and matching
A basic vocabulary of classes and properties can be obtained from the table and column names in a database. However, such a vocabulary lacks ontological axioms that describe its semantics. Ontology bootstrappers are tools that extract RDFS or OWL axioms using schema information (such as integrity constraints) and/or the data in the database. For instance, BootOX [27] can be used for ontology bootstrapping.
However, the quality of automatically bootstrapped ontologies is usually not sufficient to allow their direct use for querying data sources. Moreover, users might want to use also well-established domain ontologies in combination with bootstrapped ones. So, the bootstrapped and domain ontologies need to be aligned. Ontology matching techniques [19], which are able to perform such alignment, can be seen as an extension of the schema matching techniques mentioned earlier. For example, BootOX uses the ontology matching tool LogMap [26].
SQL federation
One way in which Ontop supports data integration scenarios is through SQL federation. A federated database is a DBMS that maps multiple independent databases into a single virtual schema. The designer of a federated database chooses how to map the independent databases into the virtual schema by, e.g., creating one-to-one mappings, renaming elements of the schema, or creating virtual tables from SQL views. Some federated databases also use wrappers for non-SQL databases (e.g., XML) to provide a uniform user interface for the client. SQL execution is coordinated by the federation engine, which exploits techniques for planning and executing cross-database joins with guarantees of concurrency and transaction control.
Most major DBMSs support federated schemas that integrate independent servers of their own kind: for example, MySQL creates federated schemas over independent MySQL servers. Federated schemas with databases from multiple vendors are supported by systems like UnityJDBC, IBM Websphere, MS SQL Server, and Oracle; open-source solutions are provided by JBoss’s Teiid and Exareme, both of which are supported by Ontop.
SPARQL federation
Another setup in which Ontop can be used in data integration scenarios is through SPARQL federation. As with federated SQL databases, SPARQL federation involves multiple and independent SPARQL end-points that are queried through a single entry point. We distinguish two forms of federation available: seamless federation and SPARQL 1.1 SERVICE federation.
Seamless federation is very similar to SQL federation. That is, a system manager creates a federated SPARQL end-point where she configures access to independent and remote end-points. Clients submit plain SPARQL queries to the federated end-point, unaware of the existence of the remote end-points. As with SQL federation, the federation system is responsible for finding the most efficient way of executing queries (in particular, it is extremely important to minimize the amount of data transferred between end-points). Anapsid [2] and FedX [55] are examples of such systems.
In contrast, SERVICE federation involves direct references to remote end-points in SPARQL 1.1 queries: the SERVICE keyword is used to scope a subgraph to a particular end-point. For example:
When a SERVICE keyword is encountered, the SPARQL engine delegates the evaluation of the enclosed graph pattern to the SPARQL end-point specified in the SERVICE call. The result is retrieved by the local SPARQL engine and used to continue the evaluation of the SPARQL query. SPARQL federation through SERVICE calls is available in most SPARQL 1.1 compliant engines.
In contrast to seamless federation, using the SERVICE keyword does not require the federation engine to know about the remote end-points a priori. In fact, the end-point URL itself can be a variable in the query, getting values as the query gets executed.
Ontop can be used in both of these setups by deploying an Ontop SPARQL end-point (see Section 2.4).
Ontology-based query interface
The task of formulating SPARQL queries can be challenging for end-users. There are several ontology-based visual query interfaces to ease this task, e.g., OptiqueVQS [58], QueryVOWL [24], SEWASIE VQS [15], and Faceted search [60]. These tools can be used together with Ontop. In particular, OptiqueVQS is the query interface in the Optique platform.
Answering SPARQL queries
Ontop answers end-user’s SPARQL queries by rewriting them into SQL queries and delegating execution of the SQL queries to the data sources. With this approach there is no need to apply rules to the data sources to materialize all the facts entailed by the ontology. The workflow of Ontop can be divided into an off-line and online stages and is illustrated in Fig. 4. The most critical task during start-up (the off-line stage) is generating the so-called T-mappings [49] by compiling the ontology into the mappings. During query execution (the online stage), Ontop transforms an input SPARQL queries into an optimized SQL query using the T-mappings and database integrity constraints. We now explain each of the two stages.
The Ontop workflow.
Off-line stage: Ontology and mapping compilation
The off-line stage of Ontop processes the ontology, mappings, and database integrity constraints. This stage can be thought of as consisting of three phases: (1) ontology classification, (2) T-mapping construction, and (3) T-mapping optimization. In the implementation of Ontop, however, the last two phases are performed simultaneously.
In Phase 1, the ontology is loaded through OWL API and is classified using the built-in OWL 2 QL reasoner. The resulting complete hierarchy of properties and classes is stored in memory as a directed acyclic graph. For example, in the ontology in Example 2.1, both :NSCLC and :SCLC are subclasses of :LungCancer, which in turn is a subclass of :Neoplasm. It follows that every NSCLC and every SCLC is a form of neoplasm:
The classification algorithm is based on a variant of graph reachability [45] (a similar procedure was later described in [36]).
In Phase 2, T-mappings are constructed by compiling the complete class and property hierarchies into the mappings [49,51]. For example, consider concept :Neoplasm in Example 2.1. Although it has no rules in the mappings defined by the user, the two class inclusions derived above give rise to the following rules in the T-mapping:
Finally, in Phase 3, the T-mappings are optimized by using disjunction (OR) and interval expressions in SQL and by applying the semantic query optimization (SQO) techniques (which will be described in Section 4.2.2). For instance, using disjunction, Ontop transforms the two rules above into a single rule
Such optimizations are known to be relatively expensive (for example, SQO is based on an NP-complete conjunctive query containment check) but are performed only once, during the off-line stage of Ontop, and therefore have no negative effect on the online stage of query processing. On the other hand, the resulting T-mappings define all the triples in the virtual RDF graph that includes all the inferences due to the ontology (under the entailment regime). Thus, during the online stage, the T-mappings are used directly for the translation of individual triple patterns in SPARQL queries into SQL.
Online stage: Query answering
The online stage takes a SPARQL query and translates it into SQL by using the T-mappings. We focus only on the translation of SELECT queries (ASK and DESCRIBE queries are treated analogously). In this process Ontop also optimizes the SQL query by applying SQO techniques [16,32]. We distinguish three phases in the query answering process. (1) The SPARQL query is translated into SQL using T-mappings. (2) The resulting SQL query is optimized for efficient execution by the database engine. (3) The optimized SQL query is then executed by the database engine, and the result set is translated into the answer to the original SPARQL query by creating the necessary RDF terms. Note, however, that Phases 1 and 2 are handled together in the implementation of Ontop and we separate them here only for the sake of clarity. We elaborate now on the three phases of query answering.
From SPARQL to SQL
Ontop internally represents the SPARQL query as a tree of the algebra expression (generated by the Sesame SPARQL parser). Each node of the tree is transformed into the respective SQL expression. To illustrate the transformation, we continue with the running example.
Consider the fragment of the query in Example 2.3 that retrieves all tumors of stage IIIa:
(Note that triple pattern ?tumor a :Neoplasm was redundant in Example 2.3: indeed, Ontop can infer it from ?p :hasNeoplasm ?tumor because the range of :hasNeoplasm is :Neoplasm. On the other hand, the users are not expected to perform inferences and, in fact, often include such redundant triples.) The above query is represented by the following tree:
□
Next we explain how to produce the SQL expression from a SPARQL query using T-mappings. Algorithm 1 is a simplified version of the process. It iterates over the nodes of the SPARQL algebra tree in a bottom-up fashion; more precisely, it goes through the list S of nodes in the tree of query Q in the topological sorting order. In our running example this list is [T1, T2, JOIN, PROJECT]. So, the algorithm starts by replacing each leaf of the tree, which is a triple pattern of the form , by the union of the SQL queries defining its predicate in the T-mapping (lines 4–5). In this step, the algorithm implicitly considers two cases: (i) when p is an object or data property such as :hasStage or :hasName, or (ii) when p is a (rdf:type) and o is a class such as :Patient.
Translating SPARQL into SQL
Once it finishes processing the leaves, it continues to the upper levels in the tree (lines 7–17), where the SPARQL operators (JOIN, OPTIONAL, UNION, FILTER, and PROJECT) are translated into the corresponding SQL operators (InnerJoin, LeftJoin, Union, Filter, and Project, respectively). Once the root is translated, the process is finished and the resulting SQL expression is returned.
Ontop translates the SPARQL query in Example 4.1 into an SQL query of the following structure (see Fig. 5(a)):
The leaves, Q1 and Q2, are the SQL definitions of the concept :Neoplasm and property :hasStage, respectively, in the T-mapping rules constructed during the off-line stage (see Section 4.1). Observe that without the T-mapping optimizations in the off-line stage, the resulting SQL would contain a union in place of Q1, which would increase the complexity of the SQL query and so, would have a negative effect on the query evaluation time. □
Example of SQL translation and optimization.
For the sake of simplicity we do not describe the translation of filter expressions and OPTIONAL (an optimal translation of unions and empty expressions in the second argument is particularly challenging) and how to handle data types and functions in SQL expressions. Instead, we refer the interested reader to [34,53].
Optimizing generated SQL queries
The generated SQL queries can already be executed by the database engine but they are inefficient: they often contain subqueries, redundant self-joins, and joins over complex expressions such as string concatenations (the latter, for instance, prevent the database engine from using indexes). Ontop employs a number of structural and semantic optimizations to simplify and improve performance of produced SQL queries.
Ontop applies three main structural optimizations: (i) pushing the joins inside the unions, (ii) pushing the functions as high as possible in the query tree, and (iii) eliminating sub-queries. Returning to the running example, the SQL query obtained by these optimizations is shown in Fig. 5(b): optimizations (ii) and (iii) convert the join over the complex expressions into a join over the attributes of the relations (effectively de-IRIing the join) and subsequently remove the subqueries.
Ontop adopts techniques from the area of Semantic Query Optimization (SQO) [16,32]. In general, SQO refers to the semantic analysis of SQL queries and use of database integrity constraints, such as primary and foreign keys, to reduce the size and complexity of the query, e.g., by removing redundant self-joins, and detecting unsatisfiable or trivially satisfiable conditions. In our running example, SQO eliminates the self-join, which is redundant because pid is the primary key of tbl_patient; it also simplifies the WHERE clause because the condition (type = false OR type = true) is implied by (type = false). The resulting SQL query is shown in Fig. 5(c). Observe that it has a sub-query, Q, that could not be eliminated before but, after the SQO step, structural optimization (iii) can be applied again to eliminate sub-query Q and obtain an even simpler SQL query, which shown in Fig. 5(d).
Observe that these optimizations interact with and complement each other. The optimization step is critical [35] and nontrivial. This simple example illustrates the basic principles. The translation of complex queries is more involved and takes account of the gap between the SQL and SPARQL semantics. The interested reader is referred to [34,53].
Executing queries over the database
Since different database engines support slightly different SQL dialects, we have to adjust the SQL syntax accordingly. For instance, the string concatenation operator is || in Postgres and concat in MySQL; in MySQL, one cannot cast a value to Integer, so we cast it to Signed instead; Postgres internally changes unquoted table and column names (identifiers) to lowercase, while Oracle and H2 change unquoted identifiers to uppercase.
As the final step, Ontop sends the generated SQL query to the database engine and translates the result into RDF terms (URIs or literals) to construct the answers to the SPARQL query. In the implementation, Ontop wraps the result set obtained from the database via JDBC and creates corresponding Java objects for OWL API or Sesame API.
Performance
The cost of query answering in Ontop can be split into three parts: (i) the cost of generating the SQL query, (ii) the cost of execution by the RDBMS, and (iii) the cost of fetching and transforming the SQL results into RDF terms. We have studied the performance of Ontop using several benchmarks (e.g., BSBM, FishMark, LUBM, and NPD) and settings (e.g., various database engines, number of clients, dataset size) [34,35,51,54]. The obtained results suggest that the performance of Ontop depends more on the complexity of the combination of ontology and mappings than on the size of the dataset. On the one hand, this is in line with the well-known theoretical results on the price of OBDA: the transformation of the query suffers an exponential blow-up in the worst case [23]. On the other hand, on the standard query rewriting benchmarks (LUBM, Adolena, etc.), the tree-witness query rewriting algorithm implemented in Ontop produces rewritings shorter and simpler than all other tools; moreover, it is also faster [51]. As a consequence, Ontop can efficiently perform ontological inferences in the virtual RDF graph mode without any need for materialization: on IMDb, for example, it is competitive with such materialization-based systems as OWLIM (GraphDB) [51] and, on LUBM, it outperforms reasoner-based systems, especially on large data instances [34]. In benchmarks like BSBM and FishMark, where the number of mappings is small and the datasets range from 25 to 200 million triples, Ontop outperforms its competitors (D2RQ, OWLIM, Stardog, Virtuoso) by orders of magnitude [54]. This performance is the result of (i) the fast SPARQL-to-SQL translation (4–15 ms); (ii) the efficient optimization of the SQL; and (iii) the well-known efficiency of relational databases. For instance, in BSBM with 200 million triples, Ontop can run more than 400.000 queries per hour (44 k query mixes per hour).
To better understand the performance of OBDA systems, we developed a more challenging benchmark, the NPD Benchmark [35], which reveals the strengths and pitfalls of OBDA. It is based on the original NPD FactPages ontology, mappings and queries [57]. The NPD FactPages original data is published by the Norwegian Petroleum Directorate (NPD) and the query set was obtained by interviewing users of NPD FactPages.8
http://factpages.npd.no/factpages.
This setting thus provides a realistic account of the information needs in the modeled scenario. The ontology and mappings contain thousands of axioms and rules and our benchmark comes with a dataset of up to 4 billion triples, which were obtained from the original NPD FactPages dataset. The results comparing Ontop and Stardog on the NPD Benchmark show [35] that our approach is scalable but more work is needed to optimize the generated SQL queries. Indeed, while the optimizations currently implemented in Ontop result in efficient SQL translations for most of the queries, some cases are still challenging. Ontop outperforms Stardog whenever the SPARQL query is translated into a small SQL query. But in those few cases when the generated SQL queries are large unions of subqueries, Stardog still outperforms Ontop. We are currently working on various techniques for tackling this issue.
Industrial applications
Adoption of Ontop by the community has been growing steadily in the past six years. In 2015, the Ontop bundle was downloaded more than 1800 times,9
Reported by SourceForge for the period May–December, 2015.
the webpage got 12K hits, and the mailing list more than 200 topics. Since November 2015, IBM has been contributing to the Ontop code and using it, e.g., for data integration [37]. Also, in November 2015, Complexible Inc. integrated Ontop code into Stardog v4.
relies on Ontop to improve access for scholars to historical and cultural data on food production and commercial trade system during the Roman Empire from several data sources [14]. Also, Ontop is used in Semantic Mediator [7], for accessing electronic health records [46], and for querying temporal and streaming data in OBDA [41].
Ontop is the core component of the Optique Platform, which is developed in the EU large scale integrating project Optique [22] and commercialized by fluid Operations (fluidOps).12
http://www.fluidops.com/en.
In the following, we describe the use cases of the two major industrial partners in the Optique project, namely Statoil [29] and Siemens [41], and the role Ontop plays there.
Statoil is an international energy company with main activities in gas and oil extraction. It is headquartered in Norway and present in over 30 countries around the world. Geologists at Statoil require access to a number of large databases on a daily basis. One of them, for example, the Exploration and Production Data Store (EPDS), comprises over 1500 SQL tables with information on historical exploration data (e.g., layers of rocks, porosity), production logs, and maps, among others. It also contains business information such as license areas and companies. The schema is organized in such a way that the direct data access by engineers (and geologists in particular) often becomes challenging or even impossible. The main problem lies not only in the size of the schema and the data but also in the complex structure of this legacy database. The solution currently adopted by Statoil relies on tools that provide domain experts with a few different pre-defined queries. However, these pre-defined queries are often too specific, or too general, and cannot be easily combined to obtain the desired results.
Siemens Energy is one of the four sectors of Siemens AG corporation. It is in charge of generating and delivering power from numerous sources. Siemens Energy runs several service centers for power plants. Each center monitors thousands of devices related to power generation, including gas and steam turbines, compressors, and generators. Each device is monitored by a number of sensors. All dynamic (observational) data from the sensors is stored in one large relational database (PostgreSQL) using more than 150 tables per device. About 30 GB of new sensor and event data is generated every day, resulting in a total of 100 TB of timestamped data. One of the main tasks for service engineers monitoring these devices is to promptly solve issues detected by gathering the relevant sensor data and analyzing it.
The data gathering phase is often the bottleneck of the process because it takes about 80% of the engineers’ time. This is partly due to the complexity and quantity of the data. Ideally, the engineers should be able to access the data directly, by creating and combining queries in an intuitive way that is compatible with their knowledge. However, the data is often organized to better serve the applications rather than the domain experts.
In scenarios such as at Statoil and Siemens, the OBDA approach to solving these problems consists in enriching the legacy databases with an ontological layer that uses a terminology familiar to the engineers. The ontology helps the engineers in formulating their own queries autonomously using the domain vocabulary [22,30], thus effectively mediating between the engineers and the data. The role of Ontop (and Optique) is to make the OBDA approach feasible, by automating the process of translating the queries that the engineers pose over the ontology into queries over the legacy databases that can be executed efficiently.
We now briefly review the most popular SPARQL query answering systems, which can be categorized into two major types: triplestores and OBDA systems. Table 1 summarizes their main features.
Triplestores provide a flexible generic logical model for storing any set of RDF triples. However, if the triples are generated from external sources (e.g., relational databases) then an intermediate ETL (Extract, Transform, and Load) process is required to transfer data between these external sources and the triplestore. The ETL process can be expensive, especially when data sources are frequently updated.
OBDA systems, on the other hand, are set up over existing relational datasources and exploit their domain-specific schemas. By using ontologies and mappings, they expose the database as a virtual RDF graph that can be queried using SPARQL (thus, the additional ETL process is not required).
Some triplestores and OBDA systems have reasoning capabilities. The most common strategy for triplestores is forward-chaining, which consists in extending the set of RDF triples by means of inferences according to a given set of rules. Thus, the OWL 2 RL profile of OWL 2 (and similar rule-based ontology languages) are most suitable for triplestores. Forward-chaining has certain drawbacks: inferences can be costly in terms of both time and space; moreover, updates and deletions of triples require additional book-keeping for incremental reasoning. Also, this approach cannot be adopted without sacrificing completeness of query answering when the ontology language (such as OWL 2 QL) is capable of inferring new individuals in the data.
In contrast to triplestores, the most common strategy for OBDA systems is query rewriting, and so OWL 2 QL is the OWL 2 profile most suitable in this setting. To guarantee rewritability, certain features, such as recursion and property chains, are not allowed in OWL 2 QL.
In the remainder of this section, we review various implementations of the two types.
is a hybrid system that can be used as a relational database, a triplestore, or an OBDA system. It has two editions, an open-source and a commercial one. From the perspective of answering SPARQL queries, Virtuoso is used mostly as a triplestore. It supports SPARQL 1.1 and, in this mode, it offers some backward- (by default) and forward-chaining capabilities for limited subsets of RDFS and OWL. When Virtuoso is used as a regular DBMS, it can be turned into an OBDA system by setting up mappings in its own mapping language. However, its OBDA mode has several limitations: no reasoning capabilities are available and only a small fragment of R2RML is supported. Virtuoso can be accessed through the Sesame and Jena APIs.
previously known as OWLIM [5], is a commercial triplestore developed by Ontotext. It fully supports SPARQL 1.1. OWL reasoning is based on the forward-chaining materialization approach. This strategy naturally fits with the OWL 2 RL profile but is incomplete for OWL 2 QL [4]. GraphDB is accessible through the Sesame API.
is a commercial triplestore developed by Complexible Inc.16
http://complexible.com.
It supports SPARQL 1.1 and several reasoning levels: RDFS, the three profiles (OWL 2 QL / EL / RL), and OWL 2 DL (however, completeness in the latter is guaranteed only for schema reasoning). Stardog avoids eager materialization and its reasoning engine is partly based on query rewriting (in fact, the reasoning level can be chosen by the user at query time). Stardog can be accessed through Sesame API. Since version 4 released in November 2015, Stardog has integrated Ontop code to support SPARQL queries over virtual RDF graphs. Therefore, it can now be classified also as an OBDA system.
is an in-memory triplestore developed at the University of Oxford. It implements a novel shared-memory parallel Datalog reasoning algorithm and supports OWL 2 RL reasoning by materialization [39]. The system is a cross-platform software written in C++ and comes with a Java wrapper supporting OWL API.
is one of the pioneering OBDA systems, developed at the Free University of Berlin and DERI. This query rewriting system implements some query optimizations but these have often been reported as insufficient: for instance, the generated SQL queries can contain an excessive number of joins [44]. It provides its own mapping language, D2RQ, and supports only a fragment of R2RML. No inference mechanism is included. This software (last release in 2012) is available under an open-source license.
is an OBDA system that shares common origins with Ontop. This query rewriting system supports reasoning over OWL 2 QL ontologies. Unlike other OBDA systems mentioned here, it supports only a restricted fragment of SPARQL that corresponds to conjunctive queries. Mastro is available only for demonstration, testing, and evaluation purposes.
is an OBDA system commercialized by Capsenta. It was recently extended to support inference over an extension of RDFS with inverse and transitive properties [56]. Ultrawrap uses an analogue of T-mappings of Ontop, which are called saturated mappings and which are used for creating regular and materialized views in the relational database.
formerly called ODEMapster, is an open-source OBDA system supporting the R2RML and Direct Mappings standards. This system implements a number of query optimizations techniques such as self-join elimination [44]. However, it has no inference capability.
A retrospective
Ontop has its roots in our early work on QuOnto and Mastro [1,10]. QuOnto is a reasoner for the description logic DL-Lite with plain conjunctive query (CQ) answering and Mastro is its extension with GAV (global as view) mappings for relational databases [42] (both systems are maintained by the Sapienza University of Rome). Our work enabled the use of these systems through the ontology editor Protégé 3 [43] and the DIG reasoner API [48].
Using these tools we interacted with third parties to develop several OBDA applications [10,13,28,47,52] (for a full list, see [47]). In the process we tested both the performance of the state-of-the-art query rewriting techniques and the feasibility of this technology for data integration and data access. We obtained insights on techniques and optimizations on the one hand, and on APIs and required features on the other hand. These two strands of development characterized our work from then on. We now briefly elaborate on them.
Reasoning, optimization, and performance The main issue initially was the large number of CQs produced by the rewriting algorithm (PerfectRef [11]) implemented in QuOnto, which often returned hundreds of thousands of CQs (even for simple ontologies and mappings). And although database systems do perform very well in general, commercial and non-commercial engines alike have problems with large generated queries. To deal with the issue, we extended PerfectRef by a Semantic Query Optimization (SQO) component, which removes redundant CQs and eliminates redundant self-joins using database integrity constraints (foreign and primary keys) [47].
The work in this direction materialized in the first version of Ontop (2010), which was called Quest (the name now refers only to the query processing engine). Quest can work in (i) the virtual mode, which supports virtual RDF graphs via mappings, and (ii) the triplestore mode, which stores RDF triples directly in a relational database. We developed the theory of T-mappings to improve performance in the virtual mode [34,49] (cf. Section 4.1) and the Semantic Index for the triplestore mode [50]. Then, the tree-witness query rewriting algorithm [31] replaced PerfectRef to drastically reduce the size of rewritings and take advantage of T-mappings and the Semantic Index. We also observed [47] that the generic database-centric SQO is insufficient in the OBDA setting and proposed novel techniques: e.g., simplification of join conditions by de-IRIing, cf. Section 4.2.2.
More recent lines of research on Ontop include (i) the formalization of SPARQL in the context of OBDA [34,53], (ii) the OWL 2 QL entailment regime [34], (iii) the SWRL rule language with a limited form of recursion handled by SQL Common Table Expressions [61], (iv)owl:sameAs for cross-linked datasets [12], and (v) expressive ontologies beyond OWL 2 QL by rewriting and approximation with the help of the mapping layer [6].
API, features, and accessibility With the first version of Ontop, we shifted our focus from the Description Logic domain to Semantic Web technologies, gradually increasing the level of compliance with the RDF, RDFS, OWL 2 QL, SPARQL, and R2RML standards. To support the OWL community, we include the OWL API and Protégé 4 (and more recently Protégé 5) interfaces for Ontop. To support the Linked Data community, we provide the Sesame API interface for Ontop, as well as an HTTP SPARQL endpoint.
Ontop was initially released under a non-commercial use license before adopting the permissive Apache 2.0 license in 2013. The project is now hosted in GitHub so that anybody can download it and contribute to the code. On the software engineering side, to facilitate integration, building, testing, and distribution, Ontop was repackaged as a Maven project and has been available from the official Maven repository since 2013. We gradually introduced project-wide testing, starting with functional tests for the reasoning modules, query answering modules (including the DAWG tests for SPARQL 1.0), and virtual RDF modules (including the DAWG tests for R2RML). Now most JUnit tests (∼2000) are automatically run with Travis-CI whenever new changes are pushed to GitHub.
Conclusion
We presented Ontop, a mature open-source OBDA system, which allows users to access relational databases through a conceptual representation of the domain of interest in terms of an ontology. The system is based on solid theoretical foundations and has been designed and implemented towards compliance with relevant W3C standards. It supports all major relational databases and implements numerous optimization techniques to offer a good level of performance. Ontop has been adopted in several academic and industrial use cases.
In the future, we plan to develop Ontop in the following directions.
In order to further improve performance, we will investigate data-dependent optimizations.
We plan to support larger fragments of SPARQL (e.g., aggregation, negation, and path queries) and R2RML (e.g., named graphs).
For end-users, we will improve the GUI and extend utilities to make Ontop even more user-friendly.
We plan to go beyond relational databases and support other kinds of data sources (e.g., graph and document databases).
Footnotes
Acknowledgements
This article is supported by the EU under the large-scale integrating project (IP) Optique (Scalable End-user Access to Big Data), grant agreement n. FP7-318338.
References
1.
A.Acciarri, D.Calvanese, G.De Giacomo, D.Lembo, M.Lenzerini, M.Palmieri and R.Rosati, QuOnto: Querying ontologies, in: Proc. of the 20th Nat. Conf. on Artificial Intelligence (AAAI), AAAI Press, 2005, pp. 1670–1671.
2.
M.Acosta, M.-E.Vidal, T.Lampo, J.Castillo and E.Ruckhaus, ANAPSID: An adaptive query processing engine for SPARQL endpoints, in: Proc. of the 10th Int. Semantic Web Conf. (ISWC), Lecture Notes in Computer Science, Vol. 7031, Springer, 2011, pp. 18–34. doi:10.1007/978-3-642-25073-6_2.
3.
A.Artale, D.Calvanese, R.Kontchakov and M.Zakharyaschev, The DL-Lite family and relations, J. of Artificial Intelligence Research36 (2009), 1–69. doi:10.1613/jair.2820.
4.
B.Bishop and S.Bojanov, Implementing OWL 2 RL and OWL 2 QL rule-sets for OWLIM, in: Proc. of the 8th Int. Workshop on OWL: Experiences and Directions (OWLED), CEUR Electronic Workshop Proceedings, Vol. 796, CEUR-WS.org, 2011.
5.
B.Bishop, A.Kiryakov, D.Ognyanoff, I.Peikov, Z.Tashev and R.Velkov, OWLIM: A family of scalable semantic repositories, Semantic Web J.2(1) (2011), 33–42. doi:10.3233/SW-2011-0026.
6.
E.Botoeva, D.Calvanese, V.Santarelli, D.F.Savo, A.Solimando and G.Xiao, Beyond OWL 2 QL in OBDA: Rewritings and approximations, in: Proc. of the 30th AAAI Conf. on Artificial Intelligence (AAAI), AAAI Press, 2016.
7.
B.Bouchou and C.Niang, Semantic mediator querying, in: Proc. of the 18th Int. Database Engineering & Applications Symposium (IDEAS), ACM Press, 2014, pp. 29–38. doi:10.1145/2628194.2628218.
8.
D.Brickley and R.V.Guha, RDF vocabulary description language 1.0: RDF Schema, W3C Recommendation, World Wide Web Consortium, February 2004, Available at http://www.w3.org/TR/rdf-schema/.
9.
J.Broekstra, A.Kampman and F.van Harmelen, Sesame: A generic architecture for storing and querying RDF and RDF schema, in: Proc. of the 1st Int. Semantic Web Conf. (ISWC), Lecture Notes in Computer Science, Vol. 2342, Springer, 2002, pp. 54–68. doi:10.1007/3-540-48005-6_7.
10.
D.Calvanese, G.De Giacomo, D.Lembo, M.Lenzerini, A.Poggi, M.Rodriguez-Muro, R.Rosati, M.Ruzzi and D.F.Savo, The Mastro system for ontology-based data access, Semantic Web J.2(1) (2011), 43–53. doi:10.3233/SW-2011-0029.
11.
D.Calvanese, G.De Giacomo, D.Lembo, M.Lenzerini and R.Rosati, Tractable reasoning and efficient query answering in description logics: The DL-Lite family, J. of Automated Reasoning39(3) (2007), 385–429. doi:10.1007/s10817-007-9078-x.
12.
D.Calvanese, M.Giese, D.Hovland and M.Rezk, Ontology-based integration of cross-linked datasets, in: Proc. of the 14th Int. Semantic Web Conf. (ISWC), Lecture Notes in Computer Science, Vol. 9366, Springer, 2015, pp. 199–216. doi:10.1007/978-3-319-25007-6_12.
13.
D.Calvanese, C.M.Keet, W.Nutt, M.Rodriguez-Muro and G.Stefanoni, Web-based graphical querying of databases through an ontology: The Wonder system, in: Proc. of the 25th ACM Symposium on Applied Computing (SAC), ACM Press, 2010, pp. 1388–1395. doi:10.1145/1774088.1774384.
14.
D.Calvanese, A.Mosca, J.Remesal, M.Rezk and G.Rull, A ‘historical case’ of ontology-based data access, in: Proc. of Digital Heritage 2015 (DH 2015), IEEE Computer Society Press, 2015.
15.
T.Catarci, P.Dongilli, T.Di Mascio, E.Franconi, G.Santucci and S.Tessaris, An ontology based visual tool for query formulation support, in: Proc. of the 16th Eur. Conf. on Artificial Intelligence (ECAI), IOS Press, 2004, pp. 308–312. doi:10.1007/978-3-540-39962-9_15.
16.
U.S.Chakravarthy, J.Grant and J.Minker, Logic-based approach to semantic query optimization, ACM Trans. on Database Systems15(2) (1990), 162–207. doi:10.1145/78922.78924.
17.
S.Das, S.Sundara and R.Cyganiak, R2RML: RDB to RDF mapping language, W3C Recommendation, World Wide Web Consortium, September 2012, Available at http://www.w3.org/TR/r2rml/.
18.
A.Doan, P.Domingos and A.Halevy, Learning to match the schemas of data sources: A multistrategy approach, Machine Learning50(3) (2003), 279–301. doi:10.1023/A:1021765902788.
19.
A.Doan, J.Madhavan, R.Dhamankar, P.Domingos and A.Halevy, Learning to match ontologies on the semantic web, The VLDB Journal12(4) (2003), 303–319. doi:10.1007/s00778-003-0104-2.
20.
R.Fagin, L.M.Haas, M.A.Hernández, R.J.Miller, L.Popa and Y.Velegrakis, Clio: Schema mapping creation and data exchange, in: Conceptual Modeling: Foundations and Applications – Essays in Honor of John Mylopoulos, Lecture Notes in Computer Science, Vol. 5600, 2009, pp. 198–236. doi:10.1007/978-3-642-02463-4_12.
21.
L.Frontino de Medeiros, F.Priyatna and O.Corcho, MIRROR: Automatic R2RML mapping generation from relational databases, in: Proc. of the 15th Int. Conf. on Web Engineering (ICWE), Lecture Notes in Computer Science, Vol. 9114, Springer, 2015, pp. 326–343. doi:10.1007/978-3-319-19890-3_21.
22.
M.Giese, A.Soylu, G.Vega-Gorgojo, A.Waaler, P.Haase, E.Jiménez-Ruiz, D.Lanti, M.Rezk, G.Xiao, Ö.L.Özçep and R.Rosati, Optique – zooming in on big data access, IEEE Computer48(3) (2015), 60–67. doi:10.1109/MC.2015.82.
23.
G.Gottlob, S.Kikot, R.Kontchakov, V.V.Podolskii, T.Schwentick and M.Zakharyaschev, The price of query rewriting in ontology-based data access, Artificial Intelligence213 (2014), 42–59. doi:10.1016/j.artint.2014.04.004.
24.
F.Haag, S.Lohmann, S.Siek and T.Ertl, QueryVOWL: A visual query notation for linked data, in: Proc. of the 3rd Int. Workshop on Human Semantic Web Interaction (HSWI), ESWC 2015 Satellite Events, Lecture Notes in Computer Science, Vol. 9341, Springer, 2015, pp. 387–402. doi:10.1007/978-3-319-25639-9_51.
25.
M.Horridge and S.Bechhofer, The OWL API: A Java API for OWL ontologies, Semantic Web J.2(1) (2011), 11–21. doi:10.3233/SW-2011-0025.
26.
E.Jiménez-Ruiz, B.Cuenca Grau, Y.Zhou and I.Horrocks, Large-scale interactive ontology matching: Algorithms and implementation, in: Proc. of the 20th European Conf. on Artificial Intelligence (ECAI), Vol. 242, IOS Press, 2012, pp. 444–449.
27.
E.Jimenez-Ruiz, E.Kharlamov, D.Zheleznyakov, I.Horrocks, C.Pinkel and M.G.Skjæveland, E.Thorstensen and J.Mora, BootOX: Practical mapping of RDBs to OWL 2, in: Proc. of the 14th Int. Semantic Web Conf. (ISWC), Lecture Notes in Computer Science, Vol. 9367, Springer, 2015, pp. 113–132. doi:10.1007/978-3-319-25010-6_7.
28.
C.M.Keet, R.Alberts, A.Gerber and G.Chimamiwa, Enhancing web portals with ontology-based data access: The case study of South Africa’s Accessibility Portal for people with disabilities, in: Proc. of the 5th Int. Workshop on OWL: Experiences and Directions (OWLED), CEUR Electronic Workshop Proceedings, Vol. 432, CEUR-WS.org, 2008.
29.
E.Kharlamov, D.Hovland, E.Jimenez-Ruiz, D.Lanti, H.Lie, C.Pinkel, M.Rezk, M.G.Skjæveland, E.Thorstensen, G.Xiao, D.Zheleznyakov and I.Horrocks, Ontology based access to exploration data at Statoil, in: Proc. of the 14th Int. Semantic Web Conf. (ISWC), Lecture Notes in Computer Science, Vol. 9367, Springer, 2015, pp. 93–112. doi:10.1007/978-3-319-25010-6_6.
30.
E.Kharlamov, N.Solomakhina, Ö.L.Özçep, D.Zheleznyakov, T.Hubauer, S.Lamparter, M.Roshchin, A.Soylu and S.Watson, How semantic technologies can enhance data access at Siemens Energy, in: Proc. of the 13th Int. Semantic Web Conf. (ISWC), Lecture Notes in Computer Science, Vol. 8796, Springer, 2014, pp. 601–619. doi:10.1007/978-3-319-11964-9_38.
31.
S.Kikot, R.Kontchakov and M.Zakharyaschev, Conjunctive query answering with OWL 2 QL, in: Proc. of the 13th Int. Conf. on Principles of Knowledge Representation and Reasoning (KR), AAAI Press, 2012, pp. 275–285.
32.
J.J.King, QUIST: A system for semantic query optimization in relational databases, in: Proc. of the 7th Int. Conf. on Very Large Data Bases (VLDB), IEEE Computer Society, 1981, pp. 510–517.
33.
C.A.Knoblock, P.A.Szekely, J.L.Ambite, A.Goel, S.Gupta, K.Lerman, M.Muslea, M.Taheriyan and P.Mallick, Semi-automatically mapping structured sources into the Semantic Web, in: Proc. of the 9th Extended Semantic Web Conf. (ESWC), Lecture Notes in Computer Science, Vol. 7295, Springer, 2012, pp. 375–390. doi:10.1007/978-3-642-30284-8_32.
34.
R.Kontchakov, M.Rezk, M.Rodriguez-Muro, G.Xiao and M.Zakharyaschev, Answering SPARQL queries over databases under OWL 2 QL entailment regime, in: Proc. of the 13th Int. Semantic Web Conf. (ISWC), Lecture Notes in Computer Science, Vol. 8796, Springer, 2014, pp. 552–567. doi:10.1007/978-3-319-11964-9_35.
35.
D.Lanti, M.Rezk, G.Xiao and D.Calvanese, The NPD benchmark: Reality check for OBDA systems, in: Proc. of the 18th Int. Conf. on Extending Database Technology (EDBT), OpenProceedings.org, 2015, pp. 617–628. doi:10.5441/002/edbt.2015.62.
36.
D.Lembo, V.Santarelli and D.F.Savo, Graph-based ontology classification in OWL 2 QL, in: Proc. of the 10th Extended Semantic Web Conf. (ESWC), Lecture Notes in Computer Science, Vol. 7882, Springer, 2013, pp. 320–334. doi:10.1007/978-3-642-38288-8_22.
37.
V.Lopez, M.Stephenson, S.Kotoulas and P.Tommasi, Data access linking and integration with DALI: Building a safety net for an ocean of city data, in: Proc. of the 14th Int. Semantic Web Conf. (ISWC), Part II, Lecture Notes in Computer Science, Vol. 9367, Springer, 2015, pp. 186–202. doi:10.1007/978-3-319-25010-6_11.
38.
B.Motik, B.Cuenca Grau, I.Horrocks, Z.Wu, A.Fokoue and C.Lutz, OWL 2 Web Ontology Language profiles (second edition), W3C Recommendation, World Wide Web Consortium, December 2012, Available at http://www.w3.org/TR/owl2-profiles/.
39.
B.Motik, Y.Nenov, R.Piro, I.Horrocks and D.Olteanu, Parallel materialisation of Datalog programs in centralised, main-memory RDF systems, in: Proc. of the 28th AAAI Conf. on Artificial Intelligence (AAAI), AAAI Press, 2014, pp. 129–137.
40.
J.S.NyeJr., The benefits of soft power, Technical report, Harvard University – Business School, 2004, Available at http://hbswk.hbs.edu/archive/4290.html.
41.
Ö.L.Özçep and R.Möller, Ontology based data access on temporal and streaming data, in: Reasoning Web, Reasoning on the Web in the Big Data Era – 10th Int. Summer School Tutorial Lectures (RW), Lecture Notes in Computer Science, Vol. 8714, Springer, 2014, pp. 279–312. doi:10.1007/978-3-319-10587-1_7.
42.
A.Poggi, D.Lembo, D.Calvanese, G.De Giacomo, M.Lenzerini and R.Rosati, Linking data to ontologies, J. on Data SemanticsX (2008), 133–173. doi:10.1007/978-3-540-77688-8_5.
43.
A.Poggi, M.Rodríguez-Muro and M.Ruzzi, Ontology-based database access with DIG-Mastro and the OBDA Plugin for Protégé, in: Proc. of the 4th Int. Workshop on OWL: Experiences and Directions (OWLED DC), K.Clark and P.F.Patel-Schneider, eds, 2008.
44.
F.Priyatna, O.Corcho and J.Sequeda, Formalisation and experiences of R2RML-based SPARQL to SQL query translation using Morph, in: Proc. of the 23rd Int. World Wide Web Conf. (WWW), ACM, 2014, pp. 479–490. doi:10.1145/2566486.2567981.
45.
S.Pugacs, Efficient query answering with semantic indexes, BSc thesis, KRDB Research Centre for Knowledge and Data, Free University of Bozen-Bolzano, 2011.
46.
A.Rahimi, S.Liaw, J.Taggart, P.Ray and H.Yu, Validating an ontology-based algorithm to identify patients with type 2 diabetes mellitus in electronic health records, Int. J. of Medical Informatics83(10) (2014), 768–778. doi:10.1016/j.ijmedinf.2014.06.002.
47.
M.Rodriguez-Muro, Tools and techniques for ontology based data access in lightweight description logics, PhD thesis, KRDB Research Centre for Knowledge and Data, Free University of Bozen-Bolzano, 2010.
48.
M.Rodriguez-Muro and D.Calvanese, Towards an open framework for ontology based data access with Protégé and DIG 1.1, in: Proc. of the 5th Int. Workshop on OWL: Experiences and Directions (OWLED), CEUR Electronic Workshop Proceedings, Vol. 432, 2008.
49.
M.Rodríguez-Muro and D.Calvanese, Dependencies: Making ontology based data access work in practice, in: Proc. of the 5th Alberto Mendelzon Int. Workshop on Foundations of Data Management (AMW), CEUR Electronic Workshop Proceedings, Vol. 749, 2011.
50.
M.Rodriguez-Muro and D.Calvanese, High performance query answering over DL-Lite ontologies, in: Proc. of the 13th Int. Conf. on Principles of Knowledge Representation and Reasoning (KR), AAAI Press, 2012, pp. 308–318.
51.
M.Rodriguez-Muro, R.Kontchakov and M.Zakharyaschev, Ontology-based data access: Ontop of databases, in: Proc. of the 12th Int. Semantic Web Conf. (ISWC), Lecture Notes in Computer Science, Vol. 8218, Springer, 2013, pp. 558–573. doi:10.1007/978-3-642-41335-3_35.
52.
M.Rodriguez-Muro, L.Lubyte and D.Calvanese, Realizing ontology based data access: A plug-in for Protégé, in: Proc. of the ICDE Workshop on Information Integration Methods, Architectures, and Systems (IIMAS), IEEE Computer Society Press, 2008, pp. 286–289. doi:10.1109/ICDEW.2008.4498333.
53.
M.Rodriguez-Muro and M.Rezk, Efficient SPARQL-to-SQL with R2RML mappings, J. of Web Semantics33 (2015), 141–169. doi:10.1016/j.websem.2015.03.001.
54.
M.Rodriguez-Muro, M.Rezk, J.Hardi, M.Slusnys, T.Bagosi and D.Calvanese, Evaluating SPARQL-to-SQL translation in Ontop, in: Proc. of the 2nd Int. Workshop on OWL Reasoner Evaluation (ORE), CEUR Electronic Workshop Proceedings, Vol. 1015, 2013, pp. 94–100.
55.
A.Schwarte, P.Haase, K.Hose, R.Schenkel and M.Schmidt, FedX: A federation layer for distributed query processing on linked open data, in: Proc. of the 8th Extended Semantic Web Conf. (ESWC), Lecture Notes in Computer Science, Vol. 6644, Springer, 2011, pp. 481–486. doi:10.1007/978-3-642-21064-8_39.
56.
J.F.Sequeda, M.Arenas and D.P.Miranker, OBDA: Query rewriting or materialization? In practice, both! in: Proc. of the 13th Int. Semantic Web Conf. (ISWC), Lecture Notes in Computer Science, Vol. 8796, Springer, 2014, pp. 535–551. doi:10.1007/978-3-319-11964-9_34.
57.
M.G.Skjæveland and E.H.Lian, Benefits of publishing the Norwegian Petroleum Directorate’s FactPages as Linked Open Data, in: Proc. of Norsk Informatikkonferanse (NIK 2013), Tapir, 2013.
58.
A.Soylu, E.Kharlamov, D.Zheleznyakov, E.Jimenez-Ruiz, M.Giese and I.Horrocks, Ontology-based visual query formulation: An industry experience, in: Proc. of the 11th Int. Symposium on Visual Computing (ISVC), Lecture Notes in Computer Science, Vol. 9474, Springer, 2015, pp. 842–854. doi:10.1007/978-3-319-27857-5_75.
59.
M.M.Tsangaris, G.Kakaletris, H.Kllapi, G.Papanikos, F.Pentaris, P.Polydoras, E.Sitaridi, V.Stoumpos and Y.E.Ioannidis, Dataflow processing and optimization on grid and cloud infrastructures, Bull. of the IEEE Computer Society Technical Committee on Data Engineering32(1) (2009), 67–74.
60.
D.Tunkelang, Faceted Search, Synthesis Lectures on Information Concepts, Retrieval, and Services, Morgan & Claypool Publishers, 2009. doi:10.2200/S00190ED1V01Y200904ICR005.
61.
G.Xiao, M.Rezk, M.Rodriguez-Muro and D.Calvanese, Rules and ontology based data access, in: Proc. of the 8th Int. Conf. on Web Reasoning and Rule Systems (RR), Lecture Notes in Computer Science, Vol. 8741, Springer, 2014, pp. 157–172. doi:10.1007/978-3-319-11113-1_11.