<!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>FO Rewritability for OMQ using Beth De nability and Interpolation</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>David Toman</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Grant Weddell</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Cheriton School of CS, University of Waterloo</institution>
          ,
          <country country="CA">Canada</country>
        </aff>
      </contrib-group>
      <abstract>
        <p>We study rst-order (FO) rewritability for query answering in ontology mediated querying (OMQ) in which ontologies are formulated in Horn fragments of description logics (DLs). In general, OMQ approaches for such logics rely on non-FO rewriting of the query or on analogous completion of the data (ABox). In this paper, we study the problem of the existence of FO rewritings in terms of Beth de nability, and show how Craig interpolation can then be used to e ectively construct the rewritings, when they exist, from the Clark's completion of Datalog-like programs encoding a given DL TBox and optionally a query. We show how our construction can also be seen as an alternative to deriving perfect rewritings in the DL-Lite setting.</p>
      </abstract>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>Introduction</title>
      <p>We study rst-order (FO) rewritability for query answering in the setting of
ontology mediated querying (OMQ) over a knowledge base (KB) formulated in
terms of underlying Horn description logics (DLs) in the ALC family.</p>
      <p>
        Typical OMQ approaches generally rely on either reformulating the query
by incorporating the KB's terminological knowledge [
        <xref ref-type="bibr" rid="ref10 ref11">10,11</xref>
        ] and then executing
the reformulated query over the explicit data in the KB as a relational query,
or, for more expressive logics, on a Datalog completion of the explicit data with
respect to the KB's terminological knowledge over which the OMQ is answered
[
        <xref ref-type="bibr" rid="ref24 ref25 ref27 ref28">24,25,27,28</xref>
        ]. In the latter case, data completion is sometimes expressible in
rstorder logic. This raises the FO rewritability problem: determining if a particular
OMQ instance can be equivalently expressed as an FO query over the explicit
data in the knowledge base.
      </p>
      <p>
        Earlier work on OMQ for the FunDL family of DLs [
        <xref ref-type="bibr" rid="ref31 ref32">31,32,34</xref>
        ] has presented
what was called a combined combined approach to OMQ, and has shown that
it is essential to preserve tractability of OMQ in the presence of (limited) value
restrictions. In this paper, we focus on the FO rewritability of OMQ when the
underlying DL is Horn-SHIQ and its variants. We show that an adaptation of
the combined combined approach leads to e cient OMQ query answering and to
a solution to the FO rewritability problem for this family of DLs. In particular,
we show how the combined combined approach, with the help of Beth de nability
[
        <xref ref-type="bibr" rid="ref4">4</xref>
        ] applied on the Clark's completion [
        <xref ref-type="bibr" rid="ref13">13</xref>
        ] of the Datalog program used for the
completion of the explicit data in the knowledge base, can be used to characterize
FO rewritability of OMQs. We also show how Craig interpolation [
        <xref ref-type="bibr" rid="ref14">14</xref>
        ] can then
be used to construct such an FO rewriting, when it exists. The existence of such
a rewriting enables an OMQ front-end to a relational data source that underlies
an ABox to operate entirely by a more re ned query reformulation of a given
union of conjunctive queries (UCQ) that yields an SQL query over the relational
data source, with no requirement to update tables beforehand.
      </p>
      <p>
        Our contributions are as follows.
1. We show how to decide uniform FO rewritability of OMQ in Horn-SHIQ
via Clark's completion of Datalog programs and Beth de nability;
2. We show how our framework extends to query speci c OMQ by extending
existing results for Horn-DLF D; and
3. We show how a variant of the perfect rewriting approach to OMQ can be
synthesized by appeal again to Beth de nability and Craig interpolation.
This paper builds on earlier work that was the rst to consider FO rewritability
of OMQ, but for the above mentioned FunDL family of DLs, via Beth de
nability and Clark's completion [36]. FO rewritability for Horn logics in the ALC
family has been studied by others, e.g., see [
        <xref ref-type="bibr" rid="ref5 ref7">5,7</xref>
        ]. This other work has also
developed algorithms for generating such rewritings e ciently for logics in the
E L family [
        <xref ref-type="bibr" rid="ref19">19</xref>
        ]. Our approach seems to provide an alternative path to detecting
rewritability and to generating rewritings. A feature of our approach is its link to
interpolation-based query optimization [
        <xref ref-type="bibr" rid="ref21 ref33">21,33</xref>
        ]. The link to query optimization
reveals that minimal sized rewritings are often not optimal for query execution.
However, establishing limits on the size of rewriting [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ] does provide a guide on
what rewritings are reasonable to consider during query optimization.
      </p>
      <p>
        The use of database constraints, possibly combined with constraints implied
by data mapping rules, has been explored in several systems that implement
variants of perfect rewriting [
        <xref ref-type="bibr" rid="ref11">11</xref>
        ], such as Ontop and MASTRO [
        <xref ref-type="bibr" rid="ref3 ref9">3,9</xref>
        ] and others.
One of the contributions in [36], inherited by this work, also shows how Beth
de nability and Clark's completion seamlessly accommodate such constraints
into the rewriting via interpolation (for space reasons we do not present the
details here).
      </p>
      <p>
        Beth de nability and Craig Interpolation have been used for other purposes,
such as query reformulation under FO constraints [
        <xref ref-type="bibr" rid="ref21 ref33 ref8">8,21,33,35</xref>
        ]. That use,
however, is orthogonal to the topic of this paper.
      </p>
      <p>The remainder of the paper is organized as follows. Section 2 provides the
necessary background and de nitions. Here, we review Horn-SHIQ and the
combined combined approach to OMQ. Our main results then follow in Section 3 in
which we show how the above-mentioned artifacts, Clark's completion of
Datalog programs for example, can be employed to both decide FO rewritability
and to synthesize FO rewritings of ABox completion in the combined combined
approach to OMQ. In Section 4, we show how our framework is an alternative
approach to perfect rewriting of queries for knowledge bases formulated in
DLLite. In the conclusions we discuss several limitations and possible extensions of
our approach.</p>
    </sec>
    <sec id="sec-2">
      <title>Background and De nitions</title>
      <p>Horn-SHIQ and its variants. Our primary focus will be on KBs with underlying
DLs that are a variant of Horn-SHIQ. We begin by de ning the relevant roles,
concepts and their semantics presumed by such DLs.</p>
      <sec id="sec-2-1">
        <title>De nition 1 (Horn-SHIQ Concepts and Roles)</title>
        <sec id="sec-2-1-1">
          <title>Let R, PC and IN be disjoint sets of primitive role names, primitive concept</title>
          <p>names and individual names respectively. Horn-SHIQ roles R are of the form
