<!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>Constraint Patterns for Tractable Ontology-Mediated Queries with Datatypes</article-title>
      </title-group>
      <contrib-group>
        <aff id="aff0">
          <label>0</label>
          <institution>University of Liverpool</institution>
          ,
          <country country="UK">UK</country>
        </aff>
      </contrib-group>
      <abstract>
        <p>Adding datatypes to ontology-mediated conjunctive queries (OMQs) often makes query answering hard. This applies, in particular, to datatypes with non-unary predicates. In this paper we propose a new, nonuniform way, of analysing the data-complexity of OMQ answering with datatypes containing higher-arity predicates. We aim at a classi cation of the patterns of datatype atoms in OMQs into those that can occur in nontractable OMQs and those that only occur in tractable OMQs. Our main result is a P/coNP-dichotomy for OMQs over DL-Lite TBoxes and rooted CQs using the datatype (Q; ). The proof employs a recent dichotomy result by Bodirsky and Kara for temporal constraint satisfaction problems.</p>
      </abstract>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>Introduction</title>
      <p>
        In recent years, querying data using ontologies has become one of the main
applications of description logics (DLs). The general idea is that an ontology
is used to enrich incomplete and heterogeous data with a semantics and with
background knowledge, thus serving as an interface for querying data and allowing
to derive additional facts. In this area called ontology-based data management
(OBDM) one of the main research problems is to identify ontology languages
and queries for which query answering scales to large amounts of data [
        <xref ref-type="bibr" rid="ref11 ref6">11, 6</xref>
        ]. In
DL, ontologies take the form of a TBox, data is stored in an ABox, and the most
important class of queries are conjunctive queries (CQs). A basic observation
regarding this setup is that even for DLs from the DL-Lite family that have
been designed for tractable OBDM the addition of datatypes to the TBoxes or
the CQs typically leads to non-tractable query answering problems [
        <xref ref-type="bibr" rid="ref2 ref20">2, 20</xref>
        ]. As
a consequence of this, the use of datatypes in ontology and query languages
for OBDM has been severely restricted. For example, the OWL2 QL standard
admits datatypes with unary predicates only. Nevertheless, in applications there
is clearly a need for more expressive datatypes and, in particular, datatypes with
predicates of higher arity.
      </p>
      <p>The aim of this paper is to revisit OBDM with expressive datatypes from a
new, non-uniform, perspective. Instead of the standard approach that aims at
the de nition of DLs L and query languages Q such that for any TBox T in L
and any query q in Q, answering q under T is tractable in data-complexity we
now aim at describing the complexity of query answering with datatypes at a
more ne-grained level by taking into account the way in which datatype atoms
can occur in queries. In more detail, an ontology-mediated query (OMQ) Q is a
triple Q = (T ; q; D) consisting of a TBox T 1, a CQ q, and a datatype D (that
we identify with a relational structure (D; R1; : : :)). The TBox T in Q can refer
to the datatype D using existential restrictions 9U where U is an attribute. The
CQ q can contain atoms using attributes and relations Ri from D. We aim at
a classi cation of the data complexity of query answering with OMQs (T ; q; D)
based on the datatype pattern dtype(q) of q that consists of all atoms using the
relations in D. To illustrate, the CQ q uses the datatype D = (Q; ) and asks
for all rectangles whose width is larger than its height:
q(x)
rectangle(x) ^ height(x; u) ^ width(x; v) ^ u
v:
Thus, height and width are attributes and the datatype pattern dtype(q) of q is
u v. The following CQ q0 uses (Q; ) as well and asks for all countries having
a neigbour to the west that is larger and a neighbour to the east that is smaller:
q0(x)
country(x) ^ westneighbour(x; y1) ^ eastneighbour(x; y2) ^
area(x; u) ^ area(y1; u1) ^ area(y2; u2) ^
(u
u1) ^ (u2</p>
      <p>u):
Its datatype pattern dtype(q0) is (u u1) ^ (u2 u).</p>
      <p>Our main results assume that either the CQ q is a rooted CQ (a CQ in
which each variable is connected to an answer variable not in dtype(q)) or that
the chase of the TBox under consideration is nite for all ABoxes. Under this
assumption, we rst show a close link between the complexity of query evaluation
for OMQs with datatype D and the evaluation problem for positive existential
sentences in the structure D in which every relation R has been replaced by its
complement (thus, D = (Q; &gt;) if D = (Q; )). In more detail, we show that
evaluating an OMQ with datatype D and a datatype pattern with at most k
atoms is polynomially reducible to the complement of the problem PEk(D) of
evaluating positive existential formulas in k-CNF in D. Conversely, PEk(D) is
polynomially reducible to the complement of evaluating a single xed OMQ
(depending only on k) with datatype D and a datatype pattern with nk atoms,
where n is the number of relations in D.</p>
      <p>Basic complexity results can be obtained easily from this observation. For
example, from the fact that PE1(D) is tractable for D 2 f(Z; &lt;); (Z; ); (Q; &lt;);
(Q; )g, we obtain that evaluating OMQs (T ; q; D) in which q is a rooted CQ
whose datatype pattern is a singleton is tractable. Conversely, from the fact
that PE2(Q; &gt;) is non-tractable we obtain an intractable OMQ (T ; q; D) with
datatype D = (Q; ) and a rooted CQ q whose datatype pattern consists of two
atoms.</p>
      <p>Our main result is a P/coNP-dichotomy for OMQs using the datatype D =
