<!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>Identity Resolution in Conjunctive Querying over DL-based Knowledge Bases</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>
          <email>gweddellg@uwaterloo.ca</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Cheriton School of Computer Science, University of Waterloo</institution>
          ,
          <country country="CA">Canada</country>
        </aff>
      </contrib-group>
      <abstract>
        <p>Earlier work has proposed a notion of referring expressions and types in rst order knowledge bases as a way of more e ectively answering conjunctive queries in ontology based data access (OBDA). We consider how PTIME description logics can be combined with referring expressions to provide a more e ective virtual front-end to relational data sources via OBDA. In particular, we consider replacing the standard notion of an assertion box, or ABox, with a more general notion of a concept box, or CBox.</p>
      </abstract>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>Introduction</title>
      <p>
        In a query answer (a1; : : : ; an) over a rst order knowledge base K, the common
assumption is that each ai will correspond to some constant symbol occurring
in K. A more general option has been proposed in [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ] in which each ai can
now be a referring expression, in particular, a well-formed formulae that is
free in one variable and that satis es a number of additional conditions for any
interpretation I of K. First, should not be vacuous: it should hold of at least
one individual in 4I . Second, should be singular : it should hold of at most
one individual in 4I . And third, the singularity property of should be ensured
by the ontological component of K.
      </p>
      <p>In this paper, we consider query answering in which the ontological
component of K consists of a TBox T expressed in terms of a DL, and in which the
remaining part of K consists of a CBox C instead of an ABox, where C consists
of a nite set of referring expressions in the form of concept descriptions in the
DL, and for which each is presumed non-empty and singular in all models of K.
8</p>
      <p>
        The DL we consider is partial CF DInc [
        <xref ref-type="bibr" rid="ref4 ref6">4, 6</xref>
        ], a dialect of the PTIME
feature-based CF D family designed for capturing relational data sources, and
our main focus is on query answering over a knowledge base K consisting of a
TBox and CBox pair (T ; C) expressed in terms of partial CF DI8nc . The main
technical di culty is on mapping C to a combination of an ABox A and a way
of distinguishing the constant symbols occurring in A that \stand in place"
of referring expressions in C. This must be done in a way that ensures o
-theshelf query answering over (T ; A) can be used to compute the certain answers to
queries over the original K = (T ; C) by a simple substitution of the distinguished
constants by their referring expressions.
      </p>
      <p>A core problem in deriving the ABox relates to identity issues when
introducing new constants. Of particular signi cance is that x-point computations
are necessary when such constants are introduced. Indeed, this can be necessary
when a TBox derives from relational data sources with tables that have
uniqueness constraints as well as primary keys, or for which primary keys themselves
are not minimal. In database parlance, one would say in this case that primary
keys are superkeys but not candidate keys. Such \key conversion" tables can
serve to map between alternative primary keys and thereby lead to additional
query answers.</p>
      <p>
        While several approaches to integrating information in settings in which the
same individual can be identi ed in several (even syntactically incomparable)
ways have been considered in the past [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ], we show how the integration can be
achieved naturally within partial CF DI8nc by reducing the problem to
existing ABox completion procedures for query answering over partial CF DI8nc . In
particular, using concepts and procedures developed in [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ] and [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ], we de ne a
natural way of capturing (perhaps multiple) external identities of objects.
Subsequently, we show how query answering can be achieved in such a setting via
an embedding into standard partial CF DI8nc reasoning and query answering
problems. We also present examples that show applications of this technique
both in the relational setting and in the setting of document databases such as
MongoDB.
      </p>
      <p>The remainder of the paper is organized as follows. We begin with the
