<!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>An Approach for Repairing Incoherent Ontologies</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Ying Li</string-name>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Patrick Lambrix</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
          <xref ref-type="aff" rid="aff1">1</xref>
          <xref ref-type="aff" rid="aff2">2</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Department of Building Engineering</institution>
          ,
          <addr-line>Energy Systems and Sustainability Science</addr-line>
          ,
          <institution>University of Gavle</institution>
          ,
          <country country="SE">Sweden</country>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>Department of Computer and Information Science, Linkoping University</institution>
          ,
          <country country="SE">Sweden</country>
        </aff>
        <aff id="aff2">
          <label>2</label>
          <institution>The Swedish e-Science Research Centre, Linkoping University</institution>
          ,
          <country country="SE">Sweden</country>
        </aff>
      </contrib-group>
      <abstract>
        <p>The quality of ontologies and their alignments is crucial for developing high-quality ontology-based applications. In this paper we propose an approach for repairing incoherent ontologies and ontology networks that is based on axiom weakening and completion.1</p>
      </abstract>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>Introduction</title>
      <p>
        As ontologies become more prevalent and are used extensively in many
different domains, the quality of ontologies and ontology networks, i.e., a set of
ontologies connected through alignments, has become a key factor for
supporting semantically-enabled applications. Therefore, ontologies with defects need
to be repaired. One kind of defect that often occurs is the fact that the
ontology or ontology network is incoherent, i.e., it contains unsatis able concepts.
After a detection phase that nds the unsatis able concepts, a common method
for repairing is to nd justi cations for the unsatis ability and remove axioms
in these justi cations. For an overview of methods and examples, we refer to
[
        <xref ref-type="bibr" rid="ref6">6</xref>
        ]. However, most approaches su er the following issues. First, they are purely
logic-based and therefore may remove correct axioms (e.g., [
        <xref ref-type="bibr" rid="ref8">8</xref>
        ]). Therefore, in the
formalization of the repairing problem in [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ] it is suggested that an oracle (e.g.,
a domain expert) is involved in validating logical solutions. Furthermore,
removing an axiom may remove more knowledge than necessary. Sometimes it may be
enough to replace an axiom with a weakened version of the axiom (e.g., [
        <xref ref-type="bibr" rid="ref1 ref9">9,1</xref>
        ]).
Further, weakening axioms may also be seen as removing the axiom and then
adding the weakened axiom. When adding axioms we can perform completion
as de ned in [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ] to add more correct knowledge than just the axiom.
      </p>
      <p>In this paper we propose an approach for repairing incoherent ontologies that
deals with these issues using axiom weakening and completion. The approach
also uses an oracle in di erent validation steps. Furthermore, the approach can
directly be applied to ontology networks by considering the mappings in the
ontologies as axioms and thus considering the ontology network as one ontology.
1 Copyright © 2021 for this paper by its authors. Use permitted under Creative</p>
      <p>Commons License Attribution 4.0 International (CC BY 4.0).</p>
      <p>In this case repairing the ontology may remove or weaken both axioms in the
ontologies or in the mappings. We can also de ne a variant of the approach that
deals with mapping repair, as most current approaches assume the knowledge
in the ontologies is correct and only mappings may be removed or weakened.
2</p>
    </sec>
    <sec id="sec-2">
      <title>Repairing incoherence</title>
      <p>In this paper we deal with the taxonomic part of the ontology, i.e., subsumption
axioms between named concepts in the ontology. Equivalence axioms are treated
as two subsumption axioms. We assume that we have a set of axioms W that
when removed from the ontology lead to a coherent ontology. This set could be
obtained by using a traditional approach for ontology debugging together with
domain expert validation of the proposed solutions. Instead of just removing
these axioms our approach will try to keep more knowledge in the ontology.
Algorithm 1 Repairing Algorithm</p>
      <p>Input: An incoherent ontology O, a set of unwanted axioms W</p>
      <p>Output: A coherent ontology Or that repairs O
1: Or O
2: for each
3:
4:
5:
6:
7:
8:
9:
10:
11: Or
12: end for</p>
      <p>v 2 W do
Or Ornf v g
wsup f sp 2 sup( ) j Or 2 v sp ^ Or( v sp) = True ^ : 9 sp0 2 sup( ):
(Or( v sp0) = True ^ sp0 @ sp) g</p>
      <p>Rw ?
for each sp 2 wsup do</p>
      <p>Source sup( ) sup(sp), T arget (sub(sp) sub( )) sub( )</p>
      <p>W R f w v w j w 2 Source ^ w 2 T arget ^ Or( w v w) = True
