<!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>Inconsistency-tolerant Forgetting in DL-lite</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Peng Xiao</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Kewen Wang</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Zhe Wang</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Gri th University</institution>
          ,
          <country country="AU">Australia</country>
        </aff>
      </contrib-group>
      <abstract>
        <p>In ontology engineering, it is essential to develop techniques for module extraction, ontology reuse and ontology comparison. Since it was introduced in DL-Lite [1], forgetting has become into a major method of extracting modules in DL ontologies. It has been applied in some other domains such as ontology comparison [2]. Given a (consistent) ontology K and a set of concepts and roles F , the result of forgetting is a new ontology K0 that does not contain symbols in F and preserves certain reasoning or query answering tasks. In existing approaches, forgetting is de ned for only consistent ontologies. However, ontologies can be error-prone and inconsistent. To our best knowledge, the problem of establishing a framework for inconsistent ontologies has not been investigated yet. In order to provide a de nition of forgetting for a possibly inconsistent DL ontology, we could rst repair it and then perform standard forgetting on the repaired ontology. However, there are some issues with this naive approach. In particular, it can give unwanted results for some ontologies. Example 1. Let K = hT ; Ai, where T = fA v D; B v C; A v :Bg and A = fA(a); B(a)g. Then K has two repairs (or maximal consistent components) fA(a)g and fB(a)g. The forgetting results of B in these repairs are K1 = hT 0; fA(a)gi, K2 = hT 0; fC(a)gi, respectively, where T 0 = fA v Dg. Under the semantics IAR for inconsistencytolerant querying, K 6j=IAR C(a), K 6j=AR C(a), and K j=CAR D(a). Apparently, these querying results are not satis ed in K1 or K2.</p>
      </abstract>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>Introduction</title>
      <p>DL-lite An ontology in DL-lite is a pair K = hT ; Ai, where T is a set of inclusion
axioms and A is a set of assertions. The concepts and roles of DL-litecore are de ned
by</p>
      <p>B ! A j 9R;</p>
      <p>R ! P j P ;</p>
      <p>C ! B j :B
where A is a concept name and R is a role name.</p>
      <p>An inclusion axiom in DL-litecore is of the form B v C. An assertion is of the
form A(a) or R(a; b), where a and b are individuals.</p>
      <p>The semantics of DL-lite is omitted here.</p>
      <p>
        Inconsistency-tolerant query answering We consider four inconsistency-tolerant