necessary background material in Section 2 in which we introduce partial CF DI8nc
concepts, and \standard" knowledge bases consisting of a TBox of inclusion
dependencies over such concepts and an ABox of assertions. Our main results then
8
follow in Section 3 in which an ABox is replaced with a CBox of partial CF DInc
concepts called referring expressions. We then de ne a mapping of CBoxes to
ABoxes and show how each of the following can be resolved with the use of this
mapping: (1) diagnosing an admissibility condition for a CBox, (2) satis
ability of knowledge bases with a CBox, and (3) query answering over knowledge
bases with a CBox. The admissibility condition requires that the TBox ensures
each referring expression occurring in the CBox is singular in the sense outlined
above. Throughout, we introduce examples to illustrate why CBoxes are useful
and how identi cation issues become far more complicated as a consequence. We
conclude with summary comments in Section 4.
2</p>
    </sec>
    <sec id="sec-2">
      <title>Background</title>
      <p>8
The description logic partial CF DInc is a member of the CF D family of DLs
which are fragments of FOL with underlying signatures based on disjoint sets of
unary predicate symbols called primitive concepts, constant symbols called
individuals and unary function symbols called features. Note that features deviate
from the normal practice of admitting roles denoting binary predicate symbols.
However, features make it easier to incorporate concept constructors that are
better suited to the capture of relational data sources, particularly so when they
include dependencies such as primary keys, uniqueness constraints, functional
dependencies and foreign keys. This is achieved by a straightforward rei cation
of n-ary predicates and by using a concept constructor peculiar to the CF D
family called a path functional dependency. Consider the case of a role R. It can be
rei ed as a primitive concept RC , two features domR and ranR and an inclusion
dependency of the form</p>
      <p>RC v RC : domR; ranR ! id
in partial CF DI8nc . The latter e ectively ensures any combination of domR
and ranR values uniquely determine an R 2-tuple. Note that an ALC inclusion
dependency mentioning R of the form \A v 8R:B", can also be captured in
8
partial CF DInc as the inclusion dependency</p>
      <p>8domR:A v 8ranR:B:
8
Concepts in partial CF DInc are de ned as follows:</p>
      <sec id="sec-2-1">
        <title>De nition 1 (partial CF DI8nc Concepts)</title>
        <p>Let F and PC be sets of feature names and primitive concept names, respectively.
A partial path expression is de ned by the grammar \ Pf ::= f: Pf j id " for f 2 F.
We de ne derived concept descriptions by the grammar on the left-hand-side of
Fig. 1. A path functional dependency concept, or PFD, is obtained by using the
nal production of this grammar.</p>
        <p>An inclusion dependency C is an expression of the form C1 v C2. A terminology
(TBox) T consists of a nite set of inclusion dependencies. A posed question Q
is a single inclusion dependency.</p>
        <p>Syntax</p>
        <p>Semantics: Defn of \ I "
C ::= A
j C1 u C2
j :C
j 8 Pf :C
j 9Pf
j 9f 1:C
j fag
j C : Pf1; :::; Pfk ! Pf0</p>
        <p>AI 4 (primitive concept; A 2 PC)
C1I \ C2I (conjunction)
4 n CI (negation)
fx : PfI (x) 2 CI g (value restriction)
fx : PfI (x) existsg (existential restriction)
ff I (x) : x 2 CI g (inverse feature)
faI g (nominal)
(see text ) (PFD)</p>
        <p>The semantics of expressions is de ned with respect to a structure I = (4; I ),
where 4 is a domain of \objects" and I an interpretation function that xes the
interpretations of primitive concepts A to be subsets of 4 and primitive features
8
f to be partial functions f I : 4 ! 4. Note that partial CF DInc adopts the
strict interpretation of unde ned values, which means that arguments terms
must be de ned whenever equality and set membership do hold.
The interpretation is extended to partial path expressions, id I = x:x, (f: Pf)I =
PfI f I , in the natural way, and derived concept descriptions C not including
PFDs as de ned in the centre column of Fig. 1. For concept descriptions that
are PFDs, the interpretation is de ned as follows:1
(C : Pf1; : : : ; Pfk ! Pf0)I = fx j 8y:y 2 CI ^ x 2 (9Pf0)I ^ y 2 (9Pf0)I ^</p>
        <p>Vik=1(x 2 (9Pfi)I ^ y 2 (9Pfi)I ^ PfiI (x) = PfiI (y)) ! Pf0I (x) = Pf0I (y) g:
An interpretation I satis es an inclusion dependency C1 v C2 if C1I C2I and
is a model of T (I j= T ) if it satis es all inclusion dependencies in T . The logical
implication problem asks if T j= Q holds, that is, if Q is satis ed in all models
of T . 2
Observe that features are still functional, and that there is therefore no need
for a quali ed existential restriction of the form 9f:C, since such restrictions
can be equivalently written as 8f:C u 9f . Hence the use of quali ed existential
restrictions in the rest of the paper should be considered to be syntactic sugar.</p>
        <p>
          To ensure PTIME reasoning in partial CF DI8nc we require all subsumptions
in the TBox to adhere to the following restrictions (for more general TBoxes and
normalization see [
          <xref ref-type="bibr" rid="ref6">6</xref>
          ]): all subsumptions have to be of the form C v D, where
the structure of concepts C and D are given by the following grammars:
C ::= A j 8f:A
        </p>
        <p>
          D ::= A j ? j :A j 8f:A j 9f 1 j 9f j A : Pf1; : : : ; Pfk ! Pf
In addition, PFDs must adhere to one of the following two forms to avoid
undecidability [
          <xref ref-type="bibr" rid="ref5">5</xref>
          ]:
1: C : Pf1; : : : ; Pf : Pfi; : : : ; Pfk ! Pf or
2: C : Pf1; : : : ; Pf :g; : : : ; Pfk ! Pf :f
(1)
8
        </p>
      </sec>
      <sec id="sec-2-2">
        <title>De nition 2 (partial CF DInc ABox)</title>
        <p>8
The second component of a partial CF DInc knowledge base is an ABox A
that contains assertions of the form \A(a)", \a = b", \a 6= b", and \f (a) = b",
with the usual interpretation mapping constant symbols to domain elements,
and interpreting the assertions as set membership and an equality/inequality
between a constant and another constant or a function application to a constant,
respectively. 2
8</p>
      </sec>
      <sec id="sec-2-3">
        <title>Proposition 3 (partial CF DInc KB Satis ability[6])</title>
        <p>8
Satis ability of partial CF DInc knowledge bases is complete for PTIME.
1 This constitutes the minimum necessary conditions needed for recognizing when one
violates an inclusion dependency of the form \ C1 v C2 : Pf1; : : : ; Pfk ! Pf0 " :
Conjunctive queries are, as usual, formed from atomic queries (or atoms),
corresponding to concept descriptions, and equalities between variables and
application of function to variables, using conjunction and existential quanti cation. To
simplify notation, we con ate conjunctive queries with the set of its constituent
atoms and a set of answer variables :</p>
        <sec id="sec-2-3-1">
          <title>De nition 4 (Conjunctive Query)</title>
          <p>Let ' be a set of atoms (representing a conjunction) A(xi) and f (xi1 ) = xi2 ,
where A is a primitive concept description, f a feature (including id ), and x a
tuple of variables. We call the expression fx j 'g a conjunctive query (CQ). 2
A conjunctive query fx j 'g is therefore a notational variant of the formula
9y: V 2' in which y contains all variables appearing in ' but not in x. The
usual de nition of certain answers is given by the following:</p>
        </sec>
        <sec id="sec-2-3-2">
          <title>De nition 5 (Certain Answer)</title>
          <p>Let K be a partial CF DI8nc KB and Q = fx j 'g a CQ. A certain answer to Q
over K is a substitution of constant symbols a, [x 7! a], such that K j= Q[x 7! a].
2</p>
        </sec>
      </sec>
      <sec id="sec-2-4">
        <title>Proposition 6 (partial CF DI8nc Query Answering [4])</title>
        <p>8