P and P for P 2 R, and concepts C are of the form A for A 2 PC, C1 u C2,
?, &gt;, 8R:C, 9R:C, ( n R:C), or ( n R:C) for n 0. The semantics is with
respect to a structure I = (4I ; I ) in which 4I is a domain of objects and I an
interpretation function seeded by xing the interpretations of primitive concept
names A to be subsets of 4I , primitive role names R to be subsets of 4I 4I ,
and individual names a to be elements of 4I , and is extended to derived concepts</p>
        </sec>
        <sec id="sec-2-1-2">
          <title>C and roles R in the standard way [2]. Subsumption between concepts and roles, assertions, knowledge bases and their consistency, logical implication, and other reasoning problems are also de ned in the standard way.</title>
          <p>
            The following de nition of a Horn-SHIQ KB appeals to a simpli ed normal form
for subsumption constraints presented in [
            <xref ref-type="bibr" rid="ref16">16</xref>
            ]. For more general but expressively
equivalent syntax, e.g., that allows other forms of quali ed number restrictions,
see [
            <xref ref-type="bibr" rid="ref22">22</xref>
            ].
          </p>
        </sec>
      </sec>
      <sec id="sec-2-2">
        <title>De nition 2 (Horn-SHIQ TBoxes and ABoxes [16])</title>
        <p>A Horn-SHIQ knowledge base K consists of a TBox T and an ABox A. A TBox
T (in normal form) consists of role subsumptions of the form R1 v R2 that de ne
a role hierarchy, transitivity assertions trans(R), and concept subsumptions that
adhere to one of the following forms:1</p>
        <p>A u B v C,
A v 8R:B,
A v 9R:B,
9R:A v B, or</p>
        <p>A v ( 1 R:B),
where A; B; C 2 PC [ f&gt;; ?g. Roles R are called simple when neither they nor
any of their subroles are transitive. To avoid a well known source of
undecidability, we require that any number restriction occurring in T will mention only
simple roles.</p>
        <p>An ABox A consists of concept assertions, role assertions, equality axioms
and inequality axioms with the respective forms A(a), R(a; b), a = b and a 6= b.</p>
        <p>
          A Horn-ALCHQI KB is a Horn-SHIQ KB without any transitivity
assertions.
1 Note that subsumptions of the form \A1 u uAn v B" are also allowed in [
          <xref ref-type="bibr" rid="ref16">16</xref>
          ]. Here,
we are appealing to an obvious conservative extension to replace such subsumptions
with strictly binary use of conjunction to further simplify our presentation.
Conjunctive queries and OMQ. Conjunctive queries are, as usual, formed from
atomic queries (or atoms) of the form \A(x)" and \R(x; y)", where x and y
are variables, using conjunction and existential quanti cation (in prenex normal
form). As usual, we con ate conjunctive queries with the set of its constituent
atoms and a list of answer variables to simplify notation.
        </p>
        <p>De nition 3 (Conjunctive Query) Let now be a set of atoms A(xi) and
R(xi1 ; xi2 ), where A is a primitive concept name or &gt;, R a role name, and x a
tuple of variables. We call the expression ' = fx j g a conjunctive query (CQ).
A CQ ' is also a notational variant of the formula \9y: V 2 " in which y
contains all variables appearing in but not in x.2 We also omit set braces when
explicitly listing atoms in to improve readability. With this understanding, the
usual de nition of certain answers is assumed and given as follows:
De nition 4 (Certain Answer) Let K be a Horn-SHIQ knowledge base and
' = fx j g a CQ. A certain answer to ' over K is a tuple of constant symbols
a, such that K j= '(a) (where '(a) is short for '[x 7! a]).</p>
        <p>Our primary concern is then given by the following problem:
De nition 5 ((uniform) FO Query Rewritability)
Given a Horn-SHIQ TBox T , the problem of uniform query rewritability is to
determine if there is a query reformulation 'T for every CQ ' such that, for
every ABox A and tuple of constant symbols a, (T ; A) j= '(a) i A j= 'T (a).
Later in the paper, we brie y consider a query-speci c variant of this problem:
whether such a rewriting exists for a given CQ. The following observations will
also be useful in regard to this problem.</p>
        <p>Observation 6 (Transitivity) Consider a Horn-SHIQ knowledge base with
a TBox ftrans(R)g. Then the CQ f(x; y) j R(x; y)g cannot be FO rewritable
since this would one allow to answer the connectivity question with respect to
any ABox considered as a graph of R-edges.</p>
        <p>Analogously to transitive roles, allowing equality between ABox objects, and
therefore not adopting the unique name assumption (UNA), leads immediate to
non-rewritability:
Observation 7 (Equality) Consider a Horn-SHIQ KB in which T = ; and
a CQ f(x; x) j &gt;(x)g. Again, this query solves the (undirected) connectivity
problem in an ABox with explicit equalities between individuals and thus cannot
have an FO rewriting.
2 Note that it is not necessary to place any restrictions on the variables x. Indeed, one
can add additional atoms &gt;(xi) to ensure variables in x also appear in , if desired,
without any impact on the remaining results.</p>
        <p>Hence, hereon, we focus on the Horn-ALCHQI sub-dialect of Horn-SHIQ
without transitive roles, and also adopt UNA.</p>
        <sec id="sec-2-2-1">
          <title>Observation 8 (Boolean Queries) Consider a Boolean CQ '. Such a query,</title>
          <p>when equivalent to a concept, can be entailed not only due to matches in an</p>
        </sec>
        <sec id="sec-2-2-2">
          <title>ABox, but also due to matches in the anonymous part of the models of the knowledge base. However, these matches only depend on the existence of certain patterns (types) in the given ABox that can be enumerated and this way converted to a UCQ [31,32,34].</title>
          <p>
            Hence, hereon as well, we focus on CQs with (1) at least one answer variable, and
(2) that are connected. The combined combined approach that we now outline
can be extended to all CQs, although the details of doing so lie outside the scope
of this paper since they do not a ect query rewritability. Finally, we assume
that the KBs under consideration are consistent. Hence, it will be unnecessary
to check for at most number restrictions (functionality) in our constructions.
The Combined Combined Approach. To study FO rewritability of conjunctive
queries over Horn-ALCHQI knowledge bases, we begin with the following
manifestation of a combined combined approach to OMQ originally developed for
the feature logic Horn-DLF D [
            <xref ref-type="bibr" rid="ref31 ref32">31,32,34</xref>
            ].3 Our objective is to modify the
approach to suit Horn-ALCHQI, and to show how such can be used to decide
query rewritability with respect to knowledge bases expressed in terms of such
dialects.
          </p>
        </sec>
      </sec>
      <sec id="sec-2-3">
        <title>Proposition 9 (Combined Combined Approach for Horn-ALCHQI)</title>
        <p>Let K = (T ; A) be a consistent Horn-ALCHQI knowledge base and ' a