^ : 9 w0 v w0: (Or( 0w v w0) = True ^ ( w @ w0 _ w0 @ w))</p>
      <p>Rw Rw [ W R
end for</p>
      <p>Or [ Rw</p>
      <p>Given an incoherent ontology O, Algorithm 1 describes the general process
of repairing. In the algorithm we denote with sup(A) the set of all the
superconcepts of a concept A and with sub(A) the set of all the sub-concepts of A.
Further, the oracle Or represents the domain expert and assigns a truth value
True or False to an axiom. For every unwanted axiom v we remove it from
the ontology (line 3) and try to weaken it by nding axioms of the form v sp
with sp a super-concept of , that are correct according to the domain expert
and retain the most knowledge. The set wsup collects concepts sp that satisfy
these requirements (line 4).</p>
      <p>
        Further, we try to nd improved axioms for a weakened axiom and collect
these in the set W R. We try to improve a weakened axiom by nding an w v
w that is correct according to the domain expert and such that v w and w
v sp. We call this completing as in [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ]. In that case we know that v sp can
be derived from these axioms. The Source set collects the candidates for w. It
(a) An incoherent ontology (b) A coherent ontology after repairing
      </p>
      <p>
        Fig. 1. An example of repairing an incoherent ontology
contains all super-concepts of that are not super-concepts of sp. The latter are
removed to not introduce equivalence relations between concepts that are not
equivalent in the original ontology. The Target set collects the candidates for w.
It contains all sub-concepts of sp that are not sub-concepts of and are not
subconcepts of . The sub-concepts of are removed to not introduce equivalence
relations between concepts that are not equivalent in the original ontology. The
sub-concepts of are removed to not re-introduce the derivation of the unwanted
axiom v . Furthermore, we also want to keep as much knowledge as possible
(line 7-8). Note that it may be the case that W R contains the weakened axiom
itself. Rw is the union of all the W R (lines 5 and 9). The ontology is updated
by adding completed weakened axioms in case such were found (line 11). In the
terminology of [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ] the suggested repair by this algorithm is more complete than
the repair that only removes the unwanted axioms.
      </p>
      <p>We exemplify our approach using the ontology shown in Fig.1a. In this
ontology, concept P is unsatis able (as it is sub-concept of A and I which are
disjoint). A domain expert that validates the result of a debugging system may
decide that W = fK v Ag is a set of incorrect axioms. In Algorithm 1 this axiom
is removed from the ontology. Then weakened axioms of the form K v sp with
sp a super-concept of A are computed. These need to be true according to the
domain expert and sp needs to be as speci c as possible to keep as much
knowledge as possible. In this case we may get wsup = fXg representing the weakened
axioms set fK v Xg. Then, we try to improve the weakened axioms by
completing. Here, the computed source and target sets are sourceKvX = fK; T g and
targetKvX = fX; Sg. The completed axioms are then K v X, K v S, T v X
and T v S. A domain expert validates these and retains the one(s) that keep the
most knowledge. Assuming Or(T v S) = True, the completed weakened axioms
set RKvA is fT v Sg. The repaired ontology is shown in Fig 1b.
3</p>
    </sec>
    <sec id="sec-3">
      <title>Experiment</title>
      <p>We can use the algorithm also for ontology networks. In the rst variant the
network is considered as one large ontology and no distinction is made between
mappings and axioms in the ontologies. In this case Algorithm 1 can be used
as is. In many current approaches for alignment repair, however, only mappings
are removed. In this case we can use a variant of Algorithm 1 (variant 2) that
distinguishes between axioms and mappings, and only mappings are removed
and weakened.</p>
      <p>
        We used the ontologies MA and NCI-A from the OAEI Anatomy track [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ] and
alignments from 2018 generated by AML without its repair module (denoted as
AML-Map) [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ] and LogMapLite [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ]. For each alignment together with MA and
NCI-A an incoherent network was produced and repaired. We used OntoDebug
in Protege to generate maximum 9 repairs (default setting) that we could use as
W in Algorithm 1. We removed the repairs with disjointness axioms. As we did
not have a domain expert, we used the remaining repairs for W . For AML-Map
this gave us 1 repair with only mappings (which can be used in variants 1 and
2) and 8 repairs where both axioms and mappings are used (which can only
be used in variant 1). The number of axioms and mappings in a repair ranged
from 1 to 4. For LogMapLite there were 3 repairs with axioms and mappings,
but none with only mappings. The number of axioms and mappings in a repair
was always 2. For each of the repairs generated in this session each axiom and
each mapping led to 1 weakened axiom or mapping each. This means that for
each suggested repair by OntoDebug it was possible to nd a way to keep more
knowledge in the ontology than when the axioms and mappings in the repair were
removed (depending on the validation of the domain expert). Furthermore, for
this example the source sets of the weakened axioms were always singletons, but
the sizes of the target sets ranged from several hundreds to over 3000 elements.
Thus, depending on the validation of the domain expert, more knowledge could
be added to the ontology. In future work we will investigate deeper into more
possible repairs and have domain experts validate the axioms and mappings in
each step of the approach.
4
      </p>
    </sec>
    <sec id="sec-4">
      <title>Conclusion and Future work</title>
      <p>
        In this paper, we proposed an approach for repairing incoherent ontologies which
focuses on preserving as much knowledge as possible. It combines a debugging
approach, an axiom weakening approach and a completion approach together
with domain expert validation. We intend to integrate the approach within the
RepOSE system [
        <xref ref-type="bibr" rid="ref4 ref7">7,4</xref>
        ]. Furthermore, we will investigate the in uence of other
logical constructs in ontology representation languages and use our approach on
ontologies that we are developing in other domains.
      </p>
      <p>Acknowledgements. This work has been nancially supported by the Swedish
e-Science Research Centre (SeRC), the Swedish Research Council (Vetenskapsradet,
dnr 2018-04147), and the Swedish Agency for Economic and Regional Growth
(Tillvaxtverket).</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          1.
          <string-name>
            <surname>Baader</surname>
            ,
            <given-names>F.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Kriegel</surname>
            ,
            <given-names>F.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Nuradiansyah</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          , Pen~aloza, R.:
          <article-title>Making repairs in description logics more gentle</article-title>
          .
          <source>In: KR</source>
          . pp.
          <volume>319</volume>
          {
          <issue>328</issue>
          (
          <year>2018</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          2.
          <string-name>
            <surname>Dragisic</surname>
            ,
            <given-names>Z.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Ivanova</surname>
            ,
            <given-names>V.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Li</surname>
            ,
            <given-names>H.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Lambrix</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          :
          <article-title>Experiences from the anatomy track in the ontology alignment evaluation initiative</article-title>
          .
          <source>J Biomed Semant</source>
          <volume>8</volume>
          (
          <issue>1</issue>
          ) (
          <year>2017</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          3.
          <string-name>
            <surname>Faria</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Pesquita</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Santos</surname>
            ,
            <given-names>E.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Palmonari</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Cruz</surname>
            ,
            <given-names>I.F.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Couto</surname>
            ,
            <given-names>F.M.:</given-names>
          </string-name>
          <article-title>The agreementmakerlight ontology matching system</article-title>
          .
          <source>In: OTM</source>
          . pp.
          <volume>527</volume>
          {
          <issue>541</issue>
          (
          <year>2013</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          4.
          <string-name>
            <surname>Ivanova</surname>
            ,
            <given-names>V.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Lambrix</surname>
            ,
            <given-names>P.:</given-names>
          </string-name>
          <article-title>A uni ed approach for aligning taxonomies and debugging taxonomies and their alignments</article-title>
          .
          <source>In: ESWC</source>
          . pp.
          <volume>1</volume>
          {
          <issue>15</issue>
          (
          <year>2013</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          5.
          <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>Cross</surname>
            ,
            <given-names>V.</given-names>
          </string-name>
          :
          <article-title>Logmap family participation in the OAEI 2017</article-title>
          . In: Ontology Matching Workshop. vol.
          <year>2032</year>
          , pp.
          <volume>153</volume>
          {
          <issue>157</issue>
          (
          <year>2017</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          6.
          <string-name>
            <surname>Lambrix</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          :
          <article-title>Completing and debugging ontologies: state of the art and challenges (</article-title>
          <year>2020</year>
          ), arXiv:
          <year>1908</year>
          .03171
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          7.
          <string-name>
            <surname>Lambrix</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Ivanova</surname>
          </string-name>
          , V.:
          <article-title>A uni ed approach for debugging is-a structure and mappings in networked taxonomies</article-title>
          .
          <source>J Biomed Semant</source>
          <volume>4</volume>
          ,
          <issue>10</issue>
          (
          <year>2013</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          8.
          <string-name>
            <surname>Pesquita</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Faria</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Santos</surname>
            ,
            <given-names>E.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Couto</surname>
            ,
            <given-names>F.M.:</given-names>
          </string-name>
          <article-title>To repair or not to repair: reconciling correctness and coherence in ontology reference alignments</article-title>
          .
          <source>In: Ontology Matching Workshop</source>
          . pp.
          <volume>13</volume>
          {
          <issue>24</issue>
          (
          <year>2013</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          9.
          <string-name>
            <surname>Troquard</surname>
            ,
            <given-names>N.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Confalonieri</surname>
            ,
            <given-names>R.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Galliani</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          , Pen~aloza, R.,
          <string-name>
            <surname>Porello</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Kutz</surname>
            ,
            <given-names>O.</given-names>
          </string-name>
          :
          <article-title>Repairing ontologies via axiom weakening</article-title>
          .
          <source>In: AAAI</source>
          . pp.
          <year>1981</year>
          {
          <year>1988</year>
          (
          <year>2018</year>
          )
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>