<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Archiving and Interchange DTD v1.0 20120330//EN" "JATS-archivearticle1.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink">
  <front>
    <journal-meta />
    <article-meta>
      <title-group>
        <article-title>Ontology-Based Access to Probabilistic Data</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Universitat Bremen</string-name>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Germany</string-name>
        </contrib>
        <contrib contrib-type="author">
          <string-name>jeanjung</string-name>
        </contrib>
        <contrib contrib-type="author">
          <string-name>clu}@informatik.uni-bremen.de</string-name>
        </contrib>
      </contrib-group>
      <abstract>
        <p>We propose a framework for querying probabilistic data in the presence of an ontology, arguing that the interplay of probabilities and ontologies is fruitful in applications such as managing data that was extracted from the web. The prime inference problem is computing answer probabilities, and we show that it can be implemented using standard probabilistic database systems, similar to traditional ontologybased data access. We demonstrate that query rewriting into rst-order logic is an important tool for our framework. First, it is used to establish a PTime vs. #P dichotomy for the data complexity of this problem by lifting a corresponding result from probabilistic databases. Then, we use it to characterize which pairs of query and TBox are in PTime. Finally, it is shown that non-existence of such a rewriting implies #P-hardness.</p>
      </abstract>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>Introduction</title>
      <p>
        In recent years, ontology based data access (OBDA) has become an active area of
description logic research. In OBDA, an ontology provides a semantics for
incomplete data with the aim of facilitating the computation of more complete answers
to queries. There are applications, though, in which it is necessary to query data
that is not only incomplete, but also uncertain. For instance, data extracted
from web sources [
        <xref ref-type="bibr" rid="ref24">24</xref>
        ] such as an estate agents' web page is typically incomplete.
It is also uncertain because web sources tend to be unreliable and extraction
tools are based on heuristic decisions and thus signi cantly error prone. In this
paper, we propose an extension of OBDA that captures uncertain data through
a probabilistic data model and replaces the computation of certain answers with
computing the probabilities of certain answers. In brief, our approach relates
to probabilistic database systems (PDBMSs) in the same way that traditional
OBDA relates to RDBMSs.
      </p>
      <p>
        Framework. We consider probabilistic ABox formalisms that are inspired by
data models from the currently very active area of probabilistic databases [
        <xref ref-type="bibr" rid="ref32 ref7">7,32</xref>
        ].
Speci cally, pABoxes enrich classical ABoxes with probabilities that are attached
to probabilistic events, and with event expressions that are attached to ABox
assertions. For example, a pABox assertion SoccerPlayer(messi) can be
associated with an event expression e1 _ e2, where e1 and e2 represent events such
as `web extraction tool x correctly analyzed webpage y stating that Messi is
a soccer player'. Event e1 can then be associated with probability :7, and e2
with :9. Events are assumed to be probabilistically independent, which results
in a straightforward semantics that is similar to well-known probabilistic versions
of datalog [
        <xref ref-type="bibr" rid="ref12 ref28">28,12</xref>
        ]. Ontologies are represented by description logic TBoxes. In this
setting, which we call ontology based access to probabilistic data (pOBDA), we
are interested in computing the probabilities of certain answers to conjunctive
queries (CQs). Note that uncertainty occurs only in the data, but neither in the
ontology nor in the query. We believe that pOBDA is of general interest and
potentially useful for a wide range of applications including the management of
data extracted from the web, machine translation, and dealing with data that
arises from sensor networks. All these applications can potentially bene t from a
fruitful interplay between ontologies and probabilities; in particular, the ontology
can help to reduce the uncertainty of the data.
      </p>
      <p>
        Contributions. The main aim of this paper is to study the data complexity of
pOBDA. More precisely, we pursue a non-uniform approach as recently initiated
in [
        <xref ref-type="bibr" rid="ref27">27</xref>
        ], which aims at fully classifying the data complexity of every pair (q; T )
that consists of a CQ q and a TBox formulated in a xed `master DL'. As a
central tool of our analysis, we use query rewriting into rst-order (FO) queries,
which is an important technique for traditional OBDA [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ]. We start with showing
that FO-rewritings from traditional OBDA are useful also in the context of
pOBDA: for any pABox A, the probability that a tuple a is a certain answer to
q over a pABox A relative to T is identical to the probability that a is an answer
to the FO-rewriting qT of q and T over A viewed as a probabilistic database.
This lifting of FO-rewritings to the probabilistic case immediately implies that
one can implement pOBDA based on existing PDBMSs such as MayBMS, Trio,
and MystiQ [
        <xref ref-type="bibr" rid="ref1 ref35 ref5">1,35,5</xref>
        ].
      </p>
      <p>
        Lifting also allows us to carry over the dichotomy between PTime and
#Phardness for computing the probabilities of answers to unions of conjunctive
queries (UCQs) over probabilistic databases recently obtained by Dalvi, Suciu,
and Schnaitter [
        <xref ref-type="bibr" rid="ref8">8</xref>
        ] to our pOBDA framework, provided that we restrict ourselves
to TBoxes formulated in (the core version of) DL-Lite and to ipABoxes, which
are a special case of pABoxes in which all ABox assertions are probabilistically
independent. Based on a careful syntactic analysis, we provide a concrete
characterization of those CQs q and DL-Lite TBoxes T for which computing answer
probabilities is in PTime. We then proceed to showing that query rewriting
is a complete tool for proving PTime data complexity in pOBDA, in the
following sense: we replace DL-Lite with the strictly more expressive description
logic E LI where, in contrast to DL-Lite, rewritings into rst-order queries do
not exist for every CQ q and TBox T ; we then prove that if some (q; T ) does
not have a rewriting, then computing answer probabilities for q relative to T
is #P-hard. Thus, if it is possible at all to prove that some (q; T ) has PTime
data complexity, then this can always be done using query rewriting. Both in
DL-Lite and E LI, the class of queries and TBoxes with PTime data complexity
is relatively small. This negative result is relativized by the fact that answer
probabilities can often be e ciently approximated. In particular, all pairs (q; T )
admit approximation in terms of a fully polynomial randomized approximation
scheme (FPRAS) whenever q is FO-rewritable relative to T . We provide a brief
discussion of such approximations and refer to the full version [
        <xref ref-type="bibr" rid="ref19">19</xref>
        ] of this paper
