<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Archiving and Interchange DTD v1.0 20120330//EN" "JATS-archivearticle1.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink">
  <front>
    <journal-meta />
    <article-meta>
      <title-group>
        <article-title>Ontology Based Query Answering</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>The Story So Far</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Institute of Information Systems, Vienna University of Technology</institution>
        </aff>
      </contrib-group>
      <abstract>
        <p>Databases where relations have arity at most two, often called graph databases, play a prominent role in many elds. Ontology languages based on Description Logics (DLs) have been advocated to enrich such repositories (known as ABoxes in DL jargon) with ontological information. Then, in Ontology Based Query Answering (OBQA), one is interested in answering user queries over the data while taking into account the ontology. However, the ontological layer has a signi cant effect on the query answering problem, and OBQA algorithms are usually more involved than their counterparts in plain (graph) databases. The development of OBQA algorithms and their implementation has been the goal of signi cant research e orts in the DL community in the last decade. Here we review some of the achieved results. We discuss the main challenges to be overcome when the ontological knowledge is expressed in di erent DLs, and when di erent query languages are considered. We give an overview of some of the algorithms developed so far, and the computational complexity of the problem for the di erent combinations of DLs and query languages.</p>
      </abstract>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>-</title>
      <p>
        In many application areas, data can be naturally modeled and stored using
only unary and binary relations. Indeed, graph databases, which can be seen as
databases where only relations of these arities occur, have gained much attention
in the last years and are being applied in popular elds like the Semantic Web.
Description Logics are a family of languages for knowledge representation and
reasoning whose vocabulary is based on unary and binary relations, known as
concepts and roles in DL jargon [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ]. This makes DLs very well suited for
describing and reasoning about graph databases. Indeed, a DL data repository, known
as ABox, is essentially a graph database. Enriching an ABox with a DL ontology
allows to capture the intended semantics of an application domain by de ning
relations between the concepts and roles in the data source, and possibly
extending the vocabulary with additional terms. Then one can query the data using
the extended vocabulary, and taking into account all the relations implied by
the ontology. This is essentially the idea underlying Ontology Based Data Access
(OBDA) [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ], although the OBDA setting is more general: rather than simply
having an ABox over the same vocabulary as the ontology, in OBDA arbitrary
relational data sources may be related to the concepts and roles in the ontology
via mappings. The simpli ed setting we consider here is suitable for focusing on
query evaluation, a crucial aspect of OBDA that has received much attention in
the DL community over the last decade. Hence, here we disregard the mappings
and simply assume that input queries are to be evaluated over a DL ABox (i.e.,
a graph database), in the presence of an ontology. This problem in often called
ontology based query answering (OBQA) or simply ontological query answering.
Example 1. For example, consider a simple graph database containing data from
the Mathematics Genealogy Project (MGP)1, like the one depicted in Figure 1.The
labels inside the nodes are the names of the constants, while the labels outside
are the concepts (unary relations) each node satis es, and the labels on the arcs
are the roles (binary relations) that hold between two objects.
      </p>
      <p>MathSubj</p>
      <p>Computer Sience
worksIn</p>
      <p>Alberto</p>
      <p>Mendelzon</p>
      <p>Person
Person
Je rey Ullman</p>
      <p>hasAdvisor
worksIn
wroteThesis Thesis University</p>
    </sec>
    <sec id="sec-2">
      <title>ThesisJU66 submittedTo Princeton locatedIn</title>
      <p>o
mittedT
sb
u
wroteThesis Thesis
ThesisAM80</p>
      <sec id="sec-2-1">
        <title>CountryUS</title>
        <p>A DL ontology describing this domain is given in Figure 2. The rst axiom
introduces the term CompScientist and ensures that everyone who works on the
CompScience eld is a CompScientist . Axiom (2) states that every PhD holder
must have an advisor who is himself a PhD holder. Axioms (3,4) together ensure
that PhD holders are exactly those people that have written and submitted a
(PhD) thesis. Finally, axioms (5,6) together de ne the term SubmittedThesis as
the class of all thesis submitted to somela university.</p>
        <p>(1) 9worksOn.fCompScig v CompScientist
(2) PhD v 9hasAdvisor.PhD
(3) PhD v 9wroteThesis.SubmittedThesis
(4) 9wroteThesis.SubmittedThesis v PhD
(5) T hesis u 9submittedTo.University v SubmittedThesis
(6) SubmittedThesis v T hesis u 9submittedTo.University</p>
        <sec id="sec-2-1-1">
          <title>1 http://genealogy.math.ndsu.nodak.edu/</title>
          <p>Now consider the following conjunctive queries:
q1(x; y) =ComputerScientist (x); ComputerScientist (y); hasAdvisor (x; y);
wroteThesis (x; z); wroteThesis (y; z0);
submittedTo(z; w); submittedTo(z0; w)
q2(x) =ComputerScientist (x); hasAdvisor (x; y);</p>
          <p>wroteThesis (y; z); submittedTo(z; w); University (z0; w)</p>
          <p>The query q1 asks for pairs (x; y) of computer scientists that submitted their
thesis to the same university w. The pair (Je reyUllman; AlbertoMendelzon) is
one such pair. They both submitted their thesis to Princeton and they are both
instances of ComputerScientist . Note that the data does not explicitely state the
latter, but it is implied by axiom (1) and the fact that they both work on the
CompScience eld.</p>
          <p>The query q2 asks for computer scientists whose advisor submitted his thesis
to a university. The answer includes both AlbertoMendelzon and Je reyUllman.
Even though the data contains nothing about the PhD advisor of Je reyUllman,
the ontology implies that he must have one, who is a PhD holder and hence must
have submitted a thesis to some university.</p>
          <p>In the absence of an ontology, OBQA coincides with standard query
