<!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>Query-driven Repairing of Inconsistent DL-Lite Knowledge Bases (Extended Abstract)</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Meghyn Bienvenu</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Camille Bourgaux</string-name>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Francois Goasdoue</string-name>
          <xref ref-type="aff" rid="aff2">2</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>CNRS, Univ. Montpellier</institution>
          ,
          <addr-line>Inria, Montpellier</addr-line>
          ,
          <country country="FR">France</country>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>Univ. Paris-Sud, CNRS</institution>
          ,
          <addr-line>Orsay</addr-line>
          ,
          <country country="FR">France</country>
        </aff>
        <aff id="aff2">
          <label>2</label>
          <institution>Univ.</institution>
          <addr-line>Rennes 1, CNRS, Lannion</addr-line>
          ,
          <country country="FR">France</country>
        </aff>
      </contrib-group>
      <abstract>
        <p>Query-driven repairing Ontology-mediated query answering (OMQA) is a recent approach to data access in which conceptual knowledge provided by an ontology is exploited when querying incomplete data (see [6] for a survey). As e ciency is a primary concern, signi cant research e orts have been devoted to identifying ontology languages with favorable computational properties. The DL-Lite family of description logics [8], which underlies the OWL 2 QL pro le [20], has garnered signi cant interest as it allows OMQA to be reducedto standard database query evaluation. Beyond e ciency, it is important for OMQA systems to be robust to inconsistencies stemming from errors in the data. Inspired by work on consistent query answering in databases [3], several inconsistency-tolerant semantics have been developed for OMQA, with the aim of providing meaningful answers in the presence of inconsistencies. Of particular relevance to the present paper are the brave semantics [7], which returns all query answers that have some cause (i.e. minimal consistent subset that supports the answer), and the more conservative IAR semantics [17] that requires that facts in the cause not belong to any con ict (i.e. minimal inconsistent subset). Both semantics have appealing computational properties: for most DL-Lite dialects, including DL-LiteR, conjunctive query answering is tractable in data complexity [18, 7]. While inconsistency-tolerant semantics are essential for returning useful results when consistency cannot be achieved, they by no means replace the need for tools for improving data quality. This extended abstract presents our work [5] that proposes a complementary approach that exploits user feedback about query results to identify and correct errors. We consider the following scenario: a user poses conjunctive queries against a possibly inconsistent DL-LiteR knowledge base (KB) and receives the sets of possible answers (i.e. those holding under brave semantics) and almost sure answers (those holding under IAR semantics). When examining the results, he detects some unwanted answers, which should not have been retrieved, and identi es wanted answers, which should be present. Ideally, the unwanted tuples should not be returned as possible answers, and all of the desired tuples should be found among the sure answers. A query-driven repairing problem (QRP) consists of a KB to repair and two sets of Boolean conjunctive queries that the KB should entail or not entail. A repair plan is a pair of sets of assertions to delete or add to the ABox. It addresses</p>
      </abstract>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>-</title>
      <p>all defects if the resulting KB is such that every wanted answer holds under IAR
semantics and every unwanted answer does not hold under brave semantics.</p>
      <p>
        There are several reasons to use queries to guide the repairing process. First,
we note that it is typically impossible (for lack of time or information) to clean
the entire dataset, and therefore reasonable to focus the e ort on the parts of
the data most relevant to users' needs. In the database arena, this
observation inspired work on integrating entity resolution into the querying process [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ].
Second, expert users may have a good idea of which answers are expected for
queries concerning their area of expertise, and thus queries provide a natural
way of identifying aws. Indeed, [
        <xref ref-type="bibr" rid="ref16">16</xref>
        ] recently proposed to use queries to search
for errors and help evaluate linked data quality. Finally, even non-expert users
may notice anomalies when examining query results, and it would be a shame
to not capitalize on this information, and in this way, help distribute the costly
and time-consuming task of improving data quality as argued in [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ].
      </p>
      <p>
        The problem of modifying DL KBs to ensure (non)entailments of assertions
and/or axioms has been investigated in many works, see e.g. [
        <xref ref-type="bibr" rid="ref11 ref13 ref9">11, 9, 13</xref>
        ]. Our
framework is inspired by that of [
        <xref ref-type="bibr" rid="ref14 ref15">15, 14</xref>
        ], in which a user speci es two sets of