conjunctive query. Then there is a UCQ query 'T and a Datalog program T , both
of which can be e ectively constructed from T , such that</p>
        <p>K j= '(a) ()</p>
        <p>T (A) j= 'T (a)
for any tuple of constant symbols a, and where</p>
        <p>T when evaluated over A.</p>
        <p>T (A) is the minimal model of
In the rest of this section, we give the de nition of T (A) and 'T .</p>
        <p>
          Datalog programs and clauses that follow use the standard syntax and
semantics, and, in particular, predicates used in such programs are classi ed as
either EDB (extensional predicates), those for which we have explicit data, and
IDB (intensional predicates), predicates whose interpretation is de ned by the
minimal model semantics of Datalog [37,38,39].
3 Note that the original combined approach [
          <xref ref-type="bibr" rid="ref24 ref29">24,29</xref>
          ] used the TBox subsumptions to
complete the ABox but not to rewrite the CQ. The approach presented here combines
this combined approach with a variation on perfect rewriting [
          <xref ref-type="bibr" rid="ref11">11</xref>
          ]; hence we call it
the combined combined approach.
        </p>
      </sec>
      <sec id="sec-2-4">
        <title>De nition 10 (Datalog Program T ) The Datalog program T used in</title>
        <p>Proposition 9 consists of completion rules obtained by translating subsumptions
that are logical consequences of T . The form of these subsumptions and their
translation are given as follows:
(consequences of T )
A1 u A2 v B
A v 8R:B
9R:A v B
R v S
(completion rule in
CB(x)
CB(x)
CB(x)
RS(x; y)</p>
        <p>T )
CA1 (x); CA2 (x)
CA(y); RR(y; x)
CA(y); RR(x; y)
For every primitive concept B and role R, we introduce an unary EDB
predicates PB(x) and PR(x; y) together with additional clauses CB(x) PB(x),
RR(x; y) PR(x; y), and RR (x; y) PR(y; x) (accounting for explicit data of
the form A(a) and R(a; b) in an ABox ), and IDB predicates CB(x) and RR(x; y)
corresponding to the completion of the ABox w.r.t. T .</p>
        <p>
          Note that the subsumptions for existential restrictions do not contribute to the
de nition of an ABox completion since they do not generate additional ABox
assertions for ABox individuals. Similarly, number restrictions (at most
restrictions) do not play any role here as we assume that ABoxes we try to complete are
always consistent with the TBox T (as we already mentioned above). Also note
that, unlike in the classical combined approach [
          <xref ref-type="bibr" rid="ref24 ref28">24,28</xref>
          ], our combined combined
approach does not introduce any new constants in the ABox, similarly to [
          <xref ref-type="bibr" rid="ref32">32</xref>
          ].