(Q; ). Namely, we show that for any datatype pattern q0 over (Q; ) exactly
one of the following two conditions holds (unless P=coNP):
1 The results presented in this paper do not depend on the particular tractable DL we
extend with datatypes. To prove the lower bounds we require that the TBox is given
in a DL containing DL-Litecore; the upper bounds can be proved for all standard
Horn-DLs for which CQ evaluation is in PTime.
{ Evaluating rooted OMQs (T ; q; D) with dtype(q) = q0 is in PTime.
{ There exists a rooted OMQ (T ; q; D) with dtype(q) = q0 whose evaluation
problem is coNP-hard.</p>
      <p>
        The proof uses a recent dichotomy result by Bodirsky and Kara for temporal
constraint satisfaction problems [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ] and provides a su cient and necessary condition
for the evaluation problem to be in PTime that can be checked in linear time.
      </p>
      <p>Due to space limitations, some proofs had to be deferred to the full version
of this paper, which is available on the authors' websites.</p>
      <p>
        Related Work Expressive DLs with datatypes (or concrete domains) have been
introduced in [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ] and studied extensively [
        <xref ref-type="bibr" rid="ref15">15</xref>
        ]. In the context of tractable DLs,
reasoning with datatypes has been studied in [
        <xref ref-type="bibr" rid="ref17 ref3">3, 17</xref>
        ] for E L and in [
        <xref ref-type="bibr" rid="ref19 ref2 ref20">19, 20, 2</xref>
        ] for
DLLite. These works focus on nding ontology languages for which typical reasoning
tasks are tractable. In contrast, here we start with ontology languages for which
query answering is intractable in general, and aim at a complexity classi cation
of query answering guided by the datatype pattern. Our methodology is closely
related to recent work relating OBDM to constraint satisfaction problems [
        <xref ref-type="bibr" rid="ref13 ref16 ref5">16, 5,
13</xref>
        ]. However, here we classify datatype patterns according to the data-complexity
of evaluating the OMQs containing them, whereas in [
        <xref ref-type="bibr" rid="ref16">16</xref>
        ] TBoxes are classi ed
according to the data-complexity of OMQs containing them, and in [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ] OMQs
themselves are classi ed according to their data-complexity. Consequently, here
we establish a link to temporal constraint satis action [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ] whereas the work
mentioned above establishes a link to standard constraint satisfaction and the
Feder-Vardi conjecture [
        <xref ref-type="bibr" rid="ref10 ref12">12, 10</xref>
        ].
2
      </p>
    </sec>
    <sec id="sec-2">
      <title>Preliminaries</title>
      <p>A datatype is a tuple D = (D; R1; R2; : : : ), where D is a non-empty set and
R1; R2; : : : are relations on D. We call dom(D) := D the domain of D. To
simplify the presentation, we will not distinguish between a relation Ri and its
name (i.e., we use Ri both as a relation and as the name of the relation Ri). The
complement of D, denoted by D, is obtained by replacing each k-ary relation Ri
in D by its complement Ri := Dk n Ri. For example, we have (Q; ) = (Q; &gt;).</p>
      <p>
        We assume countably in nite and mutually disjoint sets of concept names, role
names, attribute names, and individual names. Concept names will typically be
denoted by A, role names by P , attribute names by U , and individual names by
a; b; c. The logic DL-Litecore and Horn DLs such as Horn-ALCHIQ are de ned as
usual [
        <xref ref-type="bibr" rid="ref1 ref11 ref14 ref9">11, 1, 14, 9</xref>
        ]. We consider the extension Lattrib of such DLs L in which the
existential restrictions 9U for attribute names U can occur in exactly the same
places in concepts and concept inclusions as concept names can occur in L. Unless
stated otherwise, TBoxes range over Lattrib TBoxes, where L is DL-Litecore or
any standard Horn-DL with data complexity for CQs in PTime.
      </p>
      <p>Let D be a datatype. A D-ABox consists of assertions of the form A(a),
P (a; b), and U (a; u), where A is a concept name, P is a role name, U is an
attribute name, a; b are individual names, and u 2 dom(D). A D-knowledge base
(D-KB) is a pair (T ; A) consisting of a TBox T and a D-ABox A.</p>
      <p>An interpretation I = ( I ; I ) over a datatype D consists of a non-empty
domain I = iInd [dom(D) and an interpretation function I that assigns to each
concept name A a set AI iInd, to each role name P a relation P I iInd iInd,
and to each attribute name U a relation U I iInd dom(D). The elements in
ind are called individuals, whereas the elements in dom(D) are called data values.</p>
      <p>I
We assume that iInd and dom(D) are disjoint. Throughout this paper, we make
the standard name assumption: if I is an interpretation, then we set aI := a for
all individual names a. We also set uI := u for each u 2 dom(D), and RI := R
for each relation R of D. The interpretation I induces the interpretations CI
and SI for each complex concept C and complex role S in the standard way.</p>
      <p>We say that I is a model of a KB (T ; A) if aI 2 AI , (aI ; bI ) 2 P I , and
(aI ; uI ) 2 U I for all assertions A(a), P (a; b), and U (a; u) in A, and if for every
inclusion X v Y in T we have XI Y I . A KB (T ; A) is satis able if it has a
model; in this case we say that A is satis able relative to T .</p>
      <p>We consider conjunctive queries (CQs) q (over D) of the form q(x) ',
where x is the tuple of answer variables of q, and ' is a conjunction of atomic
formulas of the form A(y), P (y; z), U (y; u), or R(u1; : : : ; uk), where A, P , U , and
R range over concept names, role names, attribute names, and relation names in
D, respectively; each y; z is a variable; and each u; u1; : : : ; uk is a variable. As
usual, all variables of x must occur in some atom of '. The size jqj of q is the
number of atoms in q. The datatype pattern of q, denoted by dtype(q), is the
conjunction of all atoms in ' that use a relation in D. The variables that occur
in dtype(q) are called data variables. We assume that all data variables occur in
some atom U ( ; ) outside of dtype(q). A match of q in an interpretation I is a
mapping from the variables of ' to I such that for each atom X(t1; : : : ; tk)
of ' we have ( (t1); : : : ; (tk)) 2 XI . A tuple c of individual names and data
values is an answer to q in an interpretation I if there is a match of q in I
such that (x) = c. We denote this by I j= q(c). Given a KB (T ; A), we write
T ; A j= q(c) if c is an answer to q in every model of (T ; A).</p>
      <p>The connection graph of a CQ q is the undirected graph with the variables
of q as its vertices and an edge between any two distinct variables if they occur
together in an atom of q that does not belong to dtype(q). We say that q is rooted
if for every variable y of q the connection graph contains a path from y to an
answer variable of q.</p>
      <p>We consider ontology-mediated queries (OMQs) of the form Q = (T ; q; D),
where D is a datatype, T is a TBox, and q is a CQ over D. Given a D-ABox
A and a tuple c, we write A j= Q(c) if (T ; A) j= q(c). An OMQ Q = (T ; q; D)
is rooted if q is rooted. The query evaluation problem for Q is the problem to
decide for given D-ABox A and c whether A j= Q(c).
3</p>
    </sec>
    <sec id="sec-3">
      <title>Query Evaluation and Positive Existential Sentences</title>
      <p>We establish a tight link between the OMQ evaluation problem with datatype D
and the satisfaction problem for positive existential sentences over D. To this end
we rst introduce a variant of the universal (or canonical) model for standard
Horn-DL KBs. In contrast to KBs with Horn-DL TBoxes without datatypes, in
general there does not exist a universal model for KBs with datatypes.
Example 1. Consider the KB (T ; A) with T = fA v 9U1; A v 9U2g and A =
fA(a)g and with datatype (Q; ). Consider the OMQs Qi = (T ; qi; (Q; )),
i = 1; 2, where
q1(x)</p>
      <p>U1(x; u1) ^ U2(x; u2) ^ u1
u2
q2(x)</p>
      <p>U1(x; u1) ^ U2(x; u2) ^ u2
u1
Clearly A 6j= Q1(a) since for the interpretation I with U1I = f(a; 2)g and
U2I = f(a; 1)g we have I 6j= q1(a). Also, A 6j= Q2(a) since for the interpretation J
with U1J = f(a; 1)g and U2J = f(a; 2)g we have J 6j= q2(a). However, there does
not exist a model I of T and A such that I 6j= qi(a) for both i = 1 and i = 2.
The reason that universal models do not exist is that distinct interpretations
of attributes can be required to refute the entailment of CQs. The notion of
pre-interpretation formalizes this intuition: it xes the interpretation of concept
and roles names but leaves the interpretation of attributes open by adding
placeholders for data values (called data nulls) to the set of possible values
of attributes. A pre-interpretation J over D is the same as an interpretation
over D with the exception that attribute names U are now interpreted as sets
U J iJnd (dom(D) [ nJull), where nJull is a set of data nulls disjoint from
iJnd [ dom(D). The de nitions of the interpretations CJ of a concept C and SJ
of a role S are extended from interpretations to pre-interpretations in the obvious
way. A pre-model of a KB is a pre-interpretation that satis es all assertions and
inclusions in the KB.</p>
      <p>Pre-interpretations J can be completed to interpretations by assigning data
values to data nulls. A completion function f for J is a mapping f : nJull !
dom(D). The completion f (J ) of J by f is the interpretation I obtained from
J by setting AI = AJ for all concept names A, P I = P J for all role names P ,
and U I = (U J \ ( iJnd dom(D))) [ f(d; f (v)) j (d; v) 2 U J ; v 2 nJullg for all
attribute names U . An interpretation I is called a completion of J if there exists
a completion function f for J such that f (J ) = I.</p>
      <p>
        Using a straightforward modi cation of the standard chase procedure for
Horn-DLs (see, e.g., [
        <xref ref-type="bibr" rid="ref9">9</xref>
        ]) one can construct a pre-model can(T ; A) of any satis able
D-KB (T ; A) such that for any CQ q over D and any c:
      </p>
      <p>f (can(T ; A)) j= q(c) for all completion functions f .</p>
      <p>We call can(T ; A) with this property a universal pre-model of T and A.
Lemma 1. For every satisfable D-KB (T ; A) there exists a universal pre-model
can(T ; A).</p>
      <p>Example 2. A universal pre-model can(T ; A) for the KB (T ; A) given in
Example 1 is given by setting can(T ;A) = fa; u1; u2g; Acan(T ;A) = fag; U1can(T ;A) =
f(a; u1)g; and U can(T ;A) = f(a; u2)g.</p>
      <p>2</p>
      <p>A completion function f for can(T ; A) maps u1 and u2 to rational numbers
and de nes a completion f (can(T ; A)) in which U1 is interpreted as (a; f (u1))
and U2 is interpreted as (a; f (u2)).
The universal pre-model can(T ; A) can be in nite. If we are given a rooted OMQ
Q = (T ; q; D), then it is su cient to consider the subinterpretation cann(T ; A) of
can(T ; A) induced by the set of domain elements that are reachable from ABox
elements in at most n = jqj steps. We call cann(T ; A) a n-universal pre-model of
T and A. As Q is rooted, it has the following property for any c:</p>
      <p>f (cann(T ; A)) j= q(c) for all completion functions f .</p>
      <p>
        A straightforward modi cation of the standard chase shows that an n-universal
pre-model cann(T ; A) can be computed in polynomial time in the size of A [
        <xref ref-type="bibr" rid="ref9">9</xref>
        ].
Lemma 2. Assume OMQ Q = (T ; q; D) is given. Then one can compute for
any ABox A that is satis able relative to T a jqj-universal pre-model of T and
A in polynomial time in the size of A.
      </p>
      <p>A positive existential sentence over a datatype D is a rst-order sentence
built from atomic formulas over the relations in D by using solely conjunction,
disjunction and existential quanti ers. Atomic formulas can use both individual
variables and constants from D. is in Conjunctive Normal Form (CNF) if it
has the form</p>
      <p>m
= 9x ^ ci;
i=1
where ci =
ni
_ ci;j for i = 1; : : : m
j=1
where ci;j are atomic formulas. If ni = k, for each i, then we say that is in
k-CNF. The problem of deciding whether a positive existential sentence in k-CNF
is satis ed in D is denoted PEk(D). We now show that we have a polynomial
time reduction from evaluating OMQs over D to the complement of the problem
PEk(D) and vice versa.</p>
      <p>Theorem 1. Let k &gt; 0 and let D = (D; R1; : : : ; Rn) be a datatype.</p>
      <p>Let Q = (T ; q; D) be a rooted OMQ and assume that dtype(q) has k atoms.
Then evaluating Q is polynomially reducible to the complement of PEk(D).</p>
      <p>Conversely, there is a rooted OMQ Q = (T ; q; D) such that dtype(q) has nk
atoms and PEk(D) is polynomially reducible to the complement of evaluating Q.
Proof. Assume q is given as q(x) '. Let A be an ABox satis able relative to
T and let c be a tuple of individual names and data values in A of the same
length as x. Remove from ' the datatype pattern of q and denote by the
remaining atoms in '. A match of in a pre-interpretation I is a mapping
from the variables in to I such that for each atom X(t1; : : : ; tk) in we have
( (t1); : : : ; (tk)) 2 XI . Consider the set X of all matches of with (x) = c
in cann(T ; A), where n = jqj. Now assume that dtype(q) = Vik=1 Si(zi) and let
:= 9u ^
k
_ Si( (zi));
2X i=1
where u is a repetition-free enumeration of all data nulls in the set f (zi) j 2 X;
1 i kg (here we identify data nulls with individual variables in the k-CNF
). It is readily checked that T ; A j= q(c) if, and only if, D 6j= . This establishes
the rst part.</p>
      <p>Conversely, assume = 9x Vim=1 ci, where ci = Wjk=1 ci;j for 1 i m. We
rst assume that is uniform, that is, for each 1 j k there exists a relation
Sj (independent from i) such that ci;j is of the form Sj (ti;j ). In this case we
can construct the required OMQ (T ; q; D) with jdtype(q)j = k. The TBox T is
independent from k and de ned as T = fA v 9U g. Assume that the relations Sj
are of arity lj and ci;j = Sj (ti;j ) for all 1 i m. Before de ning the CQ q we
de ne an ABox A as follows:
{
{ A uses individuals c and c1; : : : ; cm that are connected by a role name P
using the assertions P (c ; ci) for 1 i m;
{ in addition A uses individuals ci;j which are connected to the individuals ci
by role names P1; : : : ; Pk using the assertions Pj (ci; ci;j ) for 1 i m and
1 j k;
{ in addition A uses individuals dt for each variable and constant t in that
are connected to the ci;j using role names N1j ; : : : ; Nljj for 1 j k and the
assertions Nrj (ci;j ; dt) if the r-th component of ti;j equals t;</p>
      <p>nally A contains A(dt) if t is a variable in and U (dt; t) if t is a constant
in .</p>
      <p>De ne the query q(x)</p>
      <p>, by setting
k
= P (x; y)^ ^</p>
      <p>lj</p>
      <p>Pj (y; yj )^ ^
j=1</p>
      <p>r=1
It is not di cult to show that D j=</p>
      <p>if, and only if, T ; A 6j= q(c ). For
0 = 9x19x2 (R1(1; x1) _ R2(x2; x1)) ^ (R1(x1; x2) _ R2(x2; 2))
the ABox A
and query q are shown in Figure 1.</p>
      <p>Nrj (yj ; zj;r)^U (zj;r; uj;r) ^Sj (uj;1; : : : ; uj;lj )
c11
d1
1</p>
      <p>c1
P1</p>
      <p>P2
N11</p>
      <p>N21
U</p>
      <p>A dx1</p>
      <p>P
N22
c12
N11
c</p>
      <p>P</p>
      <p>N21
c21
N12</p>
      <p>P1</p>
      <p>P2
c2</p>
      <p>N12
dx2</p>
      <p>c22
N22
U
d2
2
z11
u11
y1
N11</p>
      <p>P
P1 y</p>
      <p>N21
z12
u12
R1
x</p>
      <p>N12
z21
P2 y2</p>
      <p>N22
u21</p>
      <p>R2
z22
u22</p>
      <p>It remains to consider the case in which is not uniform. We may assume that
Ri 6= ; for all 1 i n. We equivalently transform into a uniform sentence
in nk-CNF over D. To this end, each conjunct ci of
into a conjunct c0i of the form
is equivalently transformed
We construct R1(ti1;j ) for a xed i and 1 j k. The remaining atoms are
constructed in the same way. ci contains between 0 and k disjuncts of the form
R1(t). Thus, if ci contains at least one disjunct of this form we take su ciently
many copies to obtain R1(ti1;1)_: : : ; _R1(ti1;k) that is equivalent to the disjunction
over all atoms of the form R1(t) in ci. If ci does not contain any R1(t), then
take c with c 2 R1 and let ti1;1 = = ti1;k = c. Then R1(ti1;1) _ : : : _ R1(ti1;k) is
unsatis able, as required.</p>
      <p>We illustrate Theorem 1 by transfering some complexity results from temporal
CSP over (Q; &lt;) to OMQs. Recall that we are after a complexity classi cation.
The following result shows that answering OMQs with datatype (Q; ) can be
intractable already for datatype patterns of size two.</p>
      <p>Corollary 1. There is a rooted OMQ Q = (T ; q; (Q; )) with T = fA v 9U g
and jdtype(q)j = 2 such that evaluating Q is coNP-hard.</p>
      <p>
        Proof. The BETWEENNESS problem in temporal constraints satisfaction is the
problem to decide whether := 9u V(x;y;z)2C (x &lt; y &lt; z _ z &lt; y &lt; x) is
satis able in (Q; &lt;), where C is a set of triples of the form (x; y; z). This problem
is NP-complete [
        <xref ref-type="bibr" rid="ref18">18</xref>
        ]. Clearly, is equivalent to the 2-CNF
      </p>
      <p>(x &lt; y _ z &lt; y) ^ (x &lt; y _ y &lt; x) ^ (y &lt; z _ z &lt; y) ^ (y &lt; z _ y &lt; x):
9u</p>
      <p>^
(x;y;z)2C
The claim now follows from Theorem 1.</p>
      <p>This is optimal as shown by the following result.</p>
      <p>Corollary 2. Let D 2 f(Z; &lt;); (Z; ); (Q; &lt;); (Q; )g. Then evaluating rooted
OMQs Q = (T ; q; D) with jdtype(q)j = 1 is in PTime.</p>
      <p>Proof. Follows from Theorem 1 and the observation that satis ability of sentences
in 1-CNF in D is decidable in PTime. tu
4</p>
    </sec>
    <sec id="sec-4">
      <title>A Dichotomy for (Q;</title>
      <p>
        )
In this section, we focus on rooted OMQs that use the datatype (Q; ). We prove
a P/coNP-dichotomy of evaluating such OMQs based on their datatype pattern,
and provide a simple syntactic characterization of the datatype patterns of rooted
OMQs with datatype (Q; ) for which the evaluation problem can be solved
in polynomial time (Theorem 4). These results are based on a recent dichtomy
result by Bodirsky and Kara [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ] for temporal constraint satisfaction problems.
tu
tu
      </p>
      <p>
        We start by reviewing the temporal constraint satisfaction framework of [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ]. A
temporal constraint language is a logical structure = (Q; R1; R2; : : : ), where each
Ri of arity k is de nable by a rst-order formula (x1; : : : ; xk) over (Q; &lt;), i.e.,
Ri = f(a1; : : : ; ak) 2 Qk j (Q; &lt;) j= (a1; : : : ; ak)g: A primitive positive sentence
over is a rst-order sentence over built from atomic formulas using conjunction
and existential quanti cation. It is crucial for the results in [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ] that both
rstorder de nitions of relations in and primitive positive sentences over do not
contain constants. The problem of deciding whether a primitive positive sentence
over is satis ed in is denoted by CSP( ).
      </p>
      <p>
        Bodirsky and Kara [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ] proved that for every temporal constraint language
, CSP( ) is either in PTime or NP-complete. They characterize the temporal
languages for which CSP( ) is tractable in terms of preservation properties of
the relations in . A function f : Qk ! Q preserves a relation R Qn if for all
t1; : : : ; tk 2 R we have f (t1; : : : ; tk) 2 R. Here, f (t1; : : : ; tk) is obtained as follows.
Given a tuple t of length n and an integer i 2 f1; : : : ; ng, let t[i] denote the ith
component of t. Then, f (t1; : : : ; tk) = f (t1[
        <xref ref-type="bibr" rid="ref1">1</xref>
        ]; : : : ; tk[
        <xref ref-type="bibr" rid="ref1">1</xref>
        ]); : : : ; f (t1[n]; : : : ; tk[n]) :
We say that f preserves a temporal constraint language if f preserves all
relations in . The following functions are considered in [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ]:
{ min : Q2 ! Q which maps its two arguments to the minimal one;
{ mi : Q2 ! Q which maps (x; y) 2 Q2 to (x) if x = y, to (y) if x &gt; y, and to
(x) if x &lt; y, where ; ; are any functions with (x) &lt; (x) &lt; (x) &lt; (y)
for all x &lt; y;
{ mx : Q2 ! Q which maps (x; y) 2 Q2 to (x) if x = y, and to (minfx; yg)
if x 6= y, where ; are any functions with (x) &lt; (x) &lt; (y) for all x &lt; y;
{ ll : Q2 ! Q which is any function that satis es ll (x; y) &lt; ll (x0; y0) i x 0
and (x; y) is lexicographically smaller than (x0; y0), or x; x0 &gt; 0 and (y; x) is
lexicographically smaller than (y0; x0);
{ The dual of f 2 fmin; mi ; mx ; ll g, which maps (x; y) 2 Q2 to f ( x; y).
Theorem 2 ([
        <xref ref-type="bibr" rid="ref7">7</xref>
        ]). Let be a temporal constraint language. If is preserved
under min, mi , mx , ll , one of their duals, or a constant function, then CSP( )
is in PTime. Otherwise, CSP( ) is NP-complete.
      </p>
      <p>We now translate the evaluation problem for rooted OMQs over (Q; ) into
the temporal constraint satisfaction framework. With every datatype pattern
q0(z1; : : : ; zn) = Vik=1 zsi zti we associate the temporal constraint language
q0 := (Q; &lt;; Rq0 ) where Rq0 := f(c1; : : : ; cn) 2 Qn j (Q; &lt;) j= Wik=1 cti &lt; csi g:
Theorem 3. Let q0(z1; : : : ; zn) = Vik=1 zsi zti be a datatype pattern.</p>
      <p>If Q = (T ; q; (Q; )) is a rooted OMQ with dtype(q) = q0, then evaluating Q
is polynomially reducible to the complement of CSP( q0 ).</p>
      <p>Conversely, there is a rooted OMQ Q = (T ; q; (Q; )) with dtype(q) = q0 such
that CSP( q0 ) is polynomially reducible to the complement of evaluating Q.
Proof (Sketch). We re ne the proof of Theorem 1. For the rst part, we construct
the positive existential sentence as in the proof of Theorem 1, and then express
each disjunctive clause by a single Rq0 -atom. The result is a primitive positive
sentence 0 over q0 . Note that q0 may still contain constants. To obtain a
primitive positive sentence without constants, we turn each constant in 0
into an existentially quanti ed variable and add constraints that ensure that
the order of the elements assigned to these variables corresponds to the order
of the constants. More precisely, let c1 &lt; &lt; cl be the constants in 0. Then,
= 9c1 9cl 0 ^ Vli=11 ci &lt; ci+1 : It can be shown that q0 j= i q0 j= 0.</p>
      <p>For the second part, we rst translate a given primitive positive sentence
over q0 into a positive existential sentence over (Q; &gt;). Atoms using the relation
Rq0 are replaced by disjunctive formulas expressing the predicate de ning the
relation Rq0 . Atoms using &lt; are expanded into disjunctions with k atoms. The
resulting sentence is in k-CNF. The second part of the theorem now follows from
the construction in the proof of Theorem 1.
tu</p>
      <p>Since &lt; is preserved under min, mi , mx , ll and their duals, but not under
any constant function, Theorem 2 implies that CSP( q0 ) is in PTime i Rq0 is
preserved under min, mi , mx , ll or one of their duals. Together with Theorem 3,
we obtain the following corollary.</p>
      <p>Corollary 3. Let q0 be a datatype pattern. If Rq0 is preserved under min, mi ,
mx , ll , or one of their duals, then evaluating rooted OMQs (T ; q; (Q; )) with
dtype(q) = q0 is in PTime. Otherwise, there is a rooted OMQ Q = (T ; q; (Q; ))
with dtype(q) = q0 such that evaluating Q is coNP-complete.</p>
      <p>To illustrate, consider the datatype pattern q0(x; y; z) = x y ^ y z. It
is straightforward to verify that Rq0 = f(a; b; c) 2 Q3 j a &gt; b _ b &gt; cg is not
preserved under min, mi , mx , ll or their duals, so there are OMQs (T ; q; (Q; ))
with dtype(q) = q0 for which the evaluation problem is coNP-complete. On the
other hand, if q0 has the form Vin=1 x0 xi or Vin=1 xi x0, then it follows
from [8, Proposition 3.5] that Rq0 is preserved under ll or its dual. In particular,
evaluation of OMQs (T ; q; (Q; )) with dtype(q) = q0 is in PTime. In fact, we will
now show that these two forms of datatype patterns, which we call min-pattern
and max-pattern, respectively, essentially characterize all the tractable cases.</p>
      <p>The following lemma is the core of the characterization result. It implies that
preservation under min, mi , mx or their duals collapses to preservation under ll
or its dual for relations that are de nable by normal disjunctive formulas. By
a disjunctive formula we mean a disjunction of atoms of the form x &lt; y. A
disjunctive formula (x1; : : : ; xn) is normal if the directed graph with vertex set
fx1; : : : ; xng and edge set f(xj; xi) j xi &lt; xj 2 g is acyclic.</p>
      <p>Lemma 3. Let R Qn be de ned by a normal disjunctive formula (x1; : : : ; xn)
over (Q; &lt;). If R is preserved under min, mi , mx , ll , or one of their duals, then
has the form Win=1 x0 &gt; xi or Win=1 xi &gt; x0.</p>
      <p>In particular, [8, Proposition 3.5] implies that a relation de ned by a formula of
the form Wn i=1 xi &gt; x0 is preserved under ll or its dual.</p>
      <p>i=1 x0 &gt; xi or Vn</p>
      <p>We apply the lemma to relations Rq0 for acyclic datatype patterns q0. A
datatype pattern q0 is acyclic if the directed graph with the variables of q0 as
vertices and an edge (x; y) for each atom x y of q0 is acyclic. Since a cycle
x0 x1 ^ x1 x2 ^ ^ xn x0 tells us that x0; x1; : : : ; xn have to be mapped to
the same data value, we can eliminate any cycle by removing all of its atoms, and
replacing x1; : : : ; xn by x0. Let q0acyclic be the acyclic datatype pattern obtained
from a datatype pattern q0 by eliminating all of its cycles.</p>
      <p>Theorem 4. Let q0 be a datatype pattern over (Q; ). If q0acyclic is a min-pattern
or a max-pattern, then evaluating rooted OMQs (T ; q; (Q; )) with dtype(q) = q0 is
in PTime. Otherwise, there is a rooted OMQ Q = (T ; q; (Q; )) with dtype(q) = q0
such that evaluating Q is coNP-complete.</p>
      <p>Proof. To simplify the presentation, we assume without loss of generality that
q0 is acyclic. By Corollary 3, it su ces to show that q0 is a min-pattern or a
max-pattern i Rq0 is preserved under min, mi , mx , ll , or one of their duals.</p>
      <p>If q0 is a min-pattern, then Rq0 is de ned by a formula of the form Wn
i=1 x0 &gt;
xi. Similarly, if q0 is a max-pattern, then Rq0 is de ned by a formula of the form
Wn</p>
      <p>i=1 xi &gt; x0. It is known [8, Proposition 3.5] that relations de ned by such
formulas are preserved under ll and dual-ll , respectively.</p>
      <p>Now suppose that Rq0 is preserved under min, mi , mx , ll , or one of their
duals. Let q0(z1; : : : ; zn) = Vik=1 zsi</p>
      <p>zti . Then, Rq0 is de ned by (z1; : : : ; zn) =
Wik=1 zti &lt; zsi . Clearly, is disjunctive, and since q0 is acyclic it is also normal.
Thus, Lemma 3 implies that has the form Win=1 x0 &gt; xi or Win=1 xi &gt; x0. This
implies that q0 is a min-pattern or a max-pattern.</p>
      <p>Note that the fact that qacyclic is neither a min-pattern nor a max-pattern
0
does not imply that evaluation is hard for all OMQs Q = (T ; q; (Q; )) with
dtype(q) = q0. For example, q0acyclic may have several connected components, each
a min-pattern or a max-pattern. If no component is connected to another one via
a path of existential variables in q one can show that evaluating Q is in PTime.
tu
5</p>
    </sec>
    <sec id="sec-5">
      <title>Conclusion</title>
      <p>
        We have presented rst promising results for a non-uniform complexity analysis
of ontology-mediated queries with expressive datatypes. Many research questions
arise within this framework, including the following: (1) It remains an interesting
open problem whether our results generalize to non-rooted OMQs. Such OMQs
can \look" arbitrarily deep into a universal pre-model. We suspect that a nite
portion of a universal pre-model su ces, but this is far from obvious. (2) The
TBoxes we consider have very limited expressive power regarding datatypes
and it would be of interest to generalize our method to TBoxes that admit
more constructors using datatypes. (3) In this paper, we have used datatype
patterns within CQs to classify the complexity of OMQs. It would be of interest
to complement and extend this approach with classi cations based on TBoxes,
OMQs, or extended patterns in CQs that take into account additional atoms
not using datatype relations. (4) In addition to the PTime/coNP dichotomy
considered above, it would be of interest to investigate FO-rewritability and
Datalog-rewritability of OMQs as well [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ].
      </p>
    </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. Artif. Intell. Res. (JAIR) 36</source>
          ,
          <issue>1</issue>
          {
          <fpage>69</fpage>
          (
          <year>2009</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          2.
          <string-name>
            <surname>Artale</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Ryzhikov</surname>
            ,
            <given-names>V.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Kontchakov</surname>
            ,
            <given-names>R.</given-names>
          </string-name>
          :
          <article-title>DL-Lite with attributes and datatypes</article-title>
          .
          <source>In: ECAI</source>
          . pp.
          <volume>61</volume>
          {
          <issue>66</issue>
          (
          <year>2012</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>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: IJCAI-05</source>
          . pp.
          <volume>364</volume>
          {
          <issue>369</issue>
          (
          <year>2005</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          4.
          <string-name>
            <surname>Baader</surname>
            ,
            <given-names>F.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Hanschke</surname>
            ,
            <given-names>P.:</given-names>
          </string-name>
          <article-title>A scheme for integrating concrete domains into concept languages</article-title>
          .
          <source>In: IJCAI 1991</source>
          . pp.
          <volume>452</volume>
          {
          <fpage>457</fpage>
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          5.
          <string-name>
            <surname>Bienvenu</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>ten Cate</surname>
            ,
            <given-names>B.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Lutz</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Wolter</surname>
            ,
            <given-names>F.</given-names>
          </string-name>
          :
          <article-title>Ontology-based 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="ref6">
        <mixed-citation>
          6.
          <string-name>
            <surname>Bienvenu</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Ortiz</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          :
          <article-title>Ontology-mediated query answering with data-tractable description logics</article-title>
          .
          <source>In: Reasoning Web</source>
          <year>2015</year>
          . pp.
          <volume>218</volume>
          {
          <fpage>307</fpage>
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          7.
          <string-name>
            <surname>Bodirsky</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Kara</surname>
            ,
            <given-names>J.:</given-names>
          </string-name>
          <article-title>The complexity of temporal constraint satisfaction problems</article-title>
          .
          <source>J. ACM</source>
          <volume>57</volume>
          (
          <issue>2</issue>
          ) (
          <year>2010</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          8.
          <string-name>
            <surname>Bodirsky</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Kara</surname>
            ,
            <given-names>J.:</given-names>
          </string-name>
          <article-title>A fast algorithm and datalog inexpressibility for temporal reasoning</article-title>
          .
          <source>ACM Trans. Comput. Log</source>
          .
          <volume>11</volume>
          (
          <issue>3</issue>
          ) (
          <year>2010</year>
          ), http://doi.acm.
          <source>org/10</source>
          .1145/ 1740582.1740583
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          9.
          <string-name>
            <surname>Botoeva</surname>
            ,
            <given-names>E.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Kontchakov</surname>
            ,
            <given-names>R.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Ryzhikov</surname>
            ,
            <given-names>V.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Wolter</surname>
            ,
            <given-names>F.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Zakharyaschev</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          :
          <article-title>Query inseparability for description logic knowledge bases</article-title>
          .
          <source>In: KR 2014</source>
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          10.
          <string-name>
            <surname>Bulatov</surname>
            ,
            <given-names>A.A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Jeavons</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Krokhin</surname>
            ,
            <given-names>A.A.</given-names>
          </string-name>
          :
          <article-title>Classifying the complexity of constraints using nite algebras</article-title>
          .
          <source>SIAM J. Comput</source>
          .
          <volume>34</volume>
          (
          <issue>3</issue>
          ),
          <volume>720</volume>
          {
          <fpage>742</fpage>
          (
          <year>2005</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          11.
          <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. Autom. 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>
            <surname>Feder</surname>
            ,
            <given-names>T.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Vardi</surname>
          </string-name>
          , M.Y.:
          <article-title>Monotone monadic SNP and constraint satisfaction</article-title>
          .
          <source>In: Proc. of the ACM Symposium on Theory of Computing</source>
          . pp.
          <volume>612</volume>
          {
          <issue>622</issue>
          (
          <year>1993</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref13">
        <mixed-citation>
          13.
          <string-name>
            <surname>Hernich</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Lutz</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Ozaki</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Wolter</surname>
            ,
            <given-names>F.</given-names>
          </string-name>
          :
          <article-title>Schema.org as a description logic</article-title>
          .
          <source>In: IJCAI 2015</source>
          . pp.
          <volume>3048</volume>
          {
          <fpage>3054</fpage>
        </mixed-citation>
      </ref>
      <ref id="ref14">
        <mixed-citation>
          14.
          <string-name>
            <surname>Hustadt</surname>
            ,
            <given-names>U.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Motik</surname>
            ,
            <given-names>B.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Sattler</surname>
            ,
            <given-names>U.</given-names>
          </string-name>
          :
          <article-title>Data complexity of reasoning in very expressive description logics</article-title>
          .
          <source>In: IJCAI 2005</source>
          . pp.
          <volume>466</volume>
          {
          <fpage>471</fpage>
        </mixed-citation>
      </ref>
      <ref id="ref15">
        <mixed-citation>
          15.
          <string-name>
            <surname>Lutz</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          :
          <article-title>Description logics with concrete domains-a survey</article-title>
          .
          <source>In: Advances in Modal Logic 4</source>
          . pp.
          <volume>265</volume>
          {
          <issue>296</issue>
          (
          <year>2002</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref16">
        <mixed-citation>
          16.
          <string-name>
            <surname>Lutz</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Wolter</surname>
            ,
            <given-names>F.</given-names>
          </string-name>
          :
          <article-title>Non-uniform data complexity of query answering in description logics</article-title>
          .
          <source>In: KR 2012</source>
        </mixed-citation>
      </ref>
      <ref id="ref17">
        <mixed-citation>
          17.
          <string-name>
            <surname>Magka</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Kazakov</surname>
            ,
            <given-names>Y.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Horrocks</surname>
            ,
            <given-names>I.</given-names>
          </string-name>
          :
          <article-title>Tractable extensions of the description logic EL with numerical datatypes</article-title>
          .
          <source>J. Autom. Reasoning</source>
          <volume>47</volume>
          (
          <issue>4</issue>
          ),
          <volume>427</volume>
          {
          <fpage>450</fpage>
          (
          <year>2011</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref18">
        <mixed-citation>
          18.
          <string-name>
            <surname>Opatrny</surname>
          </string-name>
          , J.:
          <article-title>Total ordering problem</article-title>
          .
          <source>SIAM J. Comput</source>
          .
          <volume>8</volume>
          (
          <issue>1</issue>
          ),
          <volume>111</volume>
          {
          <fpage>114</fpage>
          (
          <year>1979</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref19">
        <mixed-citation>
          19.
          <string-name>
            <surname>Poggi</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Lembo</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          ,
          <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>
          ,
          <string-name>
            <surname>Rosati</surname>
          </string-name>
          , R.:
          <article-title>Linking data to ontologies</article-title>
          .
          <source>J. Data Semantics</source>
          <volume>10</volume>
          ,
          <issue>133</issue>
          {
          <fpage>173</fpage>
          (
          <year>2008</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref20">
        <mixed-citation>
          20.
          <string-name>
            <surname>Savkovic</surname>
            ,
            <given-names>O.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Calvanese</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          :
          <article-title>Introducing datatypes in DL-Lite</article-title>
          .
          <source>In: ECAI 2012</source>
          . pp.
          <volume>720</volume>
          {
          <fpage>725</fpage>
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>