Query answering over partial CF DInc knowledge bases is complete for PTIME
(data complexity).</p>
        <p>
          The query answering algorithm presented in [
          <xref ref-type="bibr" rid="ref4">4</xref>
          ] requires both ABox completion
and query reformulation. The former is needed to propagate concept
memberships along feature chains present in the data when implied by a TBox, and the
latter is needed to avoid the need for potentially exponentially many witnesses
of anonymous objects. Note that the ABox completion also deals with equalities
stipulated in the ABox and/or generated by PFD-based subsumptions in the
knowledge base TBox.
3
        </p>
      </sec>
    </sec>
    <sec id="sec-3">
      <title>Referring Expressions and CBoxes</title>
      <p>In this section we introduce referring expressions, concept descriptions that will
serve as external identi ers of objects in partial CF DI8nc knowledge bases.</p>
      <p>We will require that these concept descriptions behave the same way constant
symbols behave in the traditional setting: we expect their interpretations to be
singular in every model of a given knowledge base.</p>
      <sec id="sec-3-1">
        <title>De nition 7 (Referring Expressions and Singularity)</title>
        <p>8
Let C be a partial CF DInc concept description conforming to the grammar</p>
        <p>C ::= A j C1 u C2 j 9f:C j 9f 1:C j fag;
where a is a constant symbol, and T a TBox. We say that C is a (singular)
referring expression (w.r.t. T ) if jCI j 1 for all interpretations I that are
models of T . 2
We use referring expressions to de ne the counterpart of assertions in traditional
knowledge bases.</p>
      </sec>
      <sec id="sec-3-2">
        <title>Example 8</title>
        <p>Consider a situation in which objects are identi ed by their f value, such as an
employee number, within a class A. Two A objects can then be captured by the
following pair of concepts:</p>
        <p>A u 9f:f123g and A u 9f:f345g:
The singularity requirement, in this example, can be enforced by ensuring f
values can indeed serve as the key for A objects, e.g., by adding the inclusion
dependency</p>
        <p>A v A : f ! id
to the TBox. The two concepts now replace the usual ABox assertions of the
form A(c1) and A(c2), which need an invention of additional constant symbols
for the two abstract objects. Moreover, ABox assertions of the form g(c1) = c2
can also be captured by concepts, in our example:</p>
        <p>A u 9f:f123g u 9g:(A u 9f:f345g):
Note that such descriptions naturally arise when the assertion part of a
knowledge base is captured in various database back-ends, e.g., in relational databases
(via keys and foreign keys) or in document databases, such as MongoDB2, in
which the structure of the referring expressions correspond to JSON3.</p>
      </sec>
      <sec id="sec-3-3">
        <title>Example 9</title>
        <p>To illustrate the exibility of our approach based on CBoxes, consider the
following JSON fragment describing persons, hypothetically occurring in a MongoDB
document source:
{"fname" : "John", "lname" : "Smith", "age" : 25,
"phoneNum" : [
{"loc" : "home", "dialnum" : "212 555-1234"},
{"loc" : "work", "dialnum" : "212 555-4567"}
]}
In our setting, this document can be naturally and directly represented as a
CBox assertion of the form</p>
        <p>PERSON u (9fname:f\John"g) u (9lname:f\Smith"g) u 9age:f25g
u 9phoneNumFor 1:((9loc:f\home"g) u (9dialnum:f\212 555-1234"g))
u 9phoneNumFor 1:((9loc:f\work"g) u (9dialnum:f\212 555-4567"g))
One way in which this assertion satis es an admissibility condition, de ned
below, happens whenever the combination of an fname and an lname can serve to
identify a PERSON.
2 https://www.mongodb.com/.
3 https://www.json.org/.
Identities of documents (and sub-documents) are now captured using referring
expressions; this potentially allows for join operations on document databases
(not typically supported by such systems). Queries navigating JSON documents
8
can be now expressed as conjunctive queries over the partial CF DInc
representation.</p>
        <p>This development leads to a revision of the de nition of partial CF DI8nc