for more information.
      </p>
      <p>
        Related Work. The probabilistic ABox formalism studied in this paper is inspired
by the probabilistic database models in [
        <xref ref-type="bibr" rid="ref9">9</xref>
        ], but can also be viewed as a variation
of probabilistic versions of datalog and Prolog, see [
        <xref ref-type="bibr" rid="ref12 ref28">28,12</xref>
        ] and references therein.
There have recently been other approaches to combining ontologies and
uncertainty for data access [
        <xref ref-type="bibr" rid="ref11 ref14">11,14</xref>
        ], with a di erent semantics; the setup considered
by Gottlob, Lukasiewicz, and Simari in [
        <xref ref-type="bibr" rid="ref14">14</xref>
        ] is close in spirit to the framework
studied here, but also allows probabilities in the TBox and has a di erent, rather
intricate semantics based on Markov logic. In fact, we deliberately avoid
probabilities in the ontology because (i) this results in a simple and fundamental, yet
useful formalism that still admits a very transparent semantics and (ii) it enables
the use of standard PDBMSs for query answering in the presence of ontologies.
Note that the analogous property of being implementable using state-of-the-art
RDBMSs is a favorable feature of traditional OBDA [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ]. There has also been
a large number of proposals for enriching description logic TBoxes (instead of
ABoxes) with probabilities, see [
        <xref ref-type="bibr" rid="ref25 ref26">25,26</xref>
        ] and the references therein. Our running
application example is web data extraction, in the spirit of [
        <xref ref-type="bibr" rid="ref16">16</xref>
        ] to store extracted
web data in a probabilistic database. Note that it has also been proposed to
integrate both probabilities and ontologies directly into the data extraction tool [
        <xref ref-type="bibr" rid="ref13">13</xref>
        ].
We believe that both approaches can be useful and could even be orchestrated
to play together.
      </p>
      <p>
        This paper is a condensed version of [
        <xref ref-type="bibr" rid="ref19">19</xref>
        ]. For the missing proofs and some
additional material we refer the reader to the long version of [
        <xref ref-type="bibr" rid="ref19">19</xref>
        ].
2
      </p>
    </sec>
    <sec id="sec-2">
      <title>Preliminaries</title>
      <p>
        We use standard notation for the syntax and semantics of description logics
(DLs) and refer to [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ] for full details. As usual, C; D denote (potentially)
composite concepts, A; B concept names, r; s role names, R and S role names or
their inverse, and a; b individual names. When R = r , then R denotes r. We
consider the ontology languages DL-Lite and E LI. Regarding the former, we
concentrate on the dialect DL-Litecore, where TBoxes are nite sets of concept
inclusions (CIs) B v B0 and B u B0 v ? with B and B0 concepts of the form
9r, 9r , &gt; or A. In E LI, a TBox is a nite set of CIs C v D where C and D are
(potentially) compound concepts of the form &gt;, A, C0 u D0, 9r:C0, and 9r :C0.
      </p>
      <p>As usual, an ABox is a nite set of concept assertions A(a) and role
assertions r(a; b). We use Ind(A) to denote the set of individual names used in the
ABox A and write r (a; b) 2 A for r(b; a) 2 A. The semantics of DLs is based
on interpretations I = ( I ; I ); we adopt the unique name assumption (UNA),
i.e., we require aI 6= bI for all individuals a 6= b.</p>
      <p>Conjunctive queries (CQs) take the form 9y:'(x; y), with ' a conjunction
of atoms of the form A(t) and r(t; t0) and where x; y denote (tuples of) variables
and t; t0 denote terms, i.e., a variable or an individual name. We call the variables
in x the answer variables and those in y the quanti ed variables. The set of all
variables in a CQ q is denoted by var(q) and the set of all terms in q by term(q).
A CQ q is n-ary if it has n answer variables and Boolean if it is 0-ary. Whenever
convenient, we treat a CQ as a set of atoms and sometimes write r (t; t0) 2 q
instead of r(t0; t) 2 q.</p>
      <p>Let I be an interpretation and q a CQ with answer variables x1; : : : ; xk.
For individual names a = a1 ak, an a-match for q in I is a mapping :
term(q) ! I such that (xi) = ai for 1 i k, (a) = aI for all individual
names a 2 term(q), (t) 2 AI for all A(t) 2 q, and ( (t1); (t2)) 2 rI for all
r(t1; t2) 2 q. We write I j= q[a] if there is an a-match of q in I and let ans(q; I)
denote the set of all a with I j= q[a]. For a TBox T and an ABox A, we write
T ; A j= q[a] if I j= q[a] for all models I of T and A. The set certT (q; A) of all
certain answers consists of all tuples a over Ind(A) with T ; A j= q[a].
3</p>
    </sec>
    <sec id="sec-3">
      <title>Probabilistic OBDA</title>
      <p>We introduce our framework for probabilistic OBDA, starting with the de nition
of a rather general, probabilistic version of ABoxes. Let E be a countably in nite
set of atomic (probabilistic) events. An event expression is built up from atomic
events using the Boolean operators :, ^, _. We use expr(E ) to denote the set
of all event expressions over E . A probability assignment for E E is a map
E ! [0; 1].</p>
      <p>De nition 1 (pABox). A probabilistic ABox (pABox) is of the form (A; e; p)
with A an ABox, e a map A ! expr(E ), and p a probability assignment for EA,
the atomic events in A.</p>
      <p>
        Example 1. We consider as a running example an information extraction tool
that is gathering data from the web, see [
        <xref ref-type="bibr" rid="ref16">16</xref>
        ] for a similar setup. Assume we are