evaluation over plain (graph) databases, but in general, the presence of the ontology
makes query answering more involved. As we have seen, to answer a query one
may need to take into account instances of concepts and roles not given in the
data, like for the concept CompScientist in query q1. More interestingly, we may
even need to consider variable assignments that map query variables to unknown
objects that are not named constants in the database: to obtain Je reyUllman
as an answer to q2, we must map variables y, z, and w to objects we known
nothing about, but whose existence is implied by the axioms.</p>
          <p>As we will see in the next section, the actual impact of the ontology on
(the computational complexity of) the query answering problem depends on the
speci c description logic in which the ontology is written, and on the kind of
query that is to be answered. In this paper, we brie y discuss some of the main
challenges to be tackled when solving the OBQA problem, for di erent DLs and
query languages, and survey the complexity results obtained so far.</p>
          <p>
            The rest of the paper is organized as follows. In the next section, we give some
DL and OBQA preliminaries. They are rather technical and given for the sake
of completeness, but it is not necessary to read them in detail for understanding
the rest of the material. Finally, section 3 is the core of the paper, where we
discuss the challenges that arise in the OBQA setting and complexity results.
The interested reader may refer to [
            <xref ref-type="bibr" rid="ref21">21</xref>
            ] for a more detailed survey of OBQA.
          </p>
          <p>Preliminaries
We brie y recall of some popular DLs. We start giving the syntax and semantics
of concepts and roles, and then describe how they can be used to write ABoxes
and ontologies in di erent DLs.</p>
          <p>A DL vocabulary consists of three in nite, countable, disjoint sets NC, NR,