knowledge bases in which the traditional notion of an ABox is replaced by a
CBox: a set of concept descriptions that are referring expressions for individuals
the knowledge base knows about.</p>
      </sec>
      <sec id="sec-3-4">
        <title>De nition 10 (CBoxes, Knowledge Bases, and Query Answers)</title>
        <p>Let T be a partial CF DI8nc TBox and Q a conjunctive query with answer
8
variables x1; : : : ; xk. We de ne a CBox C to be a set of partial CF DInc concept
descriptions.</p>
        <p>8
A partial CF DInc knowledge base K is a pair (T ; C).</p>
        <p>We say that the CBox C is admissible for T if jCI j
models I of T .</p>
        <p>We say that K is consistent if there is an interpretation I such that
1 for all C 2 C and all
1. I j= T , and
2. jCI j = 1 for every C 2 C.</p>
        <p>We say that (C1; : : : ; Ck) is a certain answer to Q in K if</p>
        <p>K j= Q ^ C1(x1) ^ : : : ^ Ck(xk)
CBoxes inherently represent information about how objects in a knowledge base
are identi ed. Note there is no restriction on how such identi cation must be
captured. In particular, there are no uniformity conditions on identi cation of
objects that must hold, such as requiring each object to have a single global
identi er in all assertions in the knowledge base.</p>
        <p>
          However, CBoxes allow one to capture various resolutions of the heterogeneity
of identi cation, e.g., through translation tables or cross-links [
          <xref ref-type="bibr" rid="ref2">2</xref>
          ]. These can be
captured using TBox/CBox assertions as follows:
        </p>
      </sec>
      <sec id="sec-3-5">
        <title>Example 11</title>
        <p>Consider the TBox
f A v B; C v B;</p>
        <p>A v A : f ! id ; B v B : f; g ! id; C v C : g ! id
A v B : f ! id ; C v B : g ! id
g;
for fC1; : : : ; Ckg</p>
      </sec>
      <sec id="sec-3-6">
        <title>Identity Resolution</title>
        <p>2
and the CBox
f A u 9f:f3g;</p>
        <p>B u 9f:f3g u 9g:f5g;</p>
        <p>C u 9g:f5g g:
Note that the referring expression \A u 9f:f3g" identi es the same object as
\B u 9f:f3g u 9g:f5g", due to the second-last TBox subsumption, and in turn
as \C u 9g:f5g", due to the last TBox assertion. Thus, the object described by
\Au9f:f3g" should be a certain answer to a conjunctive query fx j A(x)^C(x)g.
The same happens for all pairs of referring expressions in the CBox subsumed
by A and C, respectively, for which there is a B cross-link.
3.2</p>
      </sec>
      <sec id="sec-3-7">
        <title>On Minimal Referring Expressions</title>
        <p>In relational databases the notion of candidate key, a key that has a minimal set
of attributes of a relation, is typically used as an external identi er of objects
stored in the database.</p>
        <p>Our development of a referring expression strictly generalizes the notion of
a superkey in the relational setting: sets of attributes, not necessarily minimal,
that identi es an object or entity. We now present a procedure that
(syntactically) minimizes a referring expression to obtain minimal co-referring referring
expressions that are counterparts to relational candidate keys.</p>
      </sec>
      <sec id="sec-3-8">
        <title>Theorem 12 (Minimal Referring Expressions)</title>
        <p>8