gathering data about soccer players and the clubs they play for in the current
2012 season, and we want to represent the result as a pABox.
(1) The tool processes a newspaper article stating that `Messi is the soul of the
Argentinian national soccer team'. Because the exact meaning of this phrase
is unclear (it could refer to a soccer player, a coach, a mascot), it generates
the assertion Player(messi) associated with the atomic event expression e1 with
p(e1) = 0:7. The event e1 represents that the phrase was interpreted correctly.
(2) The tool nds the Wikipedia page on Lionel Messi, which states that he is
a soccer player. Since Wikipedia is typically reliable and up to date, but not
always correct, it updates the expression associated with Player(messi) to e1 _ e2
and associates e2 with p(e2) = 0:95.
(3) The tool nds an HTML table on the homepage of FC Barcelona saying
that the top scorers of the season are Messi, Villa, and Pedro. It is not stated
whether the table refers to the 2011 or the 2012 season, and consequently we
generate the ABox assertions playsfor(x; FCbarca) for x 2 fmessi; villa; pedrog all
associated with the same atomic event expression e3 with p(e3) = 0:5. Intuitively,
the event e3 is that the table refers to 2012.
(4) Still processing the table, the tool applies the background knowledge that
top scorers are typically strikers. It generates three assertions Striker(x) with
x 2 fmessi; villa; pedrog, associated with atomic events e4, e0 , and e00. It sets
4 4
p(e4) = p(e04) = p(e040) = 0:8. The probability is higher than in (3) since being
a striker is a more stable property than playing for a certain club, thus this
information does not depend so much on whether the table is from 2011 or 2012.
(5) The tool processes the twitter message `Villa was the only one to score a
goal in the match between Barca and Real'. It infers that Villa plays either for
Barcelona or for Madrid, generating the assertions playsfor(villa; FCbarca) and
playsfor(villa; realmadrid). The rst assertion is associated with the event e5, the
second one with :e5. It sets p(e5) = 0:5.
      </p>
      <p>We now de nte the semantics of OBDA over pABoxes. Each E EA can be
viewed as a truth assignment that makes all events in E true and all events in
EA n E false.</p>
      <p>De nition 2. Let (A; e; p) be a pABox. For each E EA, de ne a
corresponding non-probabilistic ABox AE := f 2 A j E j= e( )g: The function p
represents a probability distribution on 2EA , by setting for each E EA:
p(E) =</p>
      <p>Y p(e)
e2E</p>
      <p>Y
e2EAnE
(1
p(e)):
The probability of an answer a 2 Ind(A)n to an n-ary conjunctive query q over
a pABox A and TBox T is
For Boolean CQs q, we write p(A; T j= q) instead of pA;T (() 2 q), where ()
denotes the empty tuple.</p>
      <p>Example 2. Consider again the web data extraction example discussed above.
To illustrate how ontologies can help to reduce uncertainty, we use the DL-Lite
TBox</p>
      <p>T = f</p>
      <sec id="sec-3-1">
        <title>9playsfor v Player</title>
        <p>v SoccerClub</p>
      </sec>
      <sec id="sec-3-2">
        <title>Player v 9playsfor</title>
      </sec>
      <sec id="sec-3-3">
        <title>Striker v Player g</title>
        <sec id="sec-3-3-1">
          <title>Consider the following subcases considered above. (1) + (3) The resulting pABox comprises the following assertions with associated event expressions:</title>
          <p>Player(messi)
playsfor(villa; FCbarca)
e1</p>
          <p>playsfor(messi; FCbarca)
e3 playsfor(pedro; FCbarca)
e3
e3
with p(e1) = 0:7 and p(e3) = 0:5. Because of the statement 9playsfor v Player,
using T (instead of an empty TBox) increases the probability of messi to be an
answer to the query Player(x) from 0:7 to 0:85.
(5) The resulting pABox is
playsfor(villa; FCbarca)
e5 playsfor(villa; realmadrid)
:e5
with p(e5) = 0:5. Although Player(villa) does not occur in the data, the
probability of villa to be an answer to the query Player(x) is 1 (again by the
TBoxstatement 9playsfor v Player).
(3)+(4) This results in the pABox
with p(e3) = 0:5 and p(e4) = p(e04) = p(e040) = 0:8. Due to the last three CIs in T ,
each of messi, villa, pedro is an answer to the CQ 9y:playsfor(x; y) ^ SoccerClub(y)
with probability 0:9.</p>
          <p>
            Related Models in Probabilistic Databases. Nowadays, there is an abundance of
probabilistic data models that provide compact representation of distributions
over potentially large sets of possible worlds, see [
            <xref ref-type="bibr" rid="ref15 ref2 ref30">15,30,2</xref>
            ] and the references
therein. Our pABoxes can be viewed as an open world version of the probabilistic
data model studied by Dalvi and Suciu in [
            <xref ref-type="bibr" rid="ref9">9</xref>
            ]. It is as a less succinct version of
ctables, a traditional data model for probabilistic databases due to Imielinski and
Lipski [
            <xref ref-type="bibr" rid="ref18">18</xref>
            ]. Since we are working with an open world semantics, pABoxes instead
represent a distribution over possible world descriptions. Each such description
may have any number of models. Note that our semantics is similar to the
semantics of (\type 2") probabilistic rst-order and description logics [
            <xref ref-type="bibr" rid="ref17 ref26">17,26</xref>
            ].
Dealing with Inconsistencies. Of course, some of the ABoxes AE might be
inconsistent w.r.t. the TBox T used. In this case, it may be undesirable to let them
contribute to the probabilities of answers. For example, if we use the pABox
Striker(messi)
e1
          </p>
          <p>
            Goalie(messi)
e2
with p(e1) = 0:8 and p(e2) = 0:3 and the TBox Goalie u Striker v ?, then
messi is an answer to the query SoccerClub(x) with probability 0:24 while one
would probably expect it to be zero (which is the result when the empty TBox is
used). We follow Antova, Koch, and Olteanu and advocate a pragmatic solution
based on rescaling [
            <xref ref-type="bibr" rid="ref2">2</xref>
            ]. More speci cally, we remove those ABoxes AE that are
inconsistent w.r.t. T and rescale the remaining set of ABoxes so that they sum
up to probability one. In other words, we set
pbA;T (a 2 q) =
pA;T (a 2 q)
1
          </p>
          <p>p(A; T j= ?)