and NI of concept names, role names, and individuals. Di erent DLs provide
di erent concept and role constructors, which can be used to combine the terms
in the vocabulary into complex concepts and roles. The only role constructor we
consider here is the inverse: for r 2 NR, its inverse r is also a role. We use NR
to refer to the set NR [ fr j r 2 NRg of all roles, and if R 2 NR, we use R to
mean r if R = r and r if R = r . The most popular concept constructors are
summarized in Table 1.</p>
          <p>Constructor</p>
          <p>negation
conjunction
disjunction
universal restriction
existential restriction</p>
          <p>nominal
quali ed number
restrictions</p>
          <p>Syntax Semantics</p>
          <p>:C I n CI
C u C0 CI \ C0I
C t C0 CI [ C0I
8R:C fc j 8d; (c; d) 2 RI ! d 2 CIg
9R:C fc j 9d:(c; d) 2 RI ^ d 2 CIg
fag aI
&gt; n R.C fc j card (fd j (c; d) 2 RI ^ d 2 CIg)
6 n R.C fc j card (fd j (c; d) 2 RI ^ d 2 CIg)
ng
ng
Semantics. As usual, the semantics of DLs is de ned in terms of interpretations
of the form I = ( I ; I ), where the domain I is a non-empty set and I is an
interpretation function mapping each a 2 NI to an object aI 2 I , each A 2 NC
to a set AI I , and each r 2 NR to a binary relation rI I I . The
function I is inductively extended to general concepts and roles. For inverse
roles, we have (r )I = f(d; c) j (c; d) 2 rI g. The semantics of the concept
constructors in Table 1 is summarized in the last column.
A DL knowledge base consists of an ABox, and a TBox or ontology.2 In all the
DLs we consider, an ABox is de ned a set of assertions which may take the
form A(b) or r(a; b) with A 2 NC, r 2 NR, and a; b 2 NI.</p>
        </sec>
        <sec id="sec-2-1-2">
          <title>2 Sometimes the term ontology is used to refer to a knowledge base. Here we use it as</title>
          <p>a synonym of TBox.</p>
          <p>
            The ontology is a set of axioms, whose form depends on the DL in question.
In this paper we mention the following DLs:
The DL-Lite family [
            <xref ref-type="bibr" rid="ref1 ref7">7, 1</xref>
            ] is a prominent family of lightweight DLs, specially
tailored in such a way that they can describe complex conceptual models, yet
the complexity of reasoning is low and query answering can be achieved by
e cient and scalable algorithms. DL-Lite is the most popular family of DLs
for OBDA, and it underlies the OWL 2 QL pro le of the OWL standard.
Many dialects of DL-Lite are known, but we focus on the following three:
{ The core dialect DL-Litecore .
{ DL-LiteR, the extension of DL-Litecore with role inclusions of the form
          </p>
          <p>
            R v S and R v :S, which is very closely related to OWL 2 QL.
{ DL-LiteRDFS, a fragment of DL-LiteR that is probably less known, but
quite interesting for comparison purposes. It disables negation and
existential quanti cation in the right hand side of axioms, and it is roughly
equivalent to RDF(S), the schema language for RDF [
            <xref ref-type="bibr" rid="ref14">14</xref>
            ].
          </p>
          <p>The interested reader can nd the full syntax of these languages in the rst
block of Table 2. As usual for DL-Lite, we use unquali ed existentials and
write 9R rather than 9R:&gt;, where &gt; is a shortcut for A t :A.</p>
          <p>
            The E L family [
            <xref ref-type="bibr" rid="ref2">2</xref>
            ] is the other prominent family of lightweight DLs, and it
underlies the OWL 2 EL pro le. The E L family is particularly popular for
life science ontologies. As we see below, like DL-Litecore , the E L family has
limited expressive power but allows for e cient reasoning. In Table 2, we
recall the syntax of two DLs in this family: the basic E L, and E LH, its
extension with role inclusions r v s.
          </p>
          <p>
            Expressive DLs that fully support Boolean concept constructors and both
kinds of quanti ers have traditionally been the main focus of attention of
the DL community. Here we recall the well-known languages SHIQ and
SHOIQ, which roughly correspond the the OWL Lite and OWL DL pro les
of the rst generation of OWL standards. Their syntax is de ned in Table 2;
there is an additional syntactic requirement that disallows non-simple roles
(i.e., roles that have a transitive subrole) from occurring in number
restrictions. The full OWL 2 is based on a logic called SROIQ, but we do not
include it in the table since its syntax is quite cumbersome to de ne.
Horn DLs that are obtained from expressive DLs by fully disallowing
disjunction. The syntax of Horn-SHIQ and Horn-SHOIQ, in normal form [
            <xref ref-type="bibr" rid="ref16">16</xref>
            ], is
given in the last block of the table.
          </p>
          <p>Semantics of ABoxes and Ontologies An interpretation I satis es an
assertion A(a) (resp. r(a; b)) if aI 2 AI (resp. (aI ; bI ) 2 rI ), and I is a model of
an ABox A if it satis es all assertions in A. For the TBox axioms, we have that
I satis es an inclusion G v H (where G and H are either two concepts, or two
roles) if GI HI ; it satis es trans(R) if RI is a transitive relation. I is a model
of an ontology T if it satis es all axioms in T , and I is a model of K = (T ; A)
if I satis es all inclusions in T and all assertions in A.</p>
          <p>DL-Litecore B v C
DL-LiteR B v C, R v S
DL-LiteRDFS B v A, R v S
EL
ELH
SHIQ
SHOIQ</p>
          <p>C v D
C v D; r v s
C v D; R v S</p>
          <p>trans(R)
C v D; R v S
trans(R)</p>
          <p>TBox axioms
B ::= A j 9R C ::= B j :B R ::= r j r
B ::= A j 9R C ::= B j :B R ::= r j r
B ::= A j 9R R; S ::= r j r
C; D ::= A j C u D j 9r.C
C; D ::= A j C u D j 9r.C
C; D ::= A j :C j C u D j C t D j 9R.C j 8R:C j</p>
          <p>&gt; n R.C j 6 n R.C
R; S ::= r j r
C; D ::= A j fag j :C j C u D j C t D j 9R.C j 8R:C j</p>
          <p>&gt; n R.C j 6 n R.C
R; S ::= r j r</p>
          <p>S ::= R j :R</p>
        </sec>
      </sec>
      <sec id="sec-2-2">
        <title>Horn-SHIQ</title>
        <p>Horn-SHOIQ</p>
        <p>B u B0 v C; 9R.B v C; C v 8R.B; C v 9R.B</p>
        <p>C v &gt; n R.B; C v 6 1 R.B; R v S; trans(R)
B u B0 v C; 9R.B v C; C v 8R.B; C v 9R.B</p>
        <p>C v &gt; n R.B; C v 6 1 R.B; R v S; trans(R)
B; B0; C ::= A
R; S ::= r j r
B; B0; C ::= Ajfag
R; S ::= r j r
Most work on OBQA and OBDA so far has considered conjunctive queries and
their unions as query languages. We also de ne instance queries, which are CQs
with only one atom.</p>
        <p>De nition 1 (IQs,CQs,UCQs). Let NV denote a countably in nite set of
variables. A conjunctive query (CQ) (with answer variables x) is an
expression q(x) = 9y.', where x and y are tuples of variables from NV, and ' is a
conjunction of atoms of the forms
(i) A(t), where A 2 NC is a concept name and t 2 NI [ x [ y, and
(ii) r(t; t0), where r 2 NR is a role name and t; t0 2 NI [ x [ y.</p>
        <p>A query with x = hi, that is, where all variables in ' are existentially quanti ed,
is called Boolean. If in a CQ q(x) = 9y.' we have that ' consists of only one
atom, we call it an instance query (IQ).</p>
        <p>A union of conjunctive queries (UCQ) is a disjunction of CQs with the same
answer variables, that is, an expression q(x) = 9y1'1 _ _ 9yn'n where each
'i is a conjunction of atoms as above, with arguments from NI [ x [ yi.</p>
        <p>
          One of the fundamental di erences between query answering with DL
ontologies in contrast to plain graph databases, is that in the former setting researchers
have focused on CQs and UCQs, while for the latter setting the basic querying
mechanism are regular path queries (RPQs) and their extensions. These queries
enable the sophisticated navigation of paths that has long been considered
crucial for querying data on the web. Recent work has aimed at bridging this gap,
by developing OBQA algorithms for answering di erent forms of RPQs [
          <xref ref-type="bibr" rid="ref4 ref5">5, 4</xref>
          ],
like the ones we de ne next.
        </p>
        <p>De nition 2 ((C)(2)RPQs). A conjunctive two-way regular path query
(C2RPQ) (with answer variables x) has the form q(x) = 9y.' where x and
y are tuples of variables from NV, and ' is a conjunction of atoms of the form
(i) above, and of the following form:
(ii') (t; t0), where is a regular expression over the alphabet NR [ fA? j A 2</p>
        <p>NCg, and t; t0 2 NI [ x [ y.</p>
        <p>Conjunctive (one-way) regular path queries (CRPQs) are obtained by disallowing
inverse roles from NR n NR in atoms of type (ii). Two-way regular path queries
(2RPQs) consist of a single atom of type (ii), and regular path queries (RPQs)
further disallow inverse roles.
2.3</p>
        <p>Query Answering
We now de ne formally the OBQA problem we discuss. In what follows, we use
the term query to refer to a query of any of the kinds de ned above.
De nition 3 (Query match, (certain) answers). Let I be an interpretation.
A match for a query q(x) = 9y:' in I is a mapping form the terms occurring
in q to the domain I of I such that (a) = aI for every individual a occurring
in q, and that satis es:
(i) (t) 2 AI for every atom A(t) in ',
(ii) ( (t); (t0)) 2 rI for every atom r(t; t0) in ', and
(ii') (t0) is a -successor of (t) for every atom (t; t0) in '; where an element
d 2 I is called a -successor of c 2 I in I if there is some chain
c1; : : : ; cn of objects from I and a chain R1; : : : ; Rn 1 of roles in the
language of such that c1 = c, cn = d, and (ci; ci+1) 2 RiI for 1 i &lt; n.
Let x = x1; : : : ; xm. The answers to q in I are the tuples a1; : : : ; am such that
there is a match for q in I with (xi) = ai for 1 i m.</p>
        <p>Finally, let A be an ABox and T an ontology. The (certain) answers to q over I
are the tuples of individuals that are an answer to q in every model I of (A; T ).</p>
        <p>We are interested in the decision problem associated to query answering,
sometimes called query output tuple (QOT) problem, which consists on deciding
whether a given tuple of individuals is a certain answer to a given query. For
Boolean queries, whose only possible answer is the empty tuple, one usually talks
about query entailment. Deciding query entailment amounts to deciding whether
there exists a query match in every model of the ABox and the ontology. It is
well known that the query output tuple problem for an arbitrary query reduces
linearly to the entailment problem of a Boolean query. We summarize the main
OBQA problems that we discuss in this paper in Table 3.</p>
        <p>Problem</p>
        <p>QueryAnswer
QueryEntailment</p>
        <p>QueryAnswer
QueryEntailment</p>
        <p>Varying input Fixed input Problem de nition</p>
        <p>Data complexity</p>
      </sec>
      <sec id="sec-2-3">
        <title>A q, T , a Is a in the answers of q over (T ; A)?</title>
        <p>Is there a match for q</p>
      </sec>
    </sec>
    <sec id="sec-3">
      <title>A q, T in every model of (T ; A)?</title>
      <p>Combined complexity
q, T , A, a Is a in the answers of q over (T ; A)?</p>
      <p>Is there a match for q
q0, T , A in every model of (T ; A)?</p>
      <p>Data and combined complexity We are interested in two measures of
complexity. First, since the size of the data repositories usually dominates over the
size of the ontology and the query, we are interested in measuring the complexity
in terms of the ABox only. This measure of complexity is called data complexity,
and like for traditional databases, for OBQA and OBDA it is considered the
most relevant in practice. The other notion is called combined complexity and
it takes all components as an input: the query, the ontology, the ABox, and
possibly the tuple of constants.
3</p>
      <p>The challenges of OBQA
Recall that in OBQA we view the ABox as a database that may be incomplete
in at least two ways:
1. The existing objects may be instances of concepts and roles that do not show
up in the data.
2. The ontology may imply the existence of more objects, beyond the named
individuals that explicitely appear in the data. While these objects do not
participate in query answers, they do participate in query matches.</p>
      <p>A nave way to approach the problem would be to complete the data as
prescribed by the ontology, and then evaluate the query over the resulting structure.
However, this strategy may not work. We are interested in the certain answers
over all models, that is, over all ways to complete the data to satisfy the ontology.
But there may be too many ways to do this completion, and the completed
structures (models) may be too large, and are often in nite. We discuss below how
these two problems make OBQA, in general, a computationally harder problem
that query answering over plain databases, as Table 4 shows. We remark that,
for all DLs, the complexity of IQs coincides with the complexity of standard
reasoning tasks (like subsumption and satis ability).</p>
      <p>Before discussing the results in the table in more detail, we want to point
out that most DLs are fragments of rst order logic (FOL), and an ontology can
Plain databases</p>
      <sec id="sec-3-1">
        <title>DL-Lite(R)</title>
        <p>EL, ELH
Plain databases
DL-LiteRDFS</p>
      </sec>
      <sec id="sec-3-2">
        <title>DL-Lite(R)</title>
        <p>EL, ELH</p>
        <sec id="sec-3-2-1">
          <title>Horn-SHIQ,</title>
          <p>Horn-SHOIQ</p>
          <p>SHIQ
SHOIQ</p>
          <p>Combined complexity</p>
          <p>IQs CQs
in AC0 NP-c
NL-c NP-c</p>
          <p>P-c NP-c
(2)RPQs C(2)RPQs</p>
          <p>NP-c</p>
          <p>IQs
in AC0
in AC0</p>
          <p>P-c
(2)RPQs</p>
          <p>Data complexity</p>
          <p>CQs
in AC0
in AC0</p>
          <p>P-c</p>
          <p>C(2)RPQs
NL-c</p>
          <p>NL-c
NL-c
P-cy</p>
          <p>P-c
IQs,(2)RPQs
ExpTime-c</p>
          <p>ExpTime-c
co-NExpTime-c</p>
          <p>PSpace-c NL-c NL-c</p>
          <p>PSpace-c P-c P-c
CQs,C(2)RPQs IQs,(2)RPQs CQs, C(2)RPQs</p>
          <p>ExpTime-c
2ExpTime-c
open</p>
          <p>P-c
coNP-c
coNP-c</p>
          <p>
            P-c
coNP-c
open
be rewritten as a FOL formula in a straightforward way [
            <xref ref-type="bibr" rid="ref3">3</xref>
            ]. CQs and UCQs are
also special cases of FOL formulas, hence the (U)CQ query answering and query
entailment problems are special cases of logical consequence in FOL. Even when
the query (or the DL, in cases not discussed here) has regular expressions, there
is a natural way to view the problem as logical consequence in some extension
of FOL that supports transitive closure. However, there is no natural fragment
that is decidable and that allows to express both the ontology and the query,
hence we can not inherit decidability or complexity results easily.
3.1
          </p>
          <p>Multiple Models
Query answering algorithms from databases usually evaluate the query over one
single input structure, the database. In the presence of DL ontologies, however,
the query has to be evaluated over all the structures that are models of the data
and the ontology. A knowledge base (T ; A) has, in principle, in nitely many
models. A trivial reason for this is that we can use arbitrary sets as domains
in interpretations, and we can add additional, possibly irrelevant information to
any model in a way that it is still a model. But even if we disregard these trivial
reasons and consider only the `meaningful' di erences between models, resulting
from di erent ways in which the data may be completed to satisfy all constraints
given by the ontology, we can still end up with a very large number of models.</p>
          <p>To develop query answering techniques it is usually possible to show that a
nite subset of all the models su ces. In the case of Horn DLs, and in particular
for the lightweight DLs of the DL-Lite and E L families, we can go even further
and show the following key property:</p>
          <p>Canonical model property: given a satis able knowledge base (T ; A), one
can construct a canonical model I(T ;A) such that, for every query q, the
answers to q over (T ; A) coincide with the answers to q in I(T ;A).
That is, the canonical model I(T ;A) su ces for answering all queries. This
property plays a central role in the data complexity of query answering. In fact, all
tractability results in the Table 4 ( rst two blocks and rst row of the last block)
are for logics that have the canonical model property.</p>
          <p>In contrast, the presence of any kind of disjunction in the ontology results
in the existence of models that di er in the queries they entail, and makes the
query entailment problem coNP hard in data complexity, even for the
simplest instance queries. This applies to SHIQ and SHOIQ, which support full
Booleans (see the last two rows of Table 4). It also applies to all other expressive
DLs, like SROIQ which underlies OWL 2. The need to consider several models
also has a big impact on the combined complexity of CQ answering: it makes
the problem exponentially harder than standard reasoning for SHIQ and most
expressive DLs (for SHOIQ, decidability of the problem remains open).
3.2</p>
          <p>Large and In nite Models
Unfortunately, identifying one model, or one set of models, that is su cient for
deciding query entailment, is not enough to make query answering easy. Usually
we must overcome an additional di culty: (the domain of) models can be, in
general, in nite. This is caused by existential concepts in the right hand side of
axioms, a feature that is considered fundamental in DLs and allowed in all the
logics we have mentioned, except for DL-LiteRDFS.</p>
          <p>Many DLs enjoy the nite model property. That is, every satis able KB has a
model where the domain is a nite set. For lightweight DLs like DL-Lite and E L,
there is even a model where the domain's cardinality is polynomially bounded
in the size of the KB. However, these positive properties are of limited use for
query answering. Small and nite models are usually built by `reusing' domain
elements to satisfy existential restrictions. This creates cycles in models that
may not a ect KB satis ability, but often result in spurious query matches that
are not really implied by the KB. For example, one can avoid generating an
in nite R-chain of objects for satisfying an axiom A v 9R.A by simply `reusing'
one element e and making it an R-successor of itself. However, this would cause
the query 9x.R(x; x) to be erroneously entailed.</p>
          <p>
            Researchers have come up with a number of di erent query answering
techniques, which overcome the challenges above in di erent ways. We brie y discuss
some of them below, and refer to [
            <xref ref-type="bibr" rid="ref21">21</xref>
            ] for a more detailed discussion. In general,
the results obtained so far suggest that the size of models is easier to tame than
their number. For DLs that enjoy the canonical model property, even if
canonical models are in nite, several query answering algorithms have been proposed
and implemented. Intuitively, algorithms can build on the fact that canonical
models, even if they are in nite, enjoy a relatively regular structure and can be
compactly represented. In contrast, for expressive DLs like SHIQ and SHOIQ
the need to consider multiple models for query answering, and the interaction
of these models with the query, results in much more complex algorithms that
have eluded implementation until now.
Most work on OBQA focuses on lightweight DLs and uses rewriting techniques.
The idea here is to get rid of the ontological knowledge in a rst step, and
then use existing database technologies. That is, one reduces query answering in
the presence of an ontology to answering another query, possibly in a di erent
language, but over a single relational structure (a plain database).
Query Rewriting for DL-Lite The rewriting approach was rst proposed
for DL-Lite, since this family of logics enjoys a remarkable property: given an
ontology T and a CQ q, we can compile all the knowledge from T that is relevant
for answering q into q itself, to obtain another query (a UCQ) that can be
valuated over the data only.
          </p>
          <p>FOL Rewritability: Given a DL-Lite ontology T and a CQ q, one can
compute a FOL query qT such that, for every ABox A, the answers of q
over (A; T ) coincides with the answers of qT over A.</p>
          <p>This means we can reduce the problem of answering a CQ over a DL-Lite
knowledge base to simply evaluating a FOL query, or equivalently, an SQL query,
over a standard database, a well understood problem for which e cient solutions
are readily available. Since the rewriting of q into qT does not depend on the
ABox A, this also implies that the data complexity of CQ answering over
DLLite KBs is not higher than the data complexity of evaluating FOL queries over
standard databases, namely in the class AC0 (see Table 4, rst and second rows).</p>
          <p>
            FOL Rewritability was rst exploited to develop OBQA algorithms for
DLLite in [
            <xref ref-type="bibr" rid="ref7">7</xref>
            ], where the authors proposed the perfect reformulation (PerfectRef)
algorithm for reformulating a CQ q into a UCQ qT . Intuitively, the algorithm
uses T to replace concepts and roles in the query by concepts and roles that
imply them. For example, in the presence of an ontology containing axioms
B v C; 9R v B, the query q = A(x); C(y) can be rewritten into queries q0 =
A(x); B(y) and q200 = A(x); R(y; z), where z is a fresh, unbound variable. Di erent
choices for replacing a given concept or role result in di erent queries, and the
exhaustive application of the rewriting rules generates a set of CQs, that is,
a UCQ. To obtain a complete query that covers all possible ways of implying
the concept and roles in the input q, it is necessary to allow the uni cation of
query variables in di erent atoms. The algorithm shows that the problem is in
NP in combined complexity, which is not higher than for plain databases. Many
later works have focused on improving the PerfectRef algorithm, for example by
optimizing the uni cation step or rewriting into a more succinct language than
UCQs, e.g. into non-disjunctive Datalog [
            <xref ref-type="bibr" rid="ref23">23</xref>
            ].
          </p>
          <p>Query rewriting beyond DL-Lite It is well known that CQ answering in
practically all DLs outside the DL-Lite family is at least LogSpace hard in data
complexity, and hence FO rewritability is the lost. This applies, in particular,
to the E L family and to all its extensions, like Horn-SHIQ and Horn-SHOIQ.
However, this kind of logics still have the canonical model property, and other
rewriting techniques have been proposed that rewrite the query and the ontology
into more expressive languages, like Datalog.</p>
          <p>
            One such approach, developed for Horn-SHIQ in [
            <xref ref-type="bibr" rid="ref11">11</xref>
            ], removes query
variables that can be mapped to unknown elements implied by the existential axioms,
and adds to the query concept atoms that imply the existence of these elements,
in every possible way. For example, in the presence of an ontology containing
an axiom B v 9R.C, the query q = A(x); R(x; y); C(y) can be rewritten into
q0 = A(x); B(x). The exhaustive application of this kind of rewriting results in
a query that has a match where no unknown objects occur, and can in turn
be evaluated over the named individuals only. More speci cally, it is evaluated
ABox using an additional set of Datalog rules to imply the concepts and roles
that each individual is an instance of. This approach yields a tight ExpTime
upper bound in combined complexity for Horn-SHIQ, which is already
ExpTime-hard for instance queries and standard reasoning. In data complexity, it
is polynomial.
          </p>
          <p>
            A similar approach had already been proposed for E L in [
            <xref ref-type="bibr" rid="ref22">22</xref>
            ], yielding tight
upper bounds of NP in combined and P in data complexity. Finally, the combined
approach, introduced in [
            <xref ref-type="bibr" rid="ref18">18</xref>
            ] is another interesting approach for E L, that yields
the same complexity bounds. It uses data completion to compile the TBox into
the data rather than into the query. After some polynomial rewritings, the query
can be posed over a completed ABox that is polynomially larger than the original
one, using standard relational database technologies.
          </p>
          <p>
            Answering RPQs and their extensions in lightweight DLs As we have
mentioned, until recently most work on OBQA focused on CQs and UCQs. RPQs
and their extensions had only been explored for very expressive DLs, where they
have the same complexity as CQs (see Table 4), and can be answered using
techniques like the automata one described below [
            <xref ref-type="bibr" rid="ref10 ref9">9, 10</xref>
            ]. For lightweight DLs
they have only been studied recently. It is easy to see that since RPQs can
express reachability, the data complexity jumps to NL-complete even for plain
graph DBs, FO rewritability is lost for DL-Lite. In combined complexity, the
problem is NL-hard for (2)RPQs and NP-hard for C(2)RPQs, already for graph
databases. As soon as existential quanti cation is allowed on the right hand side
of axioms and unknown objects may participate in query matches, these bounds
increase to P-hard and PSpace-hard respectively. Matching upper bounds were
obtained in [
            <xref ref-type="bibr" rid="ref5">5</xref>
            ] with a non-trivial adaptation of the rewriting technique for SHIQ
mentioned above.
          </p>
          <p>
            Techniques for expressive DLs Expressive DLs lack the canonical model
property. All algorithms developed so far focus on deciding the existence of a
countermodel, that is, a model where the query has no match. They also build
on the fact that one can restrict the search to interpretations that have a regular,
forest like structure. Techniques to nd such a counterexample include automata
theoretic ones (which in fact work for C2RPQs) [
            <xref ref-type="bibr" rid="ref10 ref9">9, 10</xref>
            ], the so-called rolling-up [
            <xref ref-type="bibr" rid="ref12 ref13 ref15 ref19 ref8">8,
15, 12, 13, 19</xref>
            ], and modi ed tableaux [
            <xref ref-type="bibr" rid="ref17 ref20">17, 20</xref>
            ]. Some of them are surveyed in [
            <xref ref-type="bibr" rid="ref21">21</xref>
            ].
          </p>
        </sec>
      </sec>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          1.
          <string-name>
            <surname>Artale</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Calvanese</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Kontchakov</surname>
            ,
            <given-names>R.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Zakharyaschev</surname>
            ,
            <given-names>M.:</given-names>
          </string-name>
          <article-title>The DL-Lite family and relations</article-title>
          .
          <source>J. of Arti cial Intelligence Research</source>
          <volume>36</volume>
          ,
          <issue>1</issue>
          {
          <fpage>69</fpage>
          (
          <year>2009</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          2.
          <string-name>
            <surname>Baader</surname>
            ,
            <given-names>F.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Brandt</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Lutz</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          :
          <article-title>Pushing the EL envelope</article-title>
          .
          <source>In: Proc. of the 19th Int. Joint Conf. on Arti cial Intelligence (IJCAI</source>
          <year>2005</year>
          )
          <article-title>(</article-title>
          <year>2005</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          3.
          <string-name>
            <surname>Baader</surname>
            ,
            <given-names>F.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Calvanese</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>McGuinness</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Nardi</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Patel-Schneider</surname>
            ,
            <given-names>P</given-names>
          </string-name>
          . (eds.):
          <article-title>The Description Logic Handbook: Theory, Implementation, and Applications</article-title>
          . Cambridge University Press, second edn. (
          <year>2007</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          4.
          <string-name>
            <surname>Bienvenu</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Ortiz</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Simkus</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          :
          <article-title>Answering expressive path queries over lightweight dl knowledge bases</article-title>
          . In: Kazakov,
          <string-name>
            <given-names>Y.</given-names>
            ,
            <surname>Lembo</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            ,
            <surname>Wolter</surname>
          </string-name>
          ,
          <string-name>
            <surname>F</surname>
          </string-name>
          . (eds.)
          <source>Proc. of DL 2012. CEUR Workshop Proceedings</source>
          , vol.
          <volume>846</volume>
          .
          <string-name>
            <surname>CEUR-WS.org</surname>
          </string-name>
          (
          <year>2012</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          5.
          <string-name>
            <surname>Bienvenu</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Ortiz</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Simkus</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          :
          <article-title>Conjunctive regular path queries in lightweight description logics</article-title>
          .
          <source>In: Proc. of IJCAI</source>
          <year>2013</year>
          (
          <year>2013</year>
          ), to appear
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          6.
          <string-name>
            <surname>Calvanese</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>De Giacomo</surname>
            ,
            <given-names>G.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Lembo</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Lenzerini</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Poggi</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Rosati</surname>
          </string-name>
          , R.:
          <article-title>Ontology-based database access</article-title>
          .
          <source>In: Proc. of the 15th Italian Conf. on Database Systems (SEBD</source>
          <year>2007</year>
          ). pp.
          <volume>324</volume>
          {
          <issue>331</issue>
          (
          <year>2007</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          7.
          <string-name>
            <surname>Calvanese</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>De Giacomo</surname>
            ,
            <given-names>G.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Lembo</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Lenzerini</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Rosati</surname>
            ,
            <given-names>R.</given-names>
          </string-name>
          :
          <article-title>Tractable reasoning and e cient query answering in description logics: The DL-Lite family</article-title>
          .
          <source>J. of Automated Reasoning</source>
          <volume>39</volume>
          (
          <issue>3</issue>
          ),
          <volume>385</volume>
          {
          <fpage>429</fpage>
          (
          <year>2007</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          8.
          <string-name>
            <surname>Calvanese</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>De Giacomo</surname>
            ,
            <given-names>G.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Lenzerini</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          :
          <article-title>Conjunctive query containment and answering under description logics constraints</article-title>
          .
          <source>ACM Trans. on Computational Logic</source>
          <volume>9</volume>
          (
          <issue>3</issue>
          ),
          <year>22</year>
          .1{
          <fpage>22</fpage>
          .31 (
          <year>2008</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          9.
          <string-name>
            <surname>Calvanese</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Eiter</surname>
            ,
            <given-names>T.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Ortiz</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          :
          <article-title>Answering regular path queries in expressive description logics: An automata-theoretic approach</article-title>
          .
          <source>In: Proc. of the 22nd AAAI Conference on Arti cial Intelligence (AAAI</source>
          <year>2007</year>
          ). pp.
          <volume>391</volume>
          {
          <issue>396</issue>
          (
          <year>2007</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          10.
          <string-name>
            <surname>Calvanese</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Eiter</surname>
            ,
            <given-names>T.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Ortiz</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          :
          <article-title>Regular path queries in expressive description logics with nominals</article-title>
          . In: Boutilier,
          <string-name>
            <surname>C</surname>
          </string-name>
          . (ed.)
          <source>Proc. of IJCAI 2009</source>
          . pp.
          <volume>714</volume>
          {
          <issue>720</issue>
          (
          <year>2009</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          11.
          <string-name>
            <surname>Eiter</surname>
            ,
            <given-names>T.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Ortiz</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Simkus</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Tran</surname>
            ,
            <given-names>T.K.</given-names>
          </string-name>
          , ,
          <string-name>
            <surname>Xiao</surname>
          </string-name>
          , G.:
          <article-title>Query rewriting for HornSHIQ plus rules</article-title>
          .
          <source>In: Proc. of the 26th AAAI Conference on Arti cial Intelligence (AAAI</source>
          <year>2012</year>
          )
          <article-title>(</article-title>
          <year>2012</year>
          ), to appear
        </mixed-citation>
      </ref>
      <ref id="ref12">
        <mixed-citation>
          12.
          <string-name>
            <surname>Glimm</surname>
            ,
            <given-names>B.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Horrocks</surname>
            ,
            <given-names>I.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Lutz</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Sattler</surname>
            ,
            <given-names>U.</given-names>
          </string-name>
          :
          <article-title>Conjunctive query answering for the description logic SHIQ</article-title>
          .
          <source>Journal of Arti cial Intelligence Research</source>
          <volume>31</volume>
          ,
          <volume>151</volume>
          {
          <fpage>198</fpage>
          (
          <year>2008</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref13">
        <mixed-citation>
          13.
          <string-name>
            <surname>Glimm</surname>
            ,
            <given-names>B.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Horrocks</surname>
            ,
            <given-names>I.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Sattler</surname>
            ,
            <given-names>U.</given-names>
          </string-name>
          :
          <article-title>Unions of conjunctive queries in SHOQ</article-title>
          .
          <source>In: Proc. of the 11th International Conference on the Principles of Knowledge Representation and Reasoning (KR-08)</source>
          . pp.
          <volume>252</volume>
          {
          <fpage>262</fpage>
          . AAAI Press/The MIT Press (
          <year>2008</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref14">
        <mixed-citation>
          14.
          <string-name>
            <surname>Grau</surname>
            ,
            <given-names>B.C.</given-names>
          </string-name>
          :
          <article-title>A possible simpli cation of the semantic web architecture</article-title>
          .
          <source>In: Proceedings of the 13th international conference on World Wide Web</source>
          . pp.
          <volume>704</volume>
          {
          <fpage>713</fpage>
          . WWW '04,
          <string-name>
            <surname>ACM</surname>
          </string-name>
          , New York, NY, USA (
          <year>2004</year>
          ), http://doi.acm.
          <source>org/10</source>
          .1145/ 988672.988769
        </mixed-citation>
      </ref>
      <ref id="ref15">
        <mixed-citation>
          15.
          <string-name>
            <surname>Horrocks</surname>
            ,
            <given-names>I.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Tessaris</surname>
            ,
            <given-names>S.:</given-names>
          </string-name>
          <article-title>A conjunctive query language for description logic ABoxes</article-title>
          .
          <source>In: Proc. of the 17th Nat. Conf. on Arti cial Intelligence (AAAI</source>
          <year>2000</year>
          ). pp.
          <volume>399</volume>
          {
          <issue>404</issue>
          (
          <year>2000</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref16">
        <mixed-citation>
          16. Krotzsch,
          <string-name>
            <given-names>M.</given-names>
            ,
            <surname>Rudolph</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            ,
            <surname>Hitzler</surname>
          </string-name>
          ,
          <string-name>
            <surname>P.</surname>
          </string-name>
          :
          <article-title>Complexity boundaries for Horn description logics</article-title>
          .
          <source>In: Proceedings of the 22nd AAAI Conference on Arti cial Intelligence (AAAI'07)</source>
          . pp.
          <volume>452</volume>
          {
          <fpage>457</fpage>
          . AAAI Press (
          <year>2007</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref17">
        <mixed-citation>
          17.
          <string-name>
            <surname>Levy</surname>
            ,
            <given-names>A.Y.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Rousset</surname>
            ,
            <given-names>M.C.</given-names>
          </string-name>
          :
          <article-title>Combining Horn rules and description logics in CARIN</article-title>
          .
          <source>Arti cial Intelligence</source>
          <volume>104</volume>
          (
          <issue>1</issue>
          {2),
          <volume>165</volume>
          {
          <fpage>209</fpage>
          (
          <year>1998</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref18">
        <mixed-citation>
          18.
          <string-name>
            <surname>Lutz</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Toman</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Wolter</surname>
            ,
            <given-names>F.</given-names>
          </string-name>
          :
          <article-title>Conjunctive query answering in the description logic EL using a relational database system</article-title>
          .
          <source>In: Proc. of IJCAI 2009</source>
          . pp.
          <year>2070</year>
          {
          <year>2075</year>
          . AAAI Press (
          <year>2009</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref19">
        <mixed-citation>
          19.
          <string-name>
            <surname>Lutz</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          :
          <article-title>The complexity of conjunctive query answering in expressive description logics</article-title>
          . In: Armando,
          <string-name>
            <given-names>A.</given-names>
            ,
            <surname>Baumgartner</surname>
          </string-name>
          ,
          <string-name>
            <given-names>P.</given-names>
            ,
            <surname>Dowek</surname>
          </string-name>
          ,
          <string-name>
            <surname>G</surname>
          </string-name>
          . (eds.)
          <source>Automated Reasoning, 4th International Joint Conference, IJCAR</source>
          <year>2008</year>
          , Sydney, Australia,
          <source>August 12-15</source>
          ,
          <year>2008</year>
          ,
          <source>Proceedings. Lecture Notes in Computer Science</source>
          , vol.
          <volume>5195</volume>
          , pp.
          <volume>179</volume>
          {
          <fpage>193</fpage>
          . Springer (
          <year>2008</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref20">
        <mixed-citation>
          20.
          <string-name>
            <surname>Ortiz</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Calvanese</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Eiter</surname>
            ,
            <given-names>T.</given-names>
          </string-name>
          :
          <article-title>Data complexity of query answering in expressive description logics via tableaux</article-title>
          .
          <source>J. of Automated Reasoning</source>
          <volume>41</volume>
          (
          <issue>1</issue>
          ),
          <volume>61</volume>
          {
          <fpage>98</fpage>
          (
          <year>2008</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref21">
        <mixed-citation>
          21.
          <string-name>
            <surname>Ortiz</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Simkus</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          :
          <article-title>Reasoning and query answering in Description Logics</article-title>
          . In: Eiter,
          <string-name>
            <given-names>T.</given-names>
            ,
            <surname>Krennwallner</surname>
          </string-name>
          , T. (eds.)
          <article-title>Reasoning Web. Semantic Technologies for Advanced Query Answering -</article-title>
          8th
          <source>International Summer School</source>
          <year>2012</year>
          ,
          <source>Proceedings. Lecture Notes in Computer Science</source>
          , vol.
          <volume>7487</volume>
          , pp.
          <volume>1</volume>
          {
          <fpage>53</fpage>
          . Springer (
          <year>2012</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref22">
        <mixed-citation>
          22.
          <string-name>
            <surname>Rosati</surname>
          </string-name>
          , R.:
          <article-title>On conjunctive query answering in EL</article-title>
          .
          <source>In: Proc. of the 2007 Description Logic Workshop (DL</source>
          <year>2007</year>
          ).
          <source>CEUR Electronic Workshop Proceedings</source>
          , http:// ceur-ws.
          <source>org/</source>
          Vol-
          <volume>250</volume>
          /, vol.
          <volume>250</volume>
          (
          <year>2007</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref23">
        <mixed-citation>
          23.
          <string-name>
            <surname>Rosati</surname>
            ,
            <given-names>R.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Almatelli</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          :
          <article-title>Improving query answering over DL-Lite ontologies</article-title>
          .
          <source>In: Proceedings of the Twelfth International Conference on Principles of Knowledge Representation and Reasoning (KR</source>
          <year>2010</year>
          )
          <article-title>(</article-title>
          <year>2010</year>
          )
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>