Let T be a partial CF DInc TBox and C a referring expression w.r.t. T . We say
that subconcepts of C of the form A, fag, 9f:&gt;, 9f 1:&gt;, and &gt; u &gt; are leaves
of C and write C[L 7! &gt;] for a description C in which a leaf L was replaced
by &gt;. Assuming \ rst-leaf" and \next-leaf" denote functions that successively
enumerate all leaves of C, the procedure
1. L := rst-leaf(C);
2. while C[L 7! &gt;] is singular w.r.t. T do
3. C := C[L 7! &gt;]; L := next-leaf(C);</p>
      </sec>
      <sec id="sec-3-9">
        <title>4. done</title>
      </sec>
      <sec id="sec-3-10">
        <title>5. return C;</title>
        <p>computes a syntactically-minimal co-referring expression for C. (Note that
replacing a leaf by &gt; may create additional leaves.)
Proof (sketch): Since the C[L 7! &gt;] operation weakens the concept
description C, it preserves satis ability. The algorithm tests for singularity at every
step. Hence the result is a minimal referring expression equivalent to C since no
additional leaves can be removed. 2
The algorithm nds a minimal referring expression in time linear in jCj.
Analogous to the relational setting, backtracking this algorithm facilitates the
discovery of alternative minimal referring expressions, and, also analogous to the
relational setting, there can be exponentially many of these.
3.3</p>
      </sec>
      <sec id="sec-3-11">
        <title>Reasoning with CBoxes</title>
        <p>Our technique crucially depends on mapping CBoxes to (standard) ABoxes as
follows. We begin by de ning how individual concepts corresponding to referring
expressions are transformed:</p>
        <p>ToAbox(a : C1 u C2) 7!</p>
        <p>ToAbox(a : 9f:C) 7!