p(A; T j= ?)
where ? is a Boolean query that is entailed exactly by those ABoxes A that are
inconsistent w.r.t. T . The rescaled probability pbA;T (a 2 q) can be computed in
PTime when this is the case both for pA;T (a 2 q) and p(A; T j= ?). Note that
rescaling results in some e ects that might be unexpected such as reducing the
probability of messi to be an answer to Striker(x) from 0:8 to 0:74 when the
above TBox is added.</p>
          <p>In the remainder of the paper, for simplicity we will only admit TBoxes T
such that all ABoxes A are consistent w.r.t. T .
4</p>
        </sec>
      </sec>
    </sec>
    <sec id="sec-4">
      <title>Query Rewriting</title>
      <p>
        The aim of this section is to show that FO-rewriting, a prominent approach
to traditional OBDA, are fruitful also in the case of computing probabilities of
certain answers in probabilistic OBDA. In particular, we use it to lift the PTime
vs. #P dichotomy result on probabilistic databases recently obtained by Dalvi,
Suciu, and Schnaitter [
        <xref ref-type="bibr" rid="ref8">8</xref>
        ] to probabilistic OBDA in DL-Lite.
4.1
      </p>
      <p>Lifting FO-Rewritings to probabilistic OBDA
A rst-order query qT is an FO-rewriting of a CQ q and an FO-TBox T (i.e., a
rst-order theory) if certT (q; A) = ans(qT ; IA) for every ABox A, where IA to
denotes the ABox A viewed as an interpretation. The query rewriting approach
to traditional OBDA consists of computing, given a CQ q and a TBox T , an
FO-rewriting qT and then handing it over for execution to a relational database
system that stores the ABox A.</p>
      <p>
        The following observation states that FO-rewritings from traditional OBDA
are also useful in probabilistic OBDA. We use pdA(a 2 q) to denote the
probability that a is an answer to the query q given the pABox A viewed as a
probabilistic database in the sense of Dalvi and Suciu [
        <xref ref-type="bibr" rid="ref8">8</xref>
        ]. More speci cally,
pdA(a 2 q) =
      </p>
      <p>X
E EA j a2ans(q;IAE )
p(E)</p>
      <sec id="sec-4-1">
        <title>The following is immediate from the de nitions.</title>
        <p>Theorem 1 (Lifting). Let T be an FO-TBox, A a pABox, q an n-ary CQ,
a 2 Ind(A)n a candidate answer for q, and qT an FO-rewriting of q relative
to T . Then pA;T (a 2 q) = pdA(a 2 qT ).</p>
        <p>
          From an application perspective, Theorem 1 enables the use of probabilistic
database systems such as MayBMS, Trio, and MystiQ for implementing
probabilistic OBDA [
          <xref ref-type="bibr" rid="ref1 ref35 ref5">1,35,5</xref>
          ]. Note that it might be necessary to adapt pABoxes in an
appropriate way in order to match the data models of these systems. However,
such modi cations do not impair applicability of Theorem 1.
        </p>
        <p>
          From a theoretical viewpoint, Theorem 1 establishes query rewriting as a
useful tool for analyzing data complexity in probabilistic OBDA. We say that
a CQ q is in PTime relative to a TBox T if there is a polytime algorithm
that, given an ABox A and a candidate answer a 2 Ind(A)n to q, computes
pA;T (a 2 q). We say that q is #P-hard relative to T if the afore mentioned
problem is hard for the counting complexity class #P [
          <xref ref-type="bibr" rid="ref33">33</xref>
          ]. We pursue a
nonuniform approach to the complexity of query answering in probabilistic OBDA,
as recently initiated in [
          <xref ref-type="bibr" rid="ref27">27</xref>
          ]: ideally, we would like to understand the precise