semantics AR, IAR, CAR, ICAR [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ]. For a possibly inconsistent pair of a TBox T and
an ABox A, a repair A0 of A w.r.t. T is a maximal subset of A such that T [ A0 is
consistent. Let repairT (A) consist of all the repairs of A w.r.t. T , and clcT (A) consist
of all the ABox assertions s.t. T [ A0 j= for some A0 2 repairT (A). The
entailment of a Boolean conjunctive query (BCQ) q according to a inconsistency-tolerant
semantics is de ned in Table 2.
      </p>
      <p>AR
IAR
CAR
ICAR</p>
      <p>T [ A j= q if
for each A0 2 repairT (A), T [ A0 j= q</p>
      <p>T [ TA02repairT (A) A0 j= q
for each A0 2 repairT (clcT (A)), T [ A0 j= q</p>
      <p>T [ TA02repairT (clcT (A)) A0 j= q
In this section, we introduce a de nition of forgetting for inconsistent KBs and present
two useful properties. Our de nition is quite general and actually applies to any DLs.</p>
      <p>The signature of a TBox T , denoted sig(T ) is the set of concept names and role
names that occur in T . This notion extends to TBox axioms, ABox assertions, ABoxes
and KBs. As with inconsistency-tolerant query answering approaches, we assume the
TBox is consistent. For a DL L and a signature , TBox T 0 is a result of L-forgetting
about in T , if T 0 j= i T j= for each TBox axiom in L over sig(T ) n .
De nition 1. For a DL L, a (possible inconsistent) KB K = T [ A in L, a signature
and an inconsistency-tolerant semantics , a consistent KB K0 = T 0 [ A0 is a
result of -forgetting about in K if (1) sig(K0) sig(K) n , (2) T 0 is a result of
L-forgetting about in T , and (3) for any BCQ q over sig(K) n , K0 j= q i K j= q.</p>
      <p>A result of -forgetting is a consistent KB that has exactly the same logical
consequences (i.e., TBox axioms and BCQs) as the initial KB (under semantics) over
the remaining signature. The de nition does not suggest the existence of forgetting.
In fact it is well known that L-forgetting does not always exist for basic DLs such as
E L and ALC. Yet we show that -forgetting always exists for DL-Litecore.
Theorem 1. For a KB K in DL-litecore and a signature , a result of -forgetting
about in K exists for any inconsistency-tolerant semantics .</p>
      <p>For DL-litecore KBs, it is e cient to compute their IAR and ICAR forgettings.
Theorem 2. In DL-Litecore, the computation of -forgetting is in P for
or ICAR with respect to data complexity.
being IAR</p>
      <p>The intuition behind this result is that forgetting under IAR and ICAR can be
computed by removing all the con icts (i.e., facts that lead to inconsistency) from the
KB and then perform the standard de nition of forgetting for consistent KBs. These
two steps can be done in polynomial time.
4</p>
    </sec>
    <sec id="sec-2">
      <title>Implementation and Experimental Results</title>
      <p>
        Because of the linear property of axioms in DL-litecore, DL-litecore KBs can be stored
in directed binary graphs, thus some reasoning tasks can be naturally captured by
traversals of such graphs. We have implemented a prototype system with Neo4j1
for computing IAR concept forgetting in DL-litecore, using a graph-based algorithm.
Speci cally, given a DL-litecore KB K, and a set of concepts to forget from K,
we rst transfer K into a directed graph GK where each node of GK represents a
general concept or an individual of K, and each edge of GK represents an inclusion or
membership assertion of K [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ]. Then the graph is processed in two steps:
1. For every pair of contradicting concepts in GK, we calculate individual nodes
that have access to both of them, thus we obtain all the membership edges that
represent con icts of K, which are then removed from GK.
2. For nodes representing concepts in , we build edges between their predecessors
and successors, and then remove all edges related to them.
      </p>
      <p>:D
9R</p>
      <p>C
B
A
b
a</p>
      <p>D
9S
:D
9R</p>
      <p>C
B
A
b
a</p>
      <p>D
9S</p>
      <p>
        We use a modi ed version of LUBM with auto-generated inconsistent ABox data
[
        <xref ref-type="bibr" rid="ref3">3</xref>
        ] as our benchmark. Di erent sets of concept names with size of 40 are randomly
1 https://neo4j.com/
selected to be forgot from the KBs in the modi ed LUBM, average times that are
taken by Step 1, Step 2 and the whole process, and sizes of the results of forgetting
are recorded. All experiments are conducted on a server with Intel Xeon E5-1603 2.80
GHz CPU and 16GB of RAM, running Linux mint 17 OS, and Java 1.8 with 6GB.
      </p>
      <p>Some experimental results are shown in Table 4, where Anm denotes an ABox
containing the data of n universities and inconsistencies added with probability of m.</p>
      <p>For the largest ABox with up to 2 million assertions, our algorithm can still solve
the problem in around one minute. In all cases, the size of the resulting KB is
considerably larger than the original one, which is not surprising because a large number of
concepts related to facts are forgotten. We can also see that the ratio of inconsistencies
contributes little to the cost of computation.</p>
    </sec>
    <sec id="sec-3">
      <title>Future Issues</title>
      <p>
        We plan to adapt the proposed approach to some other non-standard reasoning
supports for ontologies, such as query explanation (abduction) [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ].
      </p>
    </sec>
    <sec id="sec-4">
      <title>Acknowledgement</title>
      <p>This work was partially supported by the Australian Research Council (ARC) under
grant DP130102302.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          1.
          <string-name>
            <surname>Wang</surname>
            ,
            <given-names>Z.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Wang</surname>
            ,
            <given-names>K.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Topor</surname>
            ,
            <given-names>R.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Pan</surname>
            ,
            <given-names>J. Z.</given-names>
          </string-name>
          <article-title>Forgetting concepts in DL-Lite</article-title>
          .
          <source>In Proc. 5th ESWC</source>
          , pages
          <fpage>245</fpage>
          -
          <lpage>257</lpage>
          ,
          <year>2008</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          2.
          <string-name>
            <surname>Kontchakov</surname>
            ,
            <given-names>R.</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>Logic-based ontology comparison and module extraction, with an application to DL-Lite</article-title>
          . Artif. Intell.,
          <volume>174</volume>
          :
          <fpage>1093</fpage>
          {
          <fpage>1141</fpage>
          ,
          <year>2010</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          3.
          <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>Querying inconsistent description logic knowledge bases under preferred repair semantics</article-title>
          .
          <source>In Proc. 28th AAAI</source>
          , pages
          <volume>996</volume>
          {
          <fpage>1002</fpage>
          ,
          <year>2014</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          4.
          <string-name>
            <surname>Qi</surname>
            ,
            <given-names>G.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Wang</surname>
            ,
            <given-names>Z.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Wang</surname>
            ,
            <given-names>K.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Fu</surname>
            ,
            <given-names>X.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Zhuang</surname>
            ,
            <given-names>Z.</given-names>
          </string-name>
          <article-title>Approximating model-based ABox revision in DL-Lite: Theory and Practice</article-title>
          .
          <source>In Proc. 29th AAI</source>
          , pages
          <volume>254</volume>
          {
          <fpage>260</fpage>
          ,
          <year>2015</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          5.
          <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>
          ,
          <string-name>
            <surname>Ruzzi</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          <article-title>Inconsistency-tolerant semantics for description logics</article-title>
          .
          <source>In Proc. 4th RR</source>
          , pages
          <volume>103</volume>
          {
          <fpage>117</fpage>
          ,
          <year>2010</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          6.
          <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. D.</given-names>
          </string-name>
          <article-title>Towards tractable and practical ABox abduction over inconsistent description logic ontologies</article-title>
          .
          <source>In Proc. 29th AAAI</source>
          , pages
          <volume>1489</volume>
          {
          <fpage>1495</fpage>
          ,
          <year>2015</year>
          .
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>