ToAbox(a : 9f 1:C) 7!</p>
        <p>ToAbox(a : fbg) 7!</p>
        <p>ToAbox(a : A) 7!</p>
        <p>ToAbox(a : C1) [ ToAbox(a : C2)
ff (a) = bg [ ToAbox(b : C); b fresh
ff (b) = ag [ ToAbox(b : C); b fresh
fa = bg
fA(a)g; A primitive
The ToAbox function converts a CBox assertion C to a set of ABox assertions
by introducing constant names for all necessary individuals, in particular a
constant aC for the (witness of satis ability of) C itself. The mapping is then lifted
to CBoxes by applying it on all referring expressions in the CBox as follows:
ToAbox(C) =
[ ToAbox(aC : C) [ fai 6= aj j ai; aj individuals in C; i 6= jg</p>
        <p>C2C
Note that we make nominals distinct since they correspond to values from a
relational backend that typically assumes UNA. Also, one could reuse the textual
representation of the concepts to serve as the invented constant names.</p>
      </sec>
      <sec id="sec-3-12">
        <title>Theorem 13 (CBox Admissibility)</title>
        <p>Let T be a partial CF DI8nc TBox and C a concept description. Then C is a
singular referring expression w.r.t. T if and only if the knowledge base
(T [ fA v :Bg; ToAbox(a : C) [ ToAbox(b : C) [ fa : A; b : Bg)
is inconsistent, where A and B are primitive concepts not occurring in T and C
and a and b are distinct constant symbols.</p>
        <p>Proof (sketch): The ToAbox mapping expands complex concepts in a CBox
to sets of assertions in a corresponding ABox. By case analysis we can show that
a model of (T [ fA v :Bg; ToAbox(a : C) [ ToAbox(b : C) [ fa : A; b : Bg)
provides an counterexample to C's singularity (w.r.t. T ). Moreover, whenever
C is not singular, such a model can be constructed by appropriately naming
additional individuals in a counterexample to C's singularity. 2
It is easy to verify that the CBox in Example 11 is admissible w.r.t. the given
TBox since `f ', `f; g' and `g' are keys on A, B, and C, respectively.</p>
      </sec>
      <sec id="sec-3-13">
        <title>Theorem 14 (Satis ability of KBs with CBoxes)</title>
        <p>Let K = (T ; C) be a knowledge base with an admissible CBox C. Then K is
consistent if (T ; ToAbox(C)) is consistent.</p>
        <p>Proof (sketch): Similar to the argument in the proof sketch in Theorem 13. 2
3.4</p>
      </sec>
      <sec id="sec-3-14">
        <title>Query Answering over CBoxes</title>
        <p>We now show how query answering over CBox-based knowledge bases can be
reduced to the standard case of ABoxes. We also show an example of the utility
of CBoxes in capturing distinct co-references to a particular object, and how
partial CF DI8nc based TBoxes can account for such co-references.</p>
      </sec>
      <sec id="sec-3-15">
        <title>Theorem 15 (Query Answering)</title>
        <p>
          Let K = (T ; C) be a consistent knowledge base and Q = f(x1; : : : ; xk) : 'g a
conjunctive query over K. Then (C1; : : : ; Ck) is a certain answer to Q in K if
and only if (aC1 ; : : : ; aCk ) is a certain answer to Q over (T ; ToAbox(C)).
Proof (sketch): Since C1; : : : ; Ck are singular referring expressions, there must
be individuals o1; : : : ; ok witnessing nonemptiness of C1; : : : ; Ck, respectively,
that make the query true in every model of K; case analysis shows that, in the
corresponding models of (T ; ToAbox(C)), these individuals will be the
interpretations of the constant symbols (aC1 ; : : : ; aCk ) (and vice versa). 2
Note that ABox completion [
          <xref ref-type="bibr" rid="ref4 ref6">4, 6</xref>
          ] will make constant symbols belonging to
coreferring referring expressions equal automatically. This, in turn, realizes all
reasoning needed to capture the e ects of translation tables in a TBox/CBox:
        </p>
      </sec>
      <sec id="sec-3-16">
        <title>Example 16</title>
        <p>Reconsider the TBox and CBox in Example 11. The ABox constructed from the
CBox is as follows:
f A(aAu9f:f3g); f (aAu9f:f3g) = 3;</p>
        <p>
          B(aBu9f:f3gu9g:f5g); f (aAu9f:f3gu9g:f5g) = 3; g(aAu9f:f3gu9g:f5g) = 5;
C(aCu9g:f5g); f (aCu9g:f5g) = 5;
g
Note that the referring expressions A u 9f:f3g and C u 9g:f5g, despite being
syntactically distinct, co-refer to the same object in the knowledge base due to
the existence of the B referring expression and the TBox subsumptions. The
standard ABox completion [
          <xref ref-type="bibr" rid="ref4 ref6">4, 6</xref>
          ] then generates the equality
        </p>
        <p>faAu9f:f3g = aCu9g:f5gg
using the last two constraints in the TBox and the fact that both A and C are
subsumed by B, that serves as a translation concept generated from a translation
table. This yields the referring expression A u 9f:f3g to be a certain answer to
the query.</p>
        <p>On Query Answers. The de nition of certain answers asks for all tuples of
constants|in our setting proxied by referring expressions|for which the query
is entailed by the knowledge base. Thus the selection of referring expressions in
the CBox determines components of query answers presented to the user. There
are two considerations:
1. Additional answers may be needed; these can be obtained by considering
additional referring expressions describing, e.g., sub-documents, to the CBox
(as long as the CBox remains admissible);
2. Simpler answers may be desired, i.e., simpler referring expressions denoting
the answers; these can be obtained by appropriate selection of minimal
referring expressions (and removing all the more complex referring expressions
from answers).</p>
        <p>Both of these goals can be achieved by a simple housekeeping that determines
which referring expressions are eligible to appear in query answers. This step can
be easily combined with the CBox-to-ABox mapping by appropriately marking
the generated constant symbols. Indeed, similar marking is commonly used, e.g.,
when ABoxes are normalized in most OBDA settings.
4</p>
      </sec>
    </sec>
    <sec id="sec-4">
      <title>Summary</title>
      <p>We have considered how referring expressions corresponding to concepts in a
description logic can serve the role of constant symbols in both assertion boxes
and in query answering, and how doing so leads to a more e ective and direct
way of achieving an integration of backend data sources via OBDA, as well as
more descriptive and meaningful answers to queries.</p>
      <p>Admitting referring expressions leads naturally to a notion of a concept box
or CBox in place of an ABox in a knowledge base. This in turn raises a number
of technical issues: how to ensure referring expressions in a CBox refer to a single
individual, how to check for knowledge base consistency, and how to evaluate
conjunctive queries over the knowledge base. We have shown how all these issues
can be resolved by a mapping of CBoxes to ABoxes. The mapping enables o
-theshelf procedures for ABox completion, for consistency checking, and for ABox
completion and query rewriting over standard knowledge bases consisting of a
TBox and ABox.</p>
      <p>
        In [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ], the notion of a referring expression type was also introduced. For
future work, we plan to explore how such a typing discipline can be used to push
parts of the mapping of CBoxes to ABoxes to backend database sources along
the lines outline in [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ]. Our new ability of detecting co-reference to objects by
referring expressions can also lead to an ability to detect duplicate answers in
query results. Future work along this line can enable additional capabilities in
query formulation and answering, such as an ability for \limit k" operators in
queries.
      </p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          1.
          <string-name>
            <surname>Borgida</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Toman</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Weddell</surname>
          </string-name>
          , G.:
          <article-title>On referring expressions in query answering over rst order knowledge bases</article-title>
          .
          <source>In: Proc. of KR'16</source>
          . pp.
          <volume>319</volume>
          {
          <issue>328</issue>
          (
          <year>2016</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          2.
          <string-name>
            <surname>Calvanese</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Giese</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Hovland</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Rezk</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          :
          <article-title>Ontology-based integration of cross-linked datasets</article-title>
          .
          <source>In: The Semantic Web - ISWC 2015 - 14th International Semantic Web Conference</source>
          , Bethlehem, PA, USA, October
          <volume>11</volume>
          -
          <issue>15</issue>
          ,
          <year>2015</year>
          , Proceedings, Part I. pp.
          <volume>199</volume>
          {
          <issue>216</issue>
          (
          <year>2015</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          3.
          <string-name>
            <surname>Jacques</surname>
            ,
            <given-names>J.S.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Toman</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Weddell</surname>
            ,
            <given-names>G.E.</given-names>
          </string-name>
          :
          <article-title>Object-relational queries over CF DInc knowledge bases: OBDA for the SQL-Literate</article-title>
          .
          <source>In: Proc. International Joint Conference on Arti cial Intelligence</source>
          ,
          <source>IJCAI</source>
          . pp.
          <volume>1258</volume>
          {
          <issue>1264</issue>
          (
          <year>2016</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          4.
          <string-name>
            <surname>McIntyre</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Borgida</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Toman</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Weddell</surname>
          </string-name>
          , G.:
          <article-title>On limited conjunctions in polynomial feature logics, with applications in OBDA</article-title>
          .
          <source>In: Proc. KR18 (extended abstract)</source>
          . p. (in press) (
          <year>2018</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          5.
          <string-name>
            <surname>Toman</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Weddell</surname>
            ,
            <given-names>G.E.</given-names>
          </string-name>
          :
          <article-title>On keys and functional dependencies as rst-class citizens in description logics</article-title>
          .
          <source>J. Aut. Reasoning</source>
          <volume>40</volume>
          (
          <issue>2-3</issue>
          ),
          <volume>117</volume>
          {
          <fpage>132</fpage>
          (
          <year>2008</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          6.
          <string-name>
            <surname>Toman</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Weddell</surname>
            ,
            <given-names>G.E.</given-names>
          </string-name>
          :
          <article-title>On partial features in the DLF family of description logics</article-title>
          .
          <source>In: PRICAI</source>
          <year>2016</year>
          :
          <article-title>Trends in Arti cial Intelligence -</article-title>
          14th
          <source>Paci c Rim International Conference on Arti cial Intelligence</source>
          , Phuket, Thailand,
          <source>August 22-26</source>
          ,
          <year>2016</year>
          , Proceedings. pp.
          <volume>529</volume>
          {
          <issue>542</issue>
          (
          <year>2016</year>
          )
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>