The following de nition is an adaptation of the approach to query reformulation
to Horn-ALCHQI:
De nition 11 (Query Reformulation) Let ' = fx j g be a CQ. We write
FoldT (') to denote the set of CQs obtained by applying the following when
initialized with the singleton set
        </p>
        <p>ffx j gg:
(computing 'T ) Update FoldT (') for a CQ fy j g 2 FoldT (') according to the
following rewrite rules (top-down) until no such rewrite is possible:
1. If fA(x); B(x)g
and T j= AuB v ? then
FoldT (') := FoldT (')
ffy j gg:
2. If fA(x); B(x)g</p>
        <p>and T j= A v B then
FoldT (') := FoldT (')
ffy j gg [ ffy j
fB(x)ggg:
3. If fR(x; y); R0(x; y)g</p>
        <p>and T j= R v R0 then
FoldT (') := FoldT (')
ffy j gg [ ffy j
fR0(x; y)ggg:</p>
        <sec id="sec-2-4-1">
          <title>4. If x and y are variables in then</title>
          <p>FoldT (') := FoldT (') [ ffy j g[x=y]g:
and</p>
          <p>FoldT (') := FoldT (') [ ffy j 0gg
for all 0 of the form
fR1(x; y); : : : ; Rn(x; y); R10(y; x); : : : ; Rm0(y; x); A1(y); : : : ; Ak(y)g
[ fB1;i1 (x); : : : ; Bk;ik (x)g
that are generated by sets fB1;i1 (x); : : : ; Bk;ik (x)g such that (i) for some Bi;ij
and B 2 PC [ f&gt;g we have T j= Bi;ij v 9Ri:B or T j= Bi;ij v 9Ri0 :B and
(ii) such that each of the Ai concepts for which T 6j= B v Ai there is a
concept Bi;ij for which T j= Bi;ij v 8Ri:Ai or T j= Bi;ij v 8Rj0 :Ai, where
Bi;ij is maximal w.r.t. v.4
The reformulation of ' w.r.t. T , 'T , is then given by the UCQ W
2Fold(') .</p>
          <p>Note that, for our purposes, the existence of 'T is su cient since we are
concerned with rewritability and not query answering. The existence of 'T also
indicates that the non-rewritability of CQs is con ned to the interaction of the
TBox with explicit data given by an ABox.
3</p>
        </sec>
      </sec>
    </sec>
    <sec id="sec-3">
      <title>Classi cation of TBoxes</title>
      <p>
        To test for FO de nability of the completion (i.e., all predicates that stand for
the completed ABox instance), we use the following construction:
De nition 12 (Clark's Completion
of T is given by a set of formulas
T ) The Clark's Completion [
        <xref ref-type="bibr" rid="ref13">13</xref>
        ]
      </p>
      <p>T
CB(x) $ PB(x) _ (9y: 1) _ : : : _ (9y: n)</p>
      <p>RR(x; y) $ PR(x; y) _ 1 _ : : : _ m
corresponding to all clauses CB(x)
their heads).</p>
      <p>i and RR(x; y)
j in</p>
      <p>
        T (grouped by
The bodies i ( i) are introduced in De nition 10. Note also that the Clark's
Completion is no longer a Datalog program. This completion, however, closes
the original Datalog program in the following sense:
Proposition 13 ([
        <xref ref-type="bibr" rid="ref13">13</xref>
        ], simpli ed for this paper)
{
{
      </p>
      <p>T [ Adb j= CB(a) implies
T [ Adb 6j= CB(a) implies</p>
      <p>T [ Adb j= CB(a), and</p>
      <p>T [ Adb j= :CB(a).
4 This rule allows one to remove atoms over quanti ed variables (y in our case) in a
query by adding atoms over the remaining variables (x in our case) that imply the
existence of the original atoms with the help of the TBox.
(and similarly for RR(a; b) consequences) for every ABox A and constant a (and
b), where Adb is the closed world variant of A, a set of ground facts such that
all facts not in Adb are false.</p>
      <p>Note that Clark's result works in the much more general setting of logic
programs with function symbols and possibly in nite resolution proofs and under
the Negation As Failure semantics. Since Clark's completion makes all IDB
predicates closed, we can now use standard tools for testing for explicit de nability.</p>
      <p>
        Also note that, had we used T instead, none of the de nability results could
possibly hold, and that, in the absence of role/feature subsumptions (such as role
hierarchies), there is no need to apply the completion to the RR atoms.
Proposition 14 (Projective Beth De nability [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ]) Let be an FO theory
over symbols in L and L0 L. Then the following are equivalent:
1. For M1 and M2 models of such that M1jL0 = M2jL0 , it holds that M1 j=
'[a] i M2 j= '[a] for all M1, M2, and a tuples of constants, and
      </p>
      <sec id="sec-3-1">
        <title>2. ' is equivalent under to a formula in L0 (we say ' is Beth de nable</title>
        <p>over and L0).</p>
        <p>This gives us a complete characterization of FO rewritability of the ABox closure
of individual primitive concept names with respect to Horn-ALCHQI TBoxes
as follows:
Theorem 15 Let T be a Horn-ALCHQI TBox over the primitive concept names
fA1; : : : ; Akg and role names fR1; : : : ; Rng. Then the completion of the primitive
concept Ai (role Ri) w.r.t. T is FO de nable if and only if CAi (x) (RRi (x; y))
is Beth de nable over T and L0 = fPA1 ; : : : ; PAk ; PR1 ; : : : ; PRn g.
Proof (sketch): Follows immediately from the properties of Beth de nability
(Proposition 14) and the de nition and properties of the Clark's completion
(Proposition 13).</p>
        <p>Observe that one can restrict the alphabet of the ABox (L0) to target only
ABoxes over restricted signature(s).</p>
        <p>Given T , one can now reformulate (1) in Proposition 14 as a logical
implication problem by making a copy of all formulas of T in which all non-logical
symbols not in fPA1 ; : : : ; PAk ; PR1 ; : : : ; PRn g are starred. Hence, the de
nability question for CA(x) and RR(x; y) can be expressed as a logical implication
question of the form:</p>
        <p>T [
T [</p>
        <p>T j= 8x:CA(x) ! CA(x)
T j= 8x; y:RR(x; y) ! RR(x; y)
(1)
Note that, without role constructors, there is no need to check for the de nability
of RR(x; y) atoms since they are always de nable (we elaborate on the role of
role constructors in Section 5). Note also that, on closer inspection, all formulas
in T can be written as ALCI subsumptions. Hence:
Theorem 16 Let T be a Horn-ALCHQI TBox. Then the existence of
1. the FO rewritability of the A completion with respect to T , and
2. the uniform query rewritability over T
are decidable and in EXPTIME.</p>
        <p>Proof (sketch): The rst claim follows immediately from Theorem 15 applied
to all atoms of the form CB and the decidability and complexity of reasoning
in ALCI. The second claim follows by observing that (i) de nability of atomic
queries implies de nability of arbitrary UCQs using the combined combined
approach, and that (ii) non-de nability of a single atomic query exhibits the
need for a non FO ABox completion for queries containing/consisting of this
atom.</p>
        <p>
          In the second case, one can restrict the de nability conditions to atoms that can
appear in the query 'T . A matching lower bound can be obtained for
expressive fragments of Horn-ALC (for which the reasoning complexity is
EXPTIMEcomplete).5 However, since the size (and the construction) of rewritings will
dominate this cost (even for the simplest ontology languages [
          <xref ref-type="bibr" rid="ref23">23</xref>
          ]), exact
complexity bounds are mostly of academic interest.
        </p>
        <p>
          Construction of rewritings. To obtain an algorithm that constructs rewritings
from our characterization of FO rewritability, we utilize Craig Interpolation:
Proposition 17 (Craig Interpolation [
          <xref ref-type="bibr" rid="ref14">14</xref>
          ]) Let ' and be FO formulas such
that j= ' ! . Then there is an FO formula , called Craig interpolant,
containing only symbols common to ' and such that j= ' ! and j= ! .
Moreover, the interpolant can be extracted, typically in linear time, from a proof
of j= ' ! , as long as a reasonably structural proof system, such as resolution,
(cut-free) sequent calculus, and/or analytic tableau is used. Combining the above
construction with the rewriting 'T we get:
Theorem 18 Let K = (T ; A) be a consistent Horn-ALCHQI knowledge base.
Then the data complexity of uniform conjunctive query answering is in AC0
whenever the A completion with respect to T is FO de nable with respect to T .
Proof (sketch): Let A(x) be an FO de nition of CA w.r.t. T . Then K j= '(a)
i Adb j= 'T [ A[y=x]=A(y) j A 2 PC](a): The claim follows since 'T [ A[y=x]=A(y) j
A 2 PC] is an FO formula, in particular a UCQ.
        </p>
        <p>Our approach also provides decidability for the non-uniform (query-speci c)
problems. Also, while one can explicitly construct 'T , to decide FO rewritability
of a CQ, one only needs to determine the atomic formulas for which interpolants
are needed in the reformulation. This yields our desired result:
5 It was noted in [36] that the exact complexity is open for PTIME fragments of</p>
        <p>Horn-DLF D, such as CF Dnc and CF DI8kc .</p>
        <p>
          Theorem 19 Let T be a Horn-ALCHQI TBox and ' a CQ. Then the following
are equivalent:
1. ' is FO rewritable with respect to T and
2. T [ T j= 8x:CA(x) ! CA(x) for all CA appearing in 'T and
8x; y:RR(x; y) ! RR(x; y) for all RR appearing in 'T .
The exact complexity again depends on the complexity of (2) above. In the
general case, an EXPTIME bound follows from [
          <xref ref-type="bibr" rid="ref20">20</xref>
          ], but again, a more re ned
analysis is in order for fragments of Horn-ALCHQI.
4
        </p>
      </sec>
    </sec>
    <sec id="sec-4">
      <title>A One-step Construction of Rewritings</title>
      <p>We have been considering the test for existence of rewritings and the
construction of such rewritings as a two part process: (i) the construction of an ABox
completion, and (ii) subsequent query reformulation. We have already noted that
non-rewritability can always be traced to part (i) of this process. An interesting
question that emerges, however, is whether such a two-part process is needed.
In this section we outline a one-step approach to the problem that continues to
be based on Clark's completion and on Beth de nability, optionally followed by
Craig interpolation. Now, however, we apply both techniques to the full TBox,
i.e., including existential restrictions that may generate anonymous objects, and
to the user query, (to save space, in Horn-ALC only).</p>
      <sec id="sec-4-1">
        <title>De nition 20 (Logic Program for Horn-ALC TBox)</title>
        <p>(entailed by T ) (completion rule in</p>
        <p>T )
A v ?
A1 u A2 v B
A v 8R:B
9R:A v B
A v 9R:B</p>
        <p>C?(x) CA(x)
CB(x) CA1 (x); CA2 (x)
CB(x) CA(y); RR(y; x)
CB(x) CA(y); RR(x; y)
RR(x; fR(x)) CA(x); and</p>
        <p>
          CB(fR(x)) CA(x)
Note that the construction of a Datalog program in Section 3 omitted the last
rule (for A v 9R:B) since the e ect of that subsumption has been accommodated
by query reformulation. The clauses stemming from the existential restrictions
contain Skolem functions fR and hence the resulting set of clauses is no longer
a Datalog program. To de ne the Clark's completion, observe that the clauses
for A v 9R:B can be equivalently written as
as shown in [
          <xref ref-type="bibr" rid="ref13">13</xref>
          ]. Now, since the heads of the clauses in T have a uniform
format, we can create the completion T as in De nition 12. (This requires adding
the standard equality axioms or assuming equality is an interpreted predicate.)
For a given CQ ' of the form fx j g, extend the completion with
T ;' =
        </p>
        <p>T [ fQ(x) $
g
(with Q a new symbol). Then one can apply the de nability test as in the
previous case to obtain the rewritability test:
Theorem 21 Let T be a Horn-ALC TBox and ' a CQ. Then the following are
equivalent:
1. T ;' [ T ;' j= 8x:Q(x) ! Q (x), and
2. ' is FO rewritable with respect to T .</p>
        <p>
          The theorem provides a direct, sound and complete test for FO rewritability of
CQs with respect to Horn-ALC TBoxes. However, unlike in the case of Datalog,
we need to ensure that the test is still decidable and has a reasonable
computational complexity. Note that the actual complexity in this case is tied to the proof
system used to prove (1) in Theorem 21: as in DL reasoners, not every proof
system achieves the optimal complexity bound. For Horn-ALC, a reduction to
the Ackermann pre x with equality [
          <xref ref-type="bibr" rid="ref1">1</xref>
          ] seems feasible, with the aim of obtaining
the complexity bound using Furer's result [
          <xref ref-type="bibr" rid="ref18">18</xref>
          ]. However, if one is interested in
generating the rewriting in the form of an interpolant, a suitable proof system
that supports interpolant generation, such as Analytic Tableau [
          <xref ref-type="bibr" rid="ref17">17</xref>
          ], (cut-free)
Sequent Calculus, or Resolution, is needed. Alternative blocking-style techniques
used in DL tableau reasoners are very likely to apply here as well. An intriguing
possibility is to also just limit the depth of terms in a general high-performance
theorem prover along the lines described by Chomicki for DatalognS [
          <xref ref-type="bibr" rid="ref12">12</xref>
          ]. Both
of these options are subjects of future research.
        </p>
        <p>
          An interesting application of Theorem 21 emerges when the given TBox is
formulated in DL-Lite variants, for which interpolants will then correspond to
the result obtained by perfect query reformulation developed in [
          <xref ref-type="bibr" rid="ref10 ref11">10,11</xref>
          ]. It is
relatively easy to observe that the one-step interpolation-based approach always
succeeds and produces essentially the perfect rewritings of conjunctive queries.
5
        </p>
      </sec>
    </sec>
    <sec id="sec-5">
      <title>Summary and Extensions</title>
      <p>
        In this section, we brie y discuss several common extensions of Horn-ALC that
we have omitted so far in our development to keep the presentation of the main
ideas cleaner. In the light of Theorem 21, it is relatively immediate that any
extension that leads to Horn T can be accommodated. Note that, to extend
the two-step combined combined approach, we would need to modify, often in
non-trivial manner, the query reformulation algorithm. (For an example that
accommodates inverse features and a variety of equality generating dependencies
called path-functional dependencies, see [
        <xref ref-type="bibr" rid="ref31">31</xref>
        ].)
      </p>
      <p>Additional concept and role constructors, and the induced subsumptions, can
be classi ed in three groups:
1. Constructors that lead to full Horn rules, i.e., without existential quanti ers
in their heads, that preserve the tree model property. Rules corresponding
to these constructors can simply be added in De nition 10 and De nition 20
without any major impact on the query reformulation in De nition 11;
2. Constructors that lead to embedded Horn rules with existential quanti ers
in their heads that continue to preserve the tree model property. Here, both
De nition 10 and 11 need to be extended to account for the possibility of
additional anonymous individuals. Alternatively, one can capture all of the
e ects by naturally extending De nition 20 and proceeding with a one-step
de nability test; and
3. Constructors that break the tree-model property. Examples relate to
transitivity assertions and nominals; here, it is not always clear how to modify
De nition 11 to make Proposition 9 hold. However, extending De nition 20
and subsequently using Theorem 21 will still work.</p>
      <p>However, using Theorem 21, while sound and complete for determining
rewritability, does not come for free. With each extension, one needs to revisit the
decidability and complexity of the de nability test which, ultimately, becomes
undecidable. This happens even in cases when only unary function symbols are needed
but where unrestricted use of binary predicates, such as roles, are allowed.</p>
      <sec id="sec-5-1">
        <title>Extensions that are unlikely to be possible. There are limits to the de nability</title>
        <p>
          based approach:
(beyond Horn logics ) The approach for Horn logics relies crucially on the
existence of a unique minimal model (called the universal model in DL circles)
that can be characterized using the Clark's completion. This insight then makes
Beth de nability and Craig interpolation work. It remains unclear how this idea
could generalize to logics without the minimal model property (i.e., non-Horn).
For these reasons PTIME-coNP boundaries [
          <xref ref-type="bibr" rid="ref30">30</xref>
          ] are unlikely to be resolved using
these techniques.
(beyond FO logics ) The synthesis of the rewritings is tied to Craig Interpolation.
Hence synthesizing, e.g., linear Datalog or dealing with dichotomies on the
NLPTIME [
          <xref ref-type="bibr" rid="ref26">26</xref>
          ] boundary seems also to be beyond the capabilities of the techniques
used in this paper. Applying results on interpolation in non- rst order logics,
such as the -calculus [
          <xref ref-type="bibr" rid="ref15">15</xref>
          ], will be the focus of future research. However, the
combined combined approach already gives one a Datalog rewriting, so the space
to be explored seems to be rather limited.
34. David Toman and Grant E. Weddell. Conjunctive Query Answering in CF Dnc:
A PTIME Description Logic with Functional Constraints and Disjointness. In
Australasian Conference on Arti cial Intelligence, pages 350{361, 2013.
35. David Toman and Grant E. Weddell. An interpolation-based compiler and
optimizer for relational queries (system design report). In IWIL@LPAR 2017 Workshop
and LPAR-21 Short Presentations, Maun, Botswana, May 7-12, 2017, 2017.
36. David Toman and Grant E. Weddell. First order rewritability for ontology
mediated querying in horn-dlfd. In Proceedings of the 33rd International Workshop
on Description Logics (DL 2020), volume 2663 of CEUR Workshop Proceedings.
        </p>
        <p>CEUR-WS.org, 2020.
37. J.D. Ullman. Principles of Database Systems. Computer Science Press, 1982.
38. J.D. Ullman. Principles of Database and Knowledge-Base Systems, volume 1.
Computer Science Press, 1988.
39. J.D. Ullman. Principles of Database and Knowledge-Base Systems, volume 2.
Computer Science Press, 1989.</p>
      </sec>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          1.
          <string-name>
            <given-names>W.</given-names>
            <surname>Ackermann</surname>
          </string-name>
          .
          <article-title>Uber die Erfullbarkeit gewisser Zahlausdrucke</article-title>
          .
          <source>Mathematische Annalen</source>
          ,
          <volume>100</volume>
          :
          <fpage>638</fpage>
          {
          <fpage>649</fpage>
          ,
          <year>1928</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          2.
          <string-name>
            <given-names>Franz</given-names>
            <surname>Baader</surname>
          </string-name>
          , Diego Calvanese, Deborah L.
          <string-name>
            <surname>McGuinness</surname>
          </string-name>
          ,
          <string-name>
            <surname>Daniele Nardi</surname>
          </string-name>
          , and
          <string-name>
            <surname>Peter F. Patel-Schneider</surname>
          </string-name>
          .
          <article-title>The Description Logic Handbook: Theory, Implementation, and Applications</article-title>
          . Cambridge University Press,
          <year>2003</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          3.
          <string-name>
            <given-names>Timea</given-names>
            <surname>Bagosi</surname>
          </string-name>
          , Diego Calvanese, Josef Hardi, Sarah Komla-Ebri, Davide Lanti, Martin Rezk, Mariano Rodriguez-Muro,
          <string-name>
            <given-names>Mindaugas</given-names>
            <surname>Slusnys</surname>
          </string-name>
          , and
          <string-name>
            <given-names>Guohui</given-names>
            <surname>Xiao</surname>
          </string-name>
          .
          <article-title>The ontop framework for ontology based data access</article-title>
          .
          <source>In The Semantic Web and Web Science - 8th Chinese Conference, CSWS 2014, Revised Selected Papers</source>
          , pages
          <volume>67</volume>
          {
          <fpage>77</fpage>
          ,
          <year>2014</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          4.
          <string-name>
            <given-names>Evert</given-names>
            <surname>Willem Beth</surname>
          </string-name>
          .
          <article-title>On Padoa's method in the theory of de nition</article-title>
          .
          <source>Indagationes Mathematicae</source>
          ,
          <volume>15</volume>
          :
          <fpage>330</fpage>
          {
          <fpage>339</fpage>
          ,
          <year>1953</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          5.
          <string-name>
            <given-names>Meghyn</given-names>
            <surname>Bienvenu</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Peter</given-names>
            <surname>Hansen</surname>
          </string-name>
          , Carsten Lutz, and
          <string-name>
            <given-names>Frank</given-names>
            <surname>Wolter</surname>
          </string-name>
          .
          <article-title>First orderrewritability and containment of conjunctive queries in horn description logics</article-title>
          .
          <source>In Proceedings of the 29th International Workshop on Description Logics</source>
          , Cape Town, South Africa,
          <year>2016</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          6.
          <string-name>
            <given-names>Meghyn</given-names>
            <surname>Bienvenu</surname>
          </string-name>
          , Stanislav Kikot, Roman Kontchakov,
          <string-name>
            <surname>Vladimir</surname>
            <given-names>V.</given-names>
          </string-name>
          <string-name>
            <surname>Podolskii</surname>
            , Vladislav Ryzhikov, and
            <given-names>Michael</given-names>
          </string-name>
          <string-name>
            <surname>Zakharyaschev</surname>
          </string-name>
          .
          <article-title>The complexity of ontologybased data access with OWL 2 QL and bounded treewidth queries</article-title>
          .
          <source>In Proceedings of the 36th ACM SIGMOD-SIGACT-SIGAI Symposium on Principles of Database Systems, PODS 2017</source>
          , pages
          <fpage>201</fpage>
          {
          <fpage>216</fpage>
          ,
          <year>2017</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          7.
          <string-name>
            <given-names>Meghyn</given-names>
            <surname>Bienvenu</surname>
          </string-name>
          , Balder ten Cate, Carsten Lutz, and
          <string-name>
            <given-names>Frank</given-names>
            <surname>Wolter</surname>
          </string-name>
          .
          <article-title>Ontologybased data access: A study through disjunctive datalog, csp, and MMSNP</article-title>
          .
          <source>ACM Trans. Database Syst</source>
          .,
          <volume>39</volume>
          (
          <issue>4</issue>
          ):
          <volume>33</volume>
          :1{
          <fpage>33</fpage>
          :
          <fpage>44</fpage>
          ,
          <year>2014</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          8.
          <string-name>
            <given-names>Alexander</given-names>
            <surname>Borgida</surname>
          </string-name>
          , Jos de Bruijn, Enrico Franconi, Inanc Seylan, Umberto Straccia, David Toman, and
          <string-name>
            <given-names>Grant E.</given-names>
            <surname>Weddell</surname>
          </string-name>
          .
          <article-title>On nding query rewritings under expressive constraints</article-title>
          .
          <source>In SEBD</source>
          , pages
          <volume>426</volume>
          {
          <fpage>437</fpage>
          ,
          <year>2010</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          9. Diego Calvanese, Giuseppe De Giacomo, Domenico Lembo, Maurizio Lenzerini, Antonella Poggi, Mariano Rodriguez-Muro,
          <article-title>Riccardo Rosati, Marco Ruzzi, and Domenico Fabio Savo. The MASTRO system for ontology-based data access</article-title>
          .
          <source>Semantic Web</source>
          ,
          <volume>2</volume>
          (
          <issue>1</issue>
          ):
          <volume>43</volume>
          {
          <fpage>53</fpage>
          ,
          <year>2011</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          10. Diego Calvanese, Giuseppe De Giacomo, Domenico Lembo, Maurizio Lenzerini, and
          <string-name>
            <given-names>Riccardo</given-names>
            <surname>Rosati</surname>
          </string-name>
          .
          <article-title>DL-Lite: Tractable description logics for ontologies</article-title>
          .
          <source>In Proc. of the 20th Nat. Conf. on Arti cial Intelligence (AAAI</source>
          <year>2005</year>
          ), pages
          <fpage>602</fpage>
          {
          <fpage>607</fpage>
          ,
          <year>2005</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          11. Diego Calvanese, Giuseppe de Giacomo, Domenico Lembo, Maurizio Lenzerini, and
          <string-name>
            <given-names>Riccardo</given-names>
            <surname>Rosati</surname>
          </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="ref12">
        <mixed-citation>
          12.
          <string-name>
            <given-names>Jan</given-names>
            <surname>Chomicki</surname>
          </string-name>
          .
          <article-title>Depth-bounded bottom-up evaluation of logic program</article-title>
          .
          <source>J. Log. Program.</source>
          ,
          <volume>25</volume>
          (
          <issue>1</issue>
          ):1{
          <fpage>31</fpage>
          ,
          <year>1995</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref13">
        <mixed-citation>
          13.
          <string-name>
            <surname>Keith</surname>
            <given-names>L.</given-names>
          </string-name>
          <string-name>
            <surname>Clark</surname>
          </string-name>
          .
          <article-title>Negation as failure</article-title>
          .
          <source>In Logic and Data Bases, Symposium on Logic and Data Bases</source>
          , Centre d'etudes et de recherches de Toulouse, France,
          <year>1977</year>
          , pages
          <fpage>293</fpage>
          {
          <fpage>322</fpage>
          ,
          <year>1977</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref14">
        <mixed-citation>
          14.
          <string-name>
            <given-names>William</given-names>
            <surname>Craig</surname>
          </string-name>
          .
          <article-title>Three uses of the Herbrand-Genzen theorem in relating model theory and proof theory</article-title>
          .
          <source>Journal of Symbolic Logic</source>
          ,
          <volume>22</volume>
          :
          <fpage>269</fpage>
          {
          <fpage>285</fpage>
          ,
          <year>1957</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref15">
        <mixed-citation>
          15.
          <string-name>
            <surname>Giovanna D'Agostino</surname>
            and
            <given-names>Marco</given-names>
          </string-name>
          <string-name>
            <surname>Hollenberg</surname>
          </string-name>
          .
          <article-title>Logical questions concerning the mu-calculus: Interpolation, lyndon and los-tarski</article-title>
          .
          <source>J. Symb. Log.</source>
          ,
          <volume>65</volume>
          (
          <issue>1</issue>
          ):
          <volume>310</volume>
          {
          <fpage>332</fpage>
          ,
          <year>2000</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref16">
        <mixed-citation>
          16.
          <string-name>
            <surname>Thomas</surname>
            <given-names>Eiter</given-names>
          </string-name>
          , Magdalena Ortiz, Mantas Simkus,
          <string-name>
            <surname>Trung-Kien Tran</surname>
            , and
            <given-names>Guohui</given-names>
          </string-name>
          <string-name>
            <surname>Xiao</surname>
          </string-name>
          .
          <article-title>Query rewriting for horn-shiq plus rules</article-title>
          .
          <source>In Proceedings of the Twenty-Sixth AAAI Conference on Arti cial Intelligence, July 22-26</source>
          ,
          <year>2012</year>
          , Toronto, Ontario, Canada.,
          <year>2012</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref17">
        <mixed-citation>
          17.
          <string-name>
            <given-names>Melvin</given-names>
            <surname>Fitting</surname>
          </string-name>
          .
          <source>First-Order Logic and Automated Theorem Proving, Second Edition</source>
          . Graduate Texts in Computer Science. Springer Publishers,
          <year>1996</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref18">
        <mixed-citation>
          18.
          <string-name>
            <surname>Martin</surname>
          </string-name>
          <article-title>Furer. Alternation and the Ackermann Case of the Decision Problem</article-title>
          . L'Enseignement Math.,
          <volume>27</volume>
          :
          <fpage>137</fpage>
          {
          <fpage>162</fpage>
          ,
          <year>1981</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref19">
        <mixed-citation>
          19.
          <string-name>
            <surname>Peter</surname>
            <given-names>Hansen</given-names>
          </string-name>
          , Carsten Lutz, Inanc Seylan, and
          <string-name>
            <given-names>Frank</given-names>
            <surname>Wolter</surname>
          </string-name>
          .
          <article-title>E cient query rewriting in the description logic EL and beyond</article-title>
          .
          <source>In Proceedings of the TwentyFourth International Joint Conference on Arti cial Intelligence</source>
          ,
          <source>IJCAI</source>
          <year>2015</year>
          , pages
          <fpage>3034</fpage>
          {
          <fpage>3040</fpage>
          ,
          <year>2015</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref20">
        <mixed-citation>
          20.
          <string-name>
            <surname>Ian</surname>
            <given-names>Horrocks</given-names>
          </string-name>
          , Ulrike Sattler, Sergio Tessaris, and
          <string-name>
            <given-names>Stephan</given-names>
            <surname>Tobies</surname>
          </string-name>
          .
          <article-title>How to decide query containment under constraints using a description logic</article-title>
          .
          <source>In Logic for Programming and Automated Reasoning</source>
          , 7th International Conference, LPAR 2000,
          <string-name>
            <surname>Reunion</surname>
            <given-names>Island</given-names>
          </string-name>
          , France,
          <source>November 11-12</source>
          ,
          <year>2000</year>
          , Proceedings, pages
          <volume>326</volume>
          {
          <fpage>343</fpage>
          ,
          <year>2000</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref21">
        <mixed-citation>
          21.
          <string-name>
            <surname>Alexander</surname>
            <given-names>K.</given-names>
          </string-name>
          <string-name>
            <surname>Hudek</surname>
            , David Toman, and
            <given-names>Grant E.</given-names>
          </string-name>
          <string-name>
            <surname>Weddell</surname>
          </string-name>
          .
          <article-title>On enumerating query plans using analytic tableau</article-title>
          .
          <source>In Automated Reasoning with Analytic Tableaux and Related Methods - 24th International Conference, TABLEAUX</source>
          <year>2015</year>
          , Wroclaw, Poland,
          <source>September 21-24</source>
          ,
          <year>2015</year>
          . Proceedings, pages
          <volume>339</volume>
          {
          <fpage>354</fpage>
          ,
          <year>2015</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref22">
        <mixed-citation>
          22.
          <string-name>
            <surname>Ullrich</surname>
            <given-names>Hustadt</given-names>
          </string-name>
          , Boris Motik, and
          <string-name>
            <given-names>Ulrike</given-names>
            <surname>Sattler</surname>
          </string-name>
          .
          <article-title>Data complexity of reasoning in very expressive description logics</article-title>
          .
          <source>In Proc. Int. Joint Conf. on Arti cial Intelligence (IJCAI)</source>
          , pages
          <fpage>466</fpage>
          {
          <fpage>471</fpage>
          . Professional Book Center,
          <year>2005</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref23">
        <mixed-citation>
          23.
          <string-name>
            <surname>Stanislav</surname>
            <given-names>Kikot</given-names>
          </string-name>
          , Roman Kontchakov, Vladimir V.
          <article-title>Podolskii, and Michael Zakharyaschev. Long rewritings, short rewritings</article-title>
          .
          <source>In Proceedings of the 2012 International Workshop on Description Logics, DL-2012</source>
          , Rome, Italy, June 7-10,
          <year>2012</year>
          ,
          <year>2012</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref24">
        <mixed-citation>
          24.
          <string-name>
            <surname>Roman</surname>
            <given-names>Kontchakov</given-names>
          </string-name>
          , Carsten Lutz, David Toman,
          <string-name>
            <given-names>Frank</given-names>
            <surname>Wolter</surname>
          </string-name>
          , and
          <string-name>
            <given-names>Michael</given-names>
            <surname>Zakharyaschev</surname>
          </string-name>
          .
          <article-title>The combined approach to query answering in DL-Lite</article-title>
          .
          <source>In Proc. KR</source>
          , pages
          <volume>247</volume>
          {
          <fpage>257</fpage>
          ,
          <year>2010</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref25">
        <mixed-citation>
          25.
          <string-name>
            <surname>Roman</surname>
            <given-names>Kontchakov</given-names>
          </string-name>
          , Carsten Lutz, David Toman,
          <string-name>
            <given-names>Frank</given-names>
            <surname>Wolter</surname>
          </string-name>
          , and
          <string-name>
            <given-names>Michael</given-names>
            <surname>Zakharyaschev</surname>
          </string-name>
          .
          <article-title>The combined approach to ontology-based data access</article-title>
          .
          <source>In Proc. Int. Joint Conf. on Arti cial Intelligence (IJCAI)</source>
          , pages
          <fpage>2656</fpage>
          {
          <fpage>2661</fpage>
          ,
          <year>2011</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref26">
        <mixed-citation>
          26.
          <string-name>
            <given-names>Carsten</given-names>
            <surname>Lutz</surname>
          </string-name>
          and
          <string-name>
            <given-names>Leif</given-names>
            <surname>Sabellek</surname>
          </string-name>
          .
          <article-title>Ontology-mediated querying with the description logic EL: trichotomy and linear datalog rewritability</article-title>
          .
          <source>In Proceedings of the TwentySixth International Joint Conference on Arti cial Intelligence</source>
          ,
          <source>IJCAI</source>
          <year>2017</year>
          , pages
          <fpage>1181</fpage>
          {
          <fpage>1187</fpage>
          ,
          <year>2017</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref27">
        <mixed-citation>
          27.
          <string-name>
            <surname>Carsten</surname>
            <given-names>Lutz</given-names>
          </string-name>
          , Inanc Seylan, David Toman,
          <string-name>
            <given-names>and Frank</given-names>
            <surname>Wolter</surname>
          </string-name>
          .
          <article-title>The combined approach to OBDA: Taming role hierarchies using lters</article-title>
          .
          <source>In ISWC (1)</source>
          , pages
          <fpage>314</fpage>
          {
          <fpage>330</fpage>
          ,
          <year>2013</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref28">
        <mixed-citation>
          28.
          <string-name>
            <surname>Carsten</surname>
            <given-names>Lutz</given-names>
          </string-name>
          , David Toman,
          <string-name>
            <given-names>and Frank</given-names>
            <surname>Wolter</surname>
          </string-name>
          .
          <article-title>Conjunctive query answering in the description logic EL using a relational database system</article-title>
          .
          <source>In Proc. Int. Joint Conf. on Arti cial Intelligence (IJCAI)</source>
          , pages
          <year>2070</year>
          {
          <year>2075</year>
          ,
          <year>2009</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref29">
        <mixed-citation>
          29.
          <string-name>
            <surname>Carsten</surname>
            <given-names>Lutz</given-names>
          </string-name>
          , David Toman,
          <string-name>
            <given-names>and Frank</given-names>
            <surname>Wolter</surname>
          </string-name>
          .
          <article-title>Conjunctive query answering in the description logic EL using a relational database system</article-title>
          .
          <source>In Proc. IJCAI</source>
          , pages
          <year>2070</year>
          {
          <year>2075</year>
          ,
          <year>2009</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref30">
        <mixed-citation>
          30.
          <string-name>
            <given-names>Carsten</given-names>
            <surname>Lutz</surname>
          </string-name>
          and
          <string-name>
            <given-names>Frank</given-names>
            <surname>Wolter</surname>
          </string-name>
          .
          <article-title>Non-uniform data complexity of query answering in description logics</article-title>
          .
          <source>In Principles of Knowledge Representation and Reasoning: Proceedings of the Thirteenth International Conference, KR</source>
          <year>2012</year>
          ,
          <year>2012</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref31">
        <mixed-citation>
          31.
          <string-name>
            <surname>Stephanie</surname>
            <given-names>McIntyre</given-names>
          </string-name>
          ,
          <string-name>
            <given-names>Alexander</given-names>
            <surname>Borgida</surname>
          </string-name>
          , David Toman, and
          <string-name>
            <given-names>Grant E.</given-names>
            <surname>Weddell</surname>
          </string-name>
          .
          <article-title>On limited conjunctions and partial features in parameter-tractable feature logics</article-title>
          .
          <source>In The Thirty-Third AAAI Conference on Arti cial Intelligence</source>
          ,
          <source>AAAI</source>
          <year>2019</year>
          , pages
          <fpage>2995</fpage>
          {
          <fpage>3002</fpage>
          ,
          <year>2019</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref32">
        <mixed-citation>
          32.
          <string-name>
            <given-names>Jason</given-names>
            <surname>St. Jacques</surname>
          </string-name>
          , David Toman, and
          <string-name>
            <given-names>Grant E.</given-names>
            <surname>Weddell</surname>
          </string-name>
          .
          <article-title>Object-relational queries over CF DInc knowledge bases: OBDA for the SQL-Literate</article-title>
          .
          <source>In Proc. IJCAI</source>
          , pages
          <volume>1258</volume>
          {
          <fpage>1264</fpage>
          ,
          <year>2016</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref33">
        <mixed-citation>
          33. David Toman and
          <string-name>
            <surname>Grant E. Weddell.</surname>
          </string-name>
          <article-title>Fundamentals of Physical Design and Query Compilation</article-title>
          .
          <source>Synthesis Lectures on Data Management</source>
          . Morgan &amp; Claypool Publishers,
          <year>2011</year>
          .
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>