complexity of every CQ q relative to every TBox T , against the background of
some preferably expressive `master logic' used for T .
        </p>
        <p>Unsurprisingly, pABoxes are too strong a formalism to admit any tractable
queries worth mentioning. An n-ary CQ q is trivial for a TBox T i for every
ABox A, we have certT (A; q) = Ind(A)n.</p>
        <p>Theorem 2. Over pABoxes, every CQ q is #P -hard relative to every rst-order
TBox T for which it is nontrivial.</p>
        <p>
          Theorem 2 motivates the study of more lightweight probabilistic ABox
formalisms. While pABoxes (roughly) correspond to c-tables, which are among
the most expressive probabilistic data models, we now move to the other end
of the spectrum and introduce ipABoxes as a counterpart of tuple independent
databases [
          <xref ref-type="bibr" rid="ref12 ref9">9,12</xref>
          ]. Argueably, the latter are the most inexpressive probabilistic
data model that is still useful.
        </p>
        <p>De nition 3 (ipABox). An assertion-independent pABox (or ipABox) is a
probabilistic ABox in which all event expressions are atomic and where each
atomic event expression is associated with at most one ABox assertion.
To save notation, we write ipABoxes in the form (A; p) where A is an ABox and
p is a map A ! [0; 1] that assigns a probability to each ABox assertion. In this
representation, the events are implicit (one atomic event per ABox assertion) and
we write p( ) to denote the probability of the event associated with the assertion
. Analogously to pABoxes, all events (and thus all assertions) are independent.
Note that the answer probability of a 2 Ind(A)n to an n-ary conjunctive query
q over an ipABox (A; p) relative to a TBox T simpli es to</p>
        <p>
          X
We now use Theorem 1 to lift a PTime vs. #P dichotomy recently obtained in
the area of probabilistic databases to probabilistic OBDA in DL-Lite. Note that,
for any CQ and DL-Lite TBox, an FO-rewriting is guaranteed to exist [
          <xref ref-type="bibr" rid="ref6">6</xref>
          ]. The
central observation is that, by Theorem 1, computing the probability of answers
to a CQ q relative to a TBox T over ipABoxes is exactly the same problem as
computing the probability of answers to qT over (ipABoxes viewed as) tuple
A
r
q2
independent databases. We can thus analyze the complexity of CQs/TBoxes
over ipABoxes by analyzing the complexity of their rewritings. In particular,
standard rewriting techniques produce for each CQ and DL-Lite TBox an
FOrewriting that is a union of conjunctive queries (a UCQ) and thus, together with
Theorem 1, Dalvi, Suciu and Schnaitter's PTime vs. #P dichotomy for UCQs
over tuple independent databases [
          <xref ref-type="bibr" rid="ref8">8</xref>
          ] immediately yields the following.
Theorem 3 (Abstract Dichotomy). Let q be a CQ and T a DL-Lite TBox.
Then q is in PTime relative to T or q is #P-hard relative to T .
Note that Theorem 3 actually holds for every DL that enjoys FO-rewritability.
Although interesting from a theoretical perspective, Theorem 3 is not fully
satisfactory as it does not tell us which CQs are in PTime relative to which TBoxes.
In the remainder of this section, we carry out a careful inspection of the
FOrewritings obtained in our framework and of the dichotomy result obtained by
Dalvi, Suciu and Schnaitter, which results in a more concrete formulation of the
dichotomy stated in Theorem 3 and provides a transparent characterization of
the PTime cases. For simplicity, we concentrate on CQs that are connected,
Boolean, and do not contain individual names.
        </p>
        <p>
          For two CQs q; q0 and a TBox T , we say that q T -implies q0 and write q vT q0
when certT (q; A) certT (q0; A) for all ABoxes A; we say that q and q0 are T
equivalent and write q T q0 if q vT q0 and q0 vT q; we say that q is T -minimal
if there is no q0 ( q such that q T q0. When T is empty, we simply drop it from
the introduced notation, writing for example q v q0 and speaking of minimality.
To have more control over the e ect of the TBox, we will generally work with
CQs q and TBoxes T such that q is T -minimal. This is without loss of generality
because for every CQ q and TBox T , we can nd a CQ q0 that is T -minimal
and such that q T q0 [
          <xref ref-type="bibr" rid="ref4">4</xref>
          ]; note that the answer probabilities relative to T are
identical for q and q0.
        </p>
        <p>We now introduce a class of queries that will play a crucial role in our analysis.
De nition 4 (Simple Tree Queries). A CQ q is a simple tree if there is a
variable xr 2 var(q) that occurs in every atom in q, i.e., all atoms in q are of
the form A(xr), r(xr; y), or r(y; xr) (y = xr is possible). Such a variable xr is
called a root variable.</p>
        <p>As examples, consider the CQs in Figure 1, which are all simple tree queries.
The following result shows why simple tree queries are important. A UCQ qb is
reduced if for all disjuncts q; q0 of qb, q v q0 implies q = q0.
Theorem 4. Let q be a CQ and T a DL-Lite TBox such that q is T -minimal
and not a simple tree query. Then q is #P-hard relative to T .</p>
        <p>
          Proof. (sketch) Let qT be a UCQ that is an FO-rewriting of q relative to T . By
de nition of FO-rewritings, we can w.l.o.g. assume that q occurs as a disjunct
of qT . The following is shown in [
          <xref ref-type="bibr" rid="ref8">8</xref>
          ]:
1. if a minimal CQ does not contain a variable that occurs in all atoms, then
it is #P-hard over tuple independent databases;
2. if a reduced UCQ qb contains a CQ that is #P-hard over tuple independent
databases, then qb is also hard over tuple independent databases.
Note that since q is T -minimal, it is also minimal. By Points 1 and 2 above,
it thus su ces to show that qT can be converted into an equivalent reduced
UCQ such that q is still a disjunct, which amounts to proving that there is no
disjunct q0 in qT such that q v q0 and q0 6v q. The details of the proof, which is
surprisingly subtle, are given in the appendix. o
        </p>
        <p>
          To nish anlyzing the dichotomy, it thus remains to analyze simple tree
queries. We say that a role R is T -generated in a CQ q if one of the following
holds: (i) there is an atom R(xr; y) 2 q and y 6= xr; (ii) there is an atom
A(xr) 2 q and T j= 9R v A; (iii) there is an atom S(x; y) 2 q with x a root
variable and such that y 6= x occurs only in this atom, and T j= 9R v 9S. The
concrete version of our dichotomy result is as follows. Its proof is based on a
careful analysis of FO-rewritings and the results in [
          <xref ref-type="bibr" rid="ref10">10</xref>
          ].
        </p>
        <p>Theorem 5 (Concrete Dichotomy). Let T be a DL-Lite TBox. A T -minimal
CQ q is in PTime relative to T i
1. q is a simple tree query, and
2. if r and r are T -generated in q, then fr(x; y)g vT q or q is of the form
fS1(x; y); : : : ; Sk(x; y)g for roles S1; : : : ; Sk.</p>
        <p>Otherwise, q is #P-hard relative to T .</p>
        <p>As examples, consider again the queries q1, q2, and q3 in Figure 1 and let T; be
the empty TBox. All CQs are T;-minimal, q1 and q2 are in PTime, and q3 is
#P-hard (all relative to T;). Now consider the TBox T = f9s v 9 g
r . Then q1
is T -minimal and still in PTime; q2 is T -minimal, and is now #P-hard because
both s and s is T -generated. The CQ q3 can be made T -minimal by dropping
the r-atom, and is in PTime relative to T .</p>
        <p>
          Approximations. Theorems 4 and 5 show that only very simple pairs (q; T ) can
be answered in PTime. Hence, it is reasonable to consider the approximation
of answer probabilities. Of particular relevance are fully-polynomial randomized
approximation schemes (FPRASes), see [
          <xref ref-type="bibr" rid="ref22 ref34">22,34</xref>
          ] for a de nition and more details.
In [
          <xref ref-type="bibr" rid="ref9">9</xref>
          ] it is observed that there is an FPRAS for every UCQ over a probabilistic
database. As a consequence of Theorem 1, there is thus also an FPRAS for every
pair (q; T ) such that q is FO-rewritable relative to T ; in particular, there are
FPRASes for every CQ and DL-Lite ontology even if additional features such
as role inclusions are admitted. This observation clearly gives hope for practical
feasibility of probabilistic OBDA. In the full paper, we also consider the existence
of FPRASes for more expressive ontology languages [
          <xref ref-type="bibr" rid="ref19">19</xref>
          ].
5
        </p>
      </sec>
    </sec>
    <sec id="sec-5">
      <title>Beyond Query Rewriting</title>
      <p>A CQ q is FO-rewritable relative to a TBox T if there is an FO-rewriting of q
relative to T . The aim of this section is to establish that, in a sense, FO-rewriting
is a complete tool for proving PTime results for CQ answering in probabilistic
OBDA: we show that whenever a CQ q is not FO-rewritable relative to a TBox
T , then q is #P-hard relative to T ; thus, when a query is in PTime relative to a
TBox T , then this can always be shown via FO-rewritability. To achieve this goal,
we select E LI as the TBox language because it properly generalizes DL-Lite (as
in the previous sections we disregard ?) and, unlike DL-Lite, also embraces non
FO-rewritable CQs/TBoxes. Note that, in traditional OBDA, there is a drastic
di erence in data complexity of CQ-answering between DL-Lite and E LI: the
former is in AC0 while the latter is PTime-complete.</p>
      <p>We focus on Boolean CQs q that are rooted, i.e., q involves at least one
individual name and is connected. This is a natural case since, for any
nonBoolean connected CQ q(x) and potential answer a, the probability pA;T (a 2
q(x)) that a is a certain answer to q w.r.t. A and T is identical to the probability
p(A; T j= q[a]) that A and T entail the rooted Boolean CQ q[a]. The following
theorem says that there is no hope for PTime algorithms in the case a query q
is not FO-rewritable relative to T .</p>
      <p>Theorem 6. If a Boolean rooted CQ q is not FO-rewritable relative to an E
LITBox T , then q is #P-hard relative to T .</p>
      <p>As a by-product of Theorem 6 we obtain the following dichotomy.
Theorem 7 (E LI dichotomy). Let q be a rooted Boolean CQ and T an E
LITBox. Then q is in PTime relative to T or #P-hard relative to T .
6</p>
    </sec>
    <sec id="sec-6">
      <title>Conclusion</title>
      <p>
        We have introduced a framework for ontology-based access to probabilistic data
that can be implemented using existing probabilistic database system, and we
have analyzed the data complexity of computing answer probabilities in this
framework. There are various opportunities for future work. For example, it
would be interesting to extend the concrete dichotomy: on the one hand, it can
be extended to CQs that involve constants and are not necessarily connected;
on the other hand, one could study more expressive versions of DL-Lite that, for
example, allow role hierarchy statements in the TBox. It would also be
worthwhile to add means to express uncertainty to the TBox formalism instead of
admitting it only in the ABox; this is done for example in [
        <xref ref-type="bibr" rid="ref12 ref28">28,12</xref>
        ], but it remains
to be seen whether the semantics used there is appropriate for our purposes.
      </p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          1.
          <string-name>
            <surname>Antova</surname>
            ,
            <given-names>L.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Jansen</surname>
            ,
            <given-names>T.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Koch</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Olteanu</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          :
          <article-title>Fast and simple relational processing of uncertain data</article-title>
          .
          <source>In: Proc. of ICDE</source>
          .
          <volume>983</volume>
          {
          <issue>992</issue>
          (
          <year>2008</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          2.
          <string-name>
            <surname>Antova</surname>
            ,
            <given-names>L.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Koch</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Olteanu</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          <article-title>: 10106 worlds and beyond: e cient representation and processing of incomplete information</article-title>
          .
          <source>VLDB J</source>
          .
          <volume>18</volume>
          (
          <issue>5</issue>
          ),
          <volume>1021</volume>
          {
          <fpage>1040</fpage>
          (
          <year>2009</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          3.
          <string-name>
            <surname>Baader</surname>
            ,
            <given-names>F.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Calvanese</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>McGuinness</surname>
            ,
            <given-names>D.L.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Nardi</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Patel-Schneider</surname>
            ,
            <given-names>P.F</given-names>
          </string-name>
          . (eds.):
          <article-title>The Description Logic Handbook</article-title>
          . Cambridge University Press (
          <year>2003</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          4.
          <string-name>
            <surname>Bienvenu</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Lutz</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Wolter</surname>
            ,
            <given-names>F.</given-names>
          </string-name>
          :
          <article-title>Query containment in description logics reconsidered</article-title>
          .
          <source>In: Proc. of KR</source>
          (
          <year>2012</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          5.
          <string-name>
            <surname>Boulos</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Dalvi</surname>
            ,
            <given-names>N.N.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Mandhani</surname>
            ,
            <given-names>B.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Mathur</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Re</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Suciu</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          :
          <article-title>MYSTIQ: a system for nding more answers by using probabilities</article-title>
          .
          <source>In: Proc. of SIGMOD</source>
          .
          <volume>891</volume>
          {
          <issue>893</issue>
          (
          <year>2005</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          6.
          <string-name>
            <surname>Calvanese</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Giacomo</surname>
            ,
            <given-names>G.D.</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="ref7">
        <mixed-citation>
          7.
          <string-name>
            <surname>Dalvi</surname>
            ,
            <given-names>N.N.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Re</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Suciu</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          :
          <article-title>Probabilistic databases: diamonds in the dirt</article-title>
          .
          <source>Commun. ACM</source>
          <volume>52</volume>
          (
          <issue>7</issue>
          ),
          <volume>86</volume>
          {
          <fpage>94</fpage>
          (
          <year>2009</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          8.
          <string-name>
            <surname>Dalvi</surname>
            ,
            <given-names>N.N.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Schnaitter</surname>
            ,
            <given-names>K.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Suciu</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          :
          <article-title>Computing query probability with incidence algebras</article-title>
          .
          <source>In: Proc. of PODS</source>
          .
          <volume>203</volume>
          {
          <fpage>214</fpage>
          .
          <string-name>
            <surname>ACM</surname>
          </string-name>
          (
          <year>2010</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          9.
          <string-name>
            <surname>Dalvi</surname>
            ,
            <given-names>N.N.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Suciu</surname>
          </string-name>
          , D.:
          <article-title>E cient query evaluation on probabilistic databases</article-title>
          .
          <source>VLDB J</source>
          .
          <volume>16</volume>
          (
          <issue>4</issue>
          ),
          <volume>523</volume>
          {
          <fpage>544</fpage>
          (
          <year>2007</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          10.
          <string-name>
            <surname>Dalvi</surname>
            ,
            <given-names>N.N.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Suciu</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          :
          <article-title>The dichotomy of probabilistic inference for unions of conjunctive queries</article-title>
          .
          <source>J. ACM</source>
          <volume>59</volume>
          (
          <issue>6</issue>
          ),
          <volume>30</volume>
          (
          <year>2012</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          11.
          <string-name>
            <surname>Finger</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Wassermann</surname>
            ,
            <given-names>R.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Cozman</surname>
            ,
            <given-names>F.G.</given-names>
          </string-name>
          :
          <article-title>Satis ability in EL with sets of probabilistic ABoxes</article-title>
          .
          <source>Proc. of DL. CEUR-WS</source>
          , Vol.
          <volume>745</volume>
          (
          <year>2011</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref12">
        <mixed-citation>
          12.
          <string-name>
            <surname>Fuhr</surname>
            ,
            <given-names>N.</given-names>
          </string-name>
          , Rolleke, T.:
          <article-title>A probabilistic relational algebra for the integration of information retrieval and database systems</article-title>
          .
          <source>ACM Trans. Inf. Syst</source>
          .
          <volume>15</volume>
          (
          <issue>1</issue>
          ),
          <volume>32</volume>
          {
          <fpage>66</fpage>
          (
          <year>1997</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref13">
        <mixed-citation>
          13.
          <string-name>
            <surname>Furche</surname>
            ,
            <given-names>T.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Gottlob</surname>
            ,
            <given-names>G.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Grasso</surname>
            ,
            <given-names>G.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Gunes</surname>
            ,
            <given-names>O.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Guo</surname>
            ,
            <given-names>X.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Kravchenko</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Orsi</surname>
            ,
            <given-names>G.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Schallhart</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Sellers</surname>
            ,
            <given-names>A.J.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Wang</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          :
          <article-title>Diadem: domain-centric, intelligent, automated data extraction methodology</article-title>
          .
          <source>In Proc. of WWW</source>
          .
          <volume>267</volume>
          {
          <fpage>270</fpage>
          .
          <string-name>
            <surname>ACM</surname>
          </string-name>
          (
          <year>2012</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref14">
        <mixed-citation>
          14.
          <string-name>
            <surname>Gottlob</surname>
            ,
            <given-names>G.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Lukasiewicz</surname>
            ,
            <given-names>T.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Simari</surname>
            ,
            <given-names>G.I.</given-names>
          </string-name>
          :
          <article-title>CQ answering in probabilistic datalog+= ontologies</article-title>
          .
          <source>In Proc. of RR</source>
          . Vol.
          <volume>6902</volume>
          of LNCS,
          <volume>77</volume>
          {
          <fpage>92</fpage>
          . Springer (
          <year>2011</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref15">
        <mixed-citation>
          15.
          <string-name>
            <surname>Green</surname>
            ,
            <given-names>T.J.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Tannen</surname>
            ,
            <given-names>V.</given-names>
          </string-name>
          :
          <article-title>Models for incomplete and probabilistic information</article-title>
          .
          <source>IEEE Data Engineering Bulletin</source>
          <volume>29</volume>
          (
          <issue>1</issue>
          ),
          <volume>17</volume>
          {
          <fpage>24</fpage>
          (
          <year>2006</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref16">
        <mixed-citation>
          16.
          <string-name>
            <surname>Gupta</surname>
            ,
            <given-names>R.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Sarawagi</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          :
          <article-title>Creating probabilistic databases from information extraction models</article-title>
          .
          <source>In Proc. of VLDB</source>
          .
          <volume>965</volume>
          {
          <fpage>976</fpage>
          .
          <string-name>
            <surname>ACM</surname>
          </string-name>
          (
          <year>2006</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref17">
        <mixed-citation>
          17.
          <string-name>
            <surname>Halpern</surname>
            ,
            <given-names>J.Y.</given-names>
          </string-name>
          :
          <article-title>An analysis of rst-order logics of probability</article-title>
          .
          <source>Artif. Intell</source>
          .
          <volume>46</volume>
          (
          <issue>3</issue>
          ),
          <volume>311</volume>
          {
          <fpage>350</fpage>
          (
          <year>1990</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref18">
        <mixed-citation>
          18.
          <string-name>
            <surname>Imielinski</surname>
            ,
            <given-names>T.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Jr.</surname>
          </string-name>
          , W.L.:
          <article-title>Incomplete information in relational databases</article-title>
          .
          <source>J. of the ACM</source>
          <volume>31</volume>
          (
          <issue>4</issue>
          ),
          <volume>761</volume>
          {
          <fpage>791</fpage>
          (
          <year>1984</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref19">
        <mixed-citation>
          19.
          <string-name>
            <surname>Jung</surname>
            ,
            <given-names>J.C.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Lutz</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          :
          <article-title>Ontology-based access to probabilistic data with OWL QL</article-title>
          .
          <source>In: Proc. of ISWC</source>
          . pp.
          <volume>182</volume>
          {
          <fpage>197</fpage>
          . Springer (
          <year>2012</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref20">
        <mixed-citation>
          20.
          <string-name>
            <surname>Jerrum</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Valiant</surname>
            ,
            <given-names>L.G.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Vazirani</surname>
            ,
            <given-names>V.V.</given-names>
          </string-name>
          :
          <article-title>Random generation of combinatorial structures from a uniform distribution</article-title>
          .
          <source>Theor. Comput. Sci</source>
          .
          <volume>43</volume>
          ,
          <issue>169</issue>
          {
          <fpage>188</fpage>
          (
          <year>1986</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref21">
        <mixed-citation>
          21.
          <string-name>
            <surname>Karger</surname>
            ,
            <given-names>D.R.:</given-names>
          </string-name>
          <article-title>A randomized fully polynomial time approximation scheme for the all-terminal network reliability problem</article-title>
          .
          <source>SIAM J. Comput</source>
          .
          <volume>29</volume>
          (
          <issue>2</issue>
          ),
          <volume>492</volume>
          {
          <fpage>514</fpage>
          (
          <year>1999</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref22">
        <mixed-citation>
          22.
          <string-name>
            <surname>Karp</surname>
            ,
            <given-names>R.M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Luby</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          :
          <article-title>Monte-carlo algorithms for enumeration and reliability problems</article-title>
          .
          <source>In Proc. of FoCS</source>
          .
          <volume>56</volume>
          {
          <fpage>64</fpage>
          . IEEE Computer Society (
          <year>1983</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref23">
        <mixed-citation>
          23.
          <string-name>
            <surname>Kontchakov</surname>
            ,
            <given-names>R.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Lutz</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Toman</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Wolter</surname>
            ,
            <given-names>F.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Zakharyaschev</surname>
            ,
            <given-names>M.:</given-names>
          </string-name>
          <article-title>The combined approach to query answering in DL-Lite</article-title>
          .
          <source>In Proc. of KR</source>
          . AAAI Press (
          <year>2010</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref24">
        <mixed-citation>
          24.
          <string-name>
            <surname>Laender</surname>
            ,
            <given-names>A.H.F.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Ribeiro-Neto</surname>
            ,
            <given-names>B.A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>da Silva</surname>
            ,
            <given-names>A.S.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Teixeira</surname>
            ,
            <given-names>J.S.:</given-names>
          </string-name>
          <article-title>A brief survey of web data extraction tools</article-title>
          .
          <source>SIGMOD Record</source>
          <volume>31</volume>
          (
          <issue>2</issue>
          ),
          <volume>84</volume>
          {
          <fpage>93</fpage>
          (
          <year>2002</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref25">
        <mixed-citation>
          25.
          <string-name>
            <surname>Lukasiewicz</surname>
            ,
            <given-names>T.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Straccia</surname>
            ,
            <given-names>U.</given-names>
          </string-name>
          :
          <article-title>Managing uncertainty and vagueness in description logics for the semantic web</article-title>
          .
          <source>J. Web Sem</source>
          .
          <volume>6</volume>
          (
          <issue>4</issue>
          ),
          <volume>291</volume>
          {
          <fpage>308</fpage>
          (
          <year>2008</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref26">
        <mixed-citation>
          26.
          <string-name>
            <surname>Lutz</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          , Schroder,
          <string-name>
            <surname>L.</surname>
          </string-name>
          :
          <article-title>Probabilistic description logics for subjective uncertainty</article-title>
          .
          <source>In Proc. of KR</source>
          . AAAI Press (
          <year>2010</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref27">
        <mixed-citation>
          27.
          <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: Proc. of KR</source>
          . AAAI Press (
          <year>2012</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref28">
        <mixed-citation>
          28.
          <string-name>
            <surname>Raedt</surname>
            ,
            <given-names>L.D.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Kimmig</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Toivonen</surname>
          </string-name>
          , H.:
          <article-title>Problog: a probabilistic prolog and its application in link discovery</article-title>
          .
          <source>In Proc. of IJCAI</source>
          .
          <volume>2468</volume>
          {
          <fpage>2473</fpage>
          . AAAI Press (
          <year>2007</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref29">
        <mixed-citation>
          29.
          <string-name>
            <surname>Rossman</surname>
            ,
            <given-names>B.</given-names>
          </string-name>
          :
          <article-title>Homomorphism preservation theorems</article-title>
          .
          <source>J. ACM</source>
          .
          <volume>55</volume>
          (
          <issue>3</issue>
          ). 1{
          <issue>54</issue>
          (
          <year>2008</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref30">
        <mixed-citation>
          30.
          <string-name>
            <surname>Sarma</surname>
            ,
            <given-names>A.D.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Benjelloun</surname>
            ,
            <given-names>O.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Halevy</surname>
            ,
            <given-names>A.Y.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Widom</surname>
          </string-name>
          , J.:
          <article-title>Working models for uncertain data</article-title>
          .
          <source>In: Proc. of ICDE. IEEE Computer Society</source>
          (
          <year>2006</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref31">
        <mixed-citation>
          31.
          <string-name>
            <surname>Straccia</surname>
            ,
            <given-names>U.</given-names>
          </string-name>
          :
          <article-title>Top-k retrieval for ontology mediated access to relational databases</article-title>
          .
          <source>In: Information Sciences. 108</source>
          ,
          <issue>1</issue>
          {
          <fpage>23</fpage>
          (
          <year>2012</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref32">
        <mixed-citation>
          32.
          <string-name>
            <surname>Suciu</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Olteanu</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Re</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Koch</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          : Probabilistic Databases.
          <source>Synthesis Lectures on Data Management</source>
          , Morgan &amp; Claypool Publishers (
          <year>2011</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref33">
        <mixed-citation>
          33.
          <string-name>
            <surname>Valiant</surname>
            ,
            <given-names>L.G.</given-names>
          </string-name>
          :
          <article-title>The complexity of enumeration and reliability problems</article-title>
          .
          <source>SIAM J. Comput</source>
          .
          <volume>8</volume>
          (
          <issue>3</issue>
          ),
          <volume>410</volume>
          {
          <fpage>421</fpage>
          (
          <year>1979</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref34">
        <mixed-citation>
          34.
          <string-name>
            <surname>Vazirani</surname>
            ,
            <given-names>V.V.</given-names>
          </string-name>
          :
          <article-title>Approximation algorithms</article-title>
          . Springer (
          <year>2001</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref35">
        <mixed-citation>
          35.
          <string-name>
            <surname>Widom</surname>
          </string-name>
          , J.:
          <article-title>Trio: A system for integrated management of data, accuracy, and lineage</article-title>
          .
          <source>In Proc. of CIDR</source>
          .
          <volume>262</volume>
          {
          <issue>276</issue>
          (
          <year>2005</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref36">
        <mixed-citation>
          36.
          <string-name>
            <surname>Zenklusen</surname>
            ,
            <given-names>R.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Laumanns</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          :
          <article-title>High-con dence estimation of small s-t reliabilities in directed acyclic networks</article-title>
          .
          <source>Networks</source>
          <volume>57</volume>
          (
          <issue>4</issue>
          ),
          <volume>376</volume>
          {
          <fpage>388</fpage>
          (
          <year>2011</year>
          )
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>