axioms that should be entailed or not by a KB and repair plans are pairs of sets
of axioms to remove and add to obtain an ontology satisfying these requirements.
2
      </p>
    </sec>
    <sec id="sec-2">
      <title>Optimal repair plans</title>
      <p>If we want to avoid introducing new errors, a fully automated repairing process
is impossible: we need the user to validate every assertion that is removed or
added in order to remove (resp. add) only assertions that are false (resp. true).
We formalize the user's knowledge by a set of models of the TBox and say that
an assertion is true (resp. false) if it is true (resp. false) in every of these models,
unknown otherwise. A repair plan is validatable if it removes (resp. add) only
assertions that are known to be false (resp. true).</p>
      <p>As validatable repair plans addressing all defects are not guaranteed to exist
(for instance, if the user knows that some answer is wrong but cannot pinpoint
which assertion is at fault), our aim will be to nd validatable repair plans that
are optimal in the sense that they address as many of the defects as possible.</p>
      <p>We compare repair plans based on the answers they satisfy, an unwanted
answer being satis ed if it does not hold under brave semantics in the resulting
KB, and a wanted answer being satis ed if it has a cause without any con ict
and that does not contain any assertion known to be false (i.e. if it holds under
IAR semantics `for a good reason'). We obtain ve preference relations, taking
into account one or both criteria, combined according to the Pareto principle or
the lexicographic method, and consider global or local optimality for each.</p>
      <p>In order to gain a better understanding of the computational properties of the
di erent ways of ranking repair plans, we study the complexity of deciding if a
given repair plan is optimal w.r.t. the di erent criteria. Our complexity analysis
reveals that the notions of global optimality based upon the preference relations
that take into account both criteria have undesirable computational properties:
even when provided with all relevant user knowledge, it is intractable to
decide whether a given plan is optimal. Moreover, while plans globally optimal
regarding unwanted (resp. wanted) answers can be interactively constructed in
a monotonic fashion by removing further false assertions (resp. and adding
further true assertions), building a globally optimal plan for a preference relation
that involves both unwanted and wanted answers may require backtracking over
answers already satis ed. For the preceding reasons, we target validatable repair
plans that are both globally optimal for unwanted or wanted answers (depending
which is preferred) and locally optimal for the Pareto preference. We give
interactive algorithms for building such repair plans by cleaning the relevant part of
the data, then inserting assertions to create causes for wanted answers that are
not satis ed while preserving already satis ed answers.</p>
      <p>
        For future work, when insertions are needed, it would be helpful to provide
users with suggestions of assertions to add. The framework of query abduction
[
        <xref ref-type="bibr" rid="ref10">10</xref>
        ], recently extended to inconsistent KBs [
        <xref ref-type="bibr" rid="ref12">12</xref>
        ], could provide a starting point.
3
      </p>
    </sec>
    <sec id="sec-3">
      <title>Optimal deletion-only repair plans</title>
      <p>A repair plan is deletion-only when it contains no insertion. In this simpler
setting, the previously introduced notions of optimality collapse. It is possible to
further assist the user by taking advantage of the fact that subsets of the ABox to
remove to address all defects can be automatically identi ed, then interactively
transformed into optimal repair plans. We call such subsets potential solutions.</p>
      <p>We call an assertion relevant if it appears in a cause of some answer or in
the con icts of a cause of some wanted answer. If an assertion appears in
every potential solution, either it is false, or there is no validatable potential
solution. We call such assertions necessarily false. If appears in no potential
solution, it is necessary to keep it to retrieve some wanted answers under IAR
semantics, so either it is not false, or it is not possible to satisfy all wanted
answers. We call such assertions necessarily nonfalse. We believe that validating
sets of necessarily (non)false assertions requires less e ort than hunting for false
assertions among relevant ones. Thus we propose an algorithm for constructing
an optimal deletion-only plan that exploits this idea and uses SAT encodings
to compute the assertions to present to the user. Borrowing ideas from work on
reducing user e ort in interactive revision, e.g. [19, 21], we use a notion of impact
to determine the order of presentation of relevant assertions. We also study the
complexity of the related decision problems.</p>
      <p>
        We made preliminary experiments on core components of the algorithm.
We use the CQAPri benchmark [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ] (available at www.lri.fr/~bourgaux/CQAPri) to
build 26 QRPs, with 8 to 121 answers. In our experiments, deciding if a potential
solution exists, and computing the relevant assertions, takes a few milliseconds.
The di culty of computing the necessarily (non)false assertions correlates with
the number of relevant assertions induced by QRPs and the observed times seem
reasonable in practice. Ranking the remaining relevant assertions based on their
impact is time consuming, so we plan to optimize impact computation.
Acknowledgements This work was supported by contract ANR-12-JS02-007-01.
17. Lembo, D., Lenzerini, M., Rosati, R., Ruzzi, M., Savo, D.F.: Inconsistency-tolerant
semantics for description logics. In: Proceedings of the 4th International Conference
on Web Reasoning and Rule Systems (RR) (2010)
18. Lembo, D., Lenzerini, M., Rosati, R., Ruzzi, M., Savo, D.F.: Query rewriting for
inconsistent DL-Lite ontologies. In: Proceedings of the 5th International Conference
on Web Reasoning and Rule Systems (RR) (2011)
19. Meilicke, C., Stuckenschmidt, H., Tamilin, A.: Supporting manual mapping revision
using logical reasoning. In: Proceedings of the 23rd AAAI Conference on Arti cial
Intelligence (AAAI) (2008)
20. Motik, B., Cuenca Grau, B., Horrocks, I., Wu, Z., Fokoue, A., Lutz, C.: OWL
2 Web Ontology Language pro les. W3C Recommendation (11 December 2012),
available at http://www.w3.org/TR/owl2-profiles/
21. Nikitina, N., Rudolph, S., Glimm, B.: Interactive ontology revision. Journal of Web
Semantics (JWS) 12, 118{130 (2012)
      </p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          1.
          <string-name>
            <surname>Altwaijry</surname>
            ,
            <given-names>H.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Kalashnikov</surname>
            ,
            <given-names>D.V.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Mehrotra</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          :
          <article-title>Query-driven approach to entity resolution</article-title>
          .
          <source>Proceedings of the VLDB Endowment (PVLDB) 6</source>
          (
          <issue>14</issue>
          ),
          <year>1846</year>
          {
          <year>1857</year>
          (
          <year>2013</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          2.
          <string-name>
            <surname>Bergman</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Milo</surname>
            ,
            <given-names>T.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Novgorodov</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Tan</surname>
            ,
            <given-names>W.:</given-names>
          </string-name>
          <article-title>QOCO: A query oriented data cleaning system with oracles</article-title>
          .
          <source>PVLDB</source>
          <volume>8</volume>
          (
          <issue>12</issue>
          ),
          <year>1900</year>
          {
          <year>1911</year>
          (
          <year>2015</year>
          ), http://www.vldb. org/pvldb/vol8/p1900-bergman.pdf
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          3.
          <string-name>
            <surname>Bertossi</surname>
            ,
            <given-names>L.E.</given-names>
          </string-name>
          :
          <article-title>Database Repairing and Consistent Query Answering</article-title>
          .
          <source>Synthesis Lectures on Data Management</source>
          , Morgan &amp; Claypool Publishers (
          <year>2011</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>Bourgaux</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Goasdoue</surname>
            ,
            <given-names>F.</given-names>
          </string-name>
          :
          <article-title>Explaining inconsistency-tolerant query answering over description logic knowledge bases</article-title>
          .
          <source>In: Proceedings of the 30th AAAI Conference on Arti cial Intelligence (AAAI)</source>
          (
          <year>2016</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          5.
          <string-name>
            <surname>Bienvenu</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Bourgaux</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Goasdoue</surname>
            ,
            <given-names>F.</given-names>
          </string-name>
          :
          <article-title>Query-driven repairing of inconsistent DL-Lite knowledge bases</article-title>
          .
          <source>In: Proceedings of the 25th International Joint Conference on Arti cial Intelligence (IJCAI)</source>
          (
          <year>2016</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          6.
          <string-name>
            <surname>Bienvenu</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Ortiz</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          :
          <article-title>Ontology-mediated query answering with data-tractable description logics</article-title>
          .
          <source>In: Lecture Notes of the 11th International Reasoning Web Summer School. LNCS</source>
          , vol.
          <volume>9203</volume>
          , pp.
          <volume>218</volume>
          {
          <fpage>307</fpage>
          . Springer (
          <year>2015</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          7.
          <string-name>
            <surname>Bienvenu</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Rosati</surname>
            ,
            <given-names>R.</given-names>
          </string-name>
          :
          <article-title>Tractable approximations of consistent query answering for robust ontology-based data access</article-title>
          .
          <source>In: Proceedings of the 23rd International Joint Conference on Arti cial Intelligence (IJCAI)</source>
          (
          <year>2013</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          8.
          <string-name>
            <surname>Calvanese</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>De Giacomo</surname>
            ,
            <given-names>G.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>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>Journal of Automated Reasoning (JAR) 39(3)</source>
          ,
          <volume>385</volume>
          {
          <fpage>429</fpage>
          (
          <year>2007</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          9.
          <string-name>
            <surname>Calvanese</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Kharlamov</surname>
            ,
            <given-names>E.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Nutt</surname>
            ,
            <given-names>W.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Zheleznyakov</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          :
          <article-title>Evolution of DL-Lite knowledge bases</article-title>
          .
          <source>In: Proceedings of the 9th International Semantic Web Conference (ISWC)</source>
          (
          <year>2010</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          10.
          <string-name>
            <surname>Calvanese</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Ortiz</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Simkus</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Stefanoni</surname>
            ,
            <given-names>G.</given-names>
          </string-name>
          :
          <article-title>Reasoning about explanations for negative query answers in DL-Lite</article-title>
          .
          <source>Journal of Arti cial Intelligence Research (JAIR) 48</source>
          ,
          <fpage>635</fpage>
          {
          <fpage>669</fpage>
          (
          <year>2013</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          11.
          <string-name>
            <surname>De Giacomo</surname>
            ,
            <given-names>G.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Lenzerini</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Poggi</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Rosati</surname>
          </string-name>
          , R.:
          <article-title>On instance-level update and erasure in description logic ontologies</article-title>
          .
          <source>Journal of Logic and Computation</source>
          <volume>19</volume>
          (
          <issue>5</issue>
          ),
          <volume>745</volume>
          {
          <fpage>770</fpage>
          (
          <year>2009</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref12">
        <mixed-citation>
          12.
          <string-name>
            <surname>Du</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Wang</surname>
            ,
            <given-names>K.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Shen</surname>
            ,
            <given-names>Y.</given-names>
          </string-name>
          :
          <article-title>Towards tractable and practical ABox abduction over inconsistent description logic ontologies</article-title>
          .
          <source>In: Proceedings of the 29th AAAI Conference on Arti cial Intelligence (AAAI)</source>
          (
          <year>2015</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref13">
        <mixed-citation>
          13.
          <string-name>
            <surname>Gutierrez</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Hurtado</surname>
            ,
            <given-names>C.A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Vaisman</surname>
            ,
            <given-names>A.A.</given-names>
          </string-name>
          :
          <article-title>RDFS update: From theory to practice</article-title>
          .
          <source>In: Proceedings of the 8th European Semantic Web Conference (ESWC)</source>
          (
          <year>2011</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref14">
        <mixed-citation>
          14.
          <string-name>
            <surname>Jimenez-Ruiz</surname>
            ,
            <given-names>E.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Grau</surname>
            ,
            <given-names>B.C.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Horrocks</surname>
            ,
            <given-names>I.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Llavori</surname>
          </string-name>
          , R.B.:
          <article-title>Ontology integration using mappings: Towards getting the right logical consequences</article-title>
          .
          <source>In: Proceedings of the 6th European Semantic Web Conference (ESWC)</source>
          (
          <year>2009</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref15">
        <mixed-citation>
          15.
          <string-name>
            <surname>Jimenez-Ruiz</surname>
            ,
            <given-names>E.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Grau</surname>
            ,
            <given-names>B.C.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Horrocks</surname>
            ,
            <given-names>I.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Llavori</surname>
          </string-name>
          , R.B.:
          <article-title>Supporting concurrent ontology development: Framework, algorithms and tool</article-title>
          . Data &amp;
          <article-title>Knowledge Engineering Journal</article-title>
          (DKE)
          <volume>70</volume>
          (
          <issue>1</issue>
          ),
          <volume>146</volume>
          {
          <fpage>164</fpage>
          (
          <year>2011</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref16">
        <mixed-citation>
          16.
          <string-name>
            <surname>Kontokostas</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Westphal</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Auer</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Hellmann</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Lehmann</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Cornelissen</surname>
            ,
            <given-names>R.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Zaveri</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          :
          <article-title>Test-driven evaluation of linked data quality</article-title>
          .
          <source>In: Proceedings of the 23rd International Conference on World Wide Web (WWW)</source>
          (
          <year>2014</year>
          )
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>