<!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>Dismatching and Local Disunification in EL (Extended Abstract)</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Franz Baader</string-name>
          <email>baader@tcs.inf.tu-dresden.de</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Stefan Borgwardt</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Barbara Morawska?</string-name>
          <email>morawska@tcs.inf.tu-dresden.de</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Theoretical Computer Science</institution>
          ,
          <addr-line>TU Dresden</addr-line>
          ,
          <country country="DE">Germany</country>
        </aff>
      </contrib-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>Motivation</title>
      <p>
        Unification in Description Logics was introduced in [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ] as a novel inference service
that can be used to detect redundancies in ontologies. For example, assume that
one developer of a medical ontology defines the concept of a patient with severe
head injury using the EL-concepts
      </p>
      <sec id="sec-1-1">
        <title>Patient u 9 nding:(Head_injury u 9severity:Severe);</title>
        <p>whereas another one represents it as</p>
      </sec>
      <sec id="sec-1-2">
        <title>Patient u 9 nding:(Severe_ nding u Injury u 9 nding_site:Head):</title>
        <p>
          Formally, these expressions are not equivalent, but they are nevertheless meant to
represent the same concept. They can obviously be made equivalent by treating
the concept names Head_injury and Severe_ nding as variables, and substituting
them by Injuryu9 nding_site:Head and 9severity:Severe, respectively. In this case,
we say that the concepts are unifiable, and call the substitution that makes
them equivalent a unifier. In [
          <xref ref-type="bibr" rid="ref5">5</xref>
          ], we were able to show that unification in EL
is NP-complete. The main idea underlying the proof of this result is to show
that any solvable EL-unification problem has a local unifier, i.e., a unifier built
from a polynomial number of atoms (concept names or existential restrictions),
which are determined by the unification problem. This yields a brute-force
NPalgorithm for unification, which guesses a local substitution and then checks (in
polynomial time) whether it is a unifier.
        </p>
        <p>Intuitively, a unifier of two EL concepts proposes definitions for the concept
names that are used as variables: in our example, we know that, if we define
Head_injury as Injury u9 nding_site:Head and Severe_ nding as 9severity:Severe,
then the two concepts (1) and (2) are equivalent w.r.t. these definitions. Of
course, this example was constructed such that the unifier (which is local)
provides sensible definitions for the concept names used as variables. In general, the
existence of a unifier only says that there is a structural similarity between the
two concepts. The developer that uses unification needs to inspect the unifier(s)
to see whether the definitions it suggests really make sense. For example, the
substitution that replaces Head_injury by Patient u Injury u 9 nding_site:Head and
Severe_ nding by Patient u 9severity:Severe is also a local unifier, which however
does not make sense. Unfortunately, even small unification problems like the one
? Supported by DFG under grant BA 1122/14-1
(1)
(2)
in our example can have too many local unifiers for manual inspection. We
propose disunification to avoid local unifiers that do not make sense. In addition to
positive constraints (requiring equivalence or subsumption between concepts), a
disunification problem may also contain negative constraints (preventing
equivalence or subsumption between concepts). In our example, the nonsensical unifier
can be avoided by adding the dissubsumption constraint</p>
        <p>Head_injury 6v? Patient
(3)
to the equivalence constraint (1) ? (2).</p>
        <p>
          Disunification in DLs is closely related to unification and admissibility in
modal logics [
          <xref ref-type="bibr" rid="ref10 ref11 ref12 ref13 ref14 ref15 ref7">7, 10–15</xref>
          ], as well as (dis)unification modulo equational theories [
          <xref ref-type="bibr" rid="ref5 ref6 ref8 ref9">5,
6, 8, 9</xref>
          ]. In the following, we shortly describe the ideas behind our work. More
details can be found in [
          <xref ref-type="bibr" rid="ref2 ref3">2, 3</xref>
          ].
        </p>
      </sec>
    </sec>
    <sec id="sec-2">
      <title>Preliminaries</title>
      <p>We designate certain concept names as variables, while all others are constants.
An EL-concept is ground if it contains no variables. We consider (basic)
disunification problems, which are conjunctions of subsumptions C v? D and
dissubsumptions C 6v? D between concepts C; D.1 A substitution maps each variable
to a ground concept, and can be extended to concepts as usual. A substitution
solves a disunification problem if the (dis)subsumptions of become valid
when applying on both sides. We restrict to a finite signature of concept and
role names and do not allow variables to occur in a solution—it would not make
sense for the new definitions to extend the vocabulary of the ontologies under
consideration, nor to define variables in terms of themselves.</p>
      <p>In the following, we consider a flat disunification problem , i.e. one that
contains only (dis)subsumptions where both sides are conjunctions of flat atoms
of the form A or 9r:A, for a role name r and a concept name A. We denote
by At the set of all such atoms that occur in , by Var the set of variables
occurring in , and by Atnv := At n Var the set of non-variable atoms of . Let
S : Var ! 2Atnv be an assignment, i.e. a function that assigns to each variable
X 2 Var a set SX Atnv. The relation &gt;S on Var is defined as the transitive
closure of f(X; Y ) 2 Var2 j Y occurs in an atom of SX g. If &gt;S is irreflexive,
then S is called acyclic. In this case, we can define the substitution S
inductively along &gt;S as follows: if X is minimal, then S (X) := dD2SX D;
otherwise, assume that S (Y ) is defined for all Y 2 Var with X &gt; Y , and define</p>
      <p>S (X) := dD2SX S (D). All substitutions of this form are called local.</p>
    </sec>
    <sec id="sec-3">
      <title>Results</title>
      <p>
        Unification in EL is local : each problem can be transformed into an equivalent
flat problem that has a local solution iff is solvable, and hence (general)
solvability of unification problems in EL is in NP [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ]. However, disunification in EL
1 A unification problem contains only subsumptions.
is not local in this sense: consider
      </p>
      <p>:= fX v? B; A u B u C v? X; 9r:X v? Y; &gt; 6v? Y; Y 6v? 9r:Bg
with variables X; Y and constants A; B; C. If we set (X) := A u B u C and
(Y ) := 9r:(A u C), then is a solution of that is not local. This is because
9r:(A u C) is not a substitution of any non-variable atom in . Assume now
that has a local solution . Since must solve the first dissubsumption, (Y )
cannot be &gt;, and due to the third subsumption, none of the constants A; B; C
can be a conjunct of (Y ). The remaining atoms 9r: (X) and 9r:B are ruled
out by the last dissubsumption since both (X) and B are subsumed by B. This
shows that cannot have a local solution, although it is solvable.</p>
      <p>The decidability and complexity of general solvability of disunification
problems is still open. However, we can show that each dismatching problem ,
which is a disunification problem where one side of each dissubsumption must
be ground, can be polynomially reduced to a flat problem that has a local
solution iff is solvable. This shows that deciding solvability of dismatching problems
in EL is in NP. The main idea is to introduce auxiliary variables and flat atoms
that allow us to solve the dissubsumptions using a local substitution. For
example, we replace the dissubsumption &gt; 6v? Y from above with Y v? 9r:Z. The
rule we applied here is the following:
Solving Left-Ground Dissubsumptions:</p>
      <p>Condition: This rule applies to s = C1 u u Cn 6v? X if X is a variable and
C1; : : : ; Cn are ground atoms.</p>
      <p>Action: Choose one of the following options:
– Choose a constant A 2 , replace s by X v? A. If C1 u u Cn v A, then fail.
– Choose a role r 2 , introduce a new variable Z, replace s by X v? 9r:Z,</p>
      <p>C1 6v? 9r:Z, . . . , Cn 6v? 9r:Z.</p>
      <p>According to the rule, we can choose a constant or create a new existential
restriction with a fresh variable, and use it in the new subsumption and
dissubsumptions. In our example the left hand side of the dissubsumption &gt; 6v? Y is
empty, hence only a subsumption is produced.</p>
      <p>
        However, the brute-force NP-algorithm for checking local solvability of the
resulting flat disunification problem is hardly practical. For this reason, we have
extended the rule-based algorithm from [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ] and the SAT reduction from [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ] by
additional rules and propositional clauses, respectively, to deal with
dissubsumptions. The reason we extend both algorithms is that, in the case of unification,
they have proved to complement each other well in first evaluations [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ]: the
goal-oriented algorithm needs less memory and finds minimal solutions faster,
while the SAT reduction generates larger data structures, but outperforms the
goal-oriented algorithm on unsolvable problems. The SAT reduction has been
implemented in our prototype system UEL.2 First experiments show that
dismatching is indeed helpful for reducing the number and the size of unifiers. The
runtime performance of the solver for dismatching problems is comparable to
the one for pure unification problems.
2 version 1.3.0, available at http://uel.sourceforge.net/
      </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>Borgwardt</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Mendez</surname>
            ,
            <given-names>J.A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Morawska</surname>
            ,
            <given-names>B.</given-names>
          </string-name>
          :
          <article-title>UEL: Unification solver for EL</article-title>
          . In: Kazakov,
          <string-name>
            <given-names>Y.</given-names>
            ,
            <surname>Lembo</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            ,
            <surname>Wolter</surname>
          </string-name>
          ,
          <string-name>
            <surname>F</surname>
          </string-name>
          . (eds.)
          <source>Proc. of the 25th Int. Workshop on Description Logics (DL'12)</source>
          .
          <source>CEUR Workshop Proceedings</source>
          , vol.
          <volume>846</volume>
          , pp.
          <fpage>26</fpage>
          -
          <lpage>36</lpage>
          (
          <year>2012</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          2.
          <string-name>
            <surname>Baader</surname>
            ,
            <given-names>F.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Borgwardt</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Morawska</surname>
            ,
            <given-names>B.</given-names>
          </string-name>
          :
          <article-title>Dismatching and local disunfication in EL</article-title>
          .
          <source>LTCS-Report 15-03</source>
          ,
          <article-title>Chair for Automata Theory</article-title>
          , TU Dresden, Germany (
          <year>2015</year>
          ), see http://lat.inf.tu-dresden.de/research/reports.html.
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          3.
          <string-name>
            <surname>Baader</surname>
            ,
            <given-names>F.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Borgwardt</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Morawska</surname>
            ,
            <given-names>B.</given-names>
          </string-name>
          :
          <article-title>Dismatching and local disunification in EL</article-title>
          . In: Fernández, M. (ed.)
          <source>Proc. of the 26th Int. Conf. on Rewriting Techniques and Applications (RTA'15)</source>
          .
          <source>LIPIcs</source>
          , vol.
          <volume>36</volume>
          .
          <string-name>
            <surname>Dagstuhl Publishing</surname>
          </string-name>
          (
          <year>2015</year>
          ), to appear.
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          4.
          <string-name>
            <surname>Baader</surname>
            ,
            <given-names>F.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Morawska</surname>
            ,
            <given-names>B.</given-names>
          </string-name>
          :
          <article-title>SAT encoding of unification in EL</article-title>
          . In: Fermüller,
          <string-name>
            <given-names>C.G.</given-names>
            ,
            <surname>Voronkov</surname>
          </string-name>
          ,
          <string-name>
            <surname>A</surname>
          </string-name>
          . (eds.)
          <source>Proc. of the 17th Int. Conf. on Logic for Programming</source>
          ,
          <source>Artificial Intelligence, and Reasoning (LPAR'10). Lecture Notes in Computer Science</source>
          , vol.
          <volume>6397</volume>
          , pp.
          <fpage>97</fpage>
          -
          <lpage>111</lpage>
          . Springer-Verlag (
          <year>2010</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          5.
          <string-name>
            <surname>Baader</surname>
            ,
            <given-names>F.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Morawska</surname>
            ,
            <given-names>B.</given-names>
          </string-name>
          :
          <article-title>Unification in the description logic EL</article-title>
          .
          <source>Logical Methods in Computer Science</source>
          <volume>6</volume>
          (
          <issue>3</issue>
          ) (
          <year>2010</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          6.
          <string-name>
            <surname>Baader</surname>
            ,
            <given-names>F.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Narendran</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          :
          <article-title>Unification of concept terms in description logics</article-title>
          .
          <source>J. of Symbolic Computation</source>
          <volume>31</volume>
          (
          <issue>3</issue>
          ),
          <fpage>277</fpage>
          -
          <lpage>305</lpage>
          (
          <year>2001</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          7.
          <string-name>
            <surname>Babenyshev</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Rybakov</surname>
            ,
            <given-names>V.V.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Schmidt</surname>
            ,
            <given-names>R.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Tishkovsky</surname>
            ,
            <given-names>D.:</given-names>
          </string-name>
          <article-title>A tableau method for checking rule admissibility in S4</article-title>
          .
          <source>In: Proc. of the 6th Workshop on Methods for Modalities (M4M-6)</source>
          . Copenhagen (
          <year>2009</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          8.
          <string-name>
            <surname>Buntine</surname>
            ,
            <given-names>W.L.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Bürckert</surname>
          </string-name>
          , H.J.:
          <article-title>On solving equations and disequations</article-title>
          .
          <source>J. of the ACM</source>
          <volume>41</volume>
          (
          <issue>4</issue>
          ),
          <fpage>591</fpage>
          -
          <lpage>629</lpage>
          (
          <year>1994</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          9.
          <string-name>
            <surname>Comon</surname>
          </string-name>
          , H.:
          <article-title>Disunification: A survey</article-title>
          . In: Lassez,
          <string-name>
            <given-names>J.L.</given-names>
            ,
            <surname>Plotkin</surname>
          </string-name>
          ,
          <string-name>
            <surname>G</surname>
          </string-name>
          . (eds.) Computational Logic: Essays in Honor of Alan Robinson, pp.
          <fpage>322</fpage>
          -
          <lpage>359</lpage>
          . MIT Press, Cambridge, MA (
          <year>1991</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          10.
          <string-name>
            <surname>Ghilardi</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          :
          <article-title>Unification through projectivity</article-title>
          .
          <source>Journal of Logic and Computation</source>
          <volume>7</volume>
          (
          <issue>6</issue>
          ),
          <fpage>733</fpage>
          -
          <lpage>752</lpage>
          (
          <year>1997</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          11.
          <string-name>
            <surname>Ghilardi</surname>
            ,
            <given-names>S.:</given-names>
          </string-name>
          <article-title>Unification in intuitionistic logic</article-title>
          .
          <source>Journal of Logic and Computation</source>
          <volume>64</volume>
          (
          <issue>2</issue>
          ),
          <fpage>859</fpage>
          -
          <lpage>880</lpage>
          (
          <year>1999</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref12">
        <mixed-citation>
          12.
          <string-name>
            <surname>Iemhoff</surname>
            ,
            <given-names>R.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Metcalfe</surname>
          </string-name>
          , G.:
          <article-title>Proof theory for admissible rules</article-title>
          .
          <source>Annals of Pure and Applied Logic</source>
          <volume>159</volume>
          (
          <issue>1-2</issue>
          ),
          <fpage>171</fpage>
          -
          <lpage>186</lpage>
          (
          <year>2009</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref13">
        <mixed-citation>
          13.
          <string-name>
            <surname>Rybakov</surname>
            ,
            <given-names>V.V.</given-names>
          </string-name>
          :
          <article-title>Admissibility of logical inference rules</article-title>
          ,
          <source>Studies in Logic and the Foundations of Mathematics</source>
          , vol.
          <volume>136</volume>
          . North-Holland Publishing Co.,
          <string-name>
            <surname>Amsterdam</surname>
          </string-name>
          (
          <year>1997</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref14">
        <mixed-citation>
          14.
          <string-name>
            <surname>Rybakov</surname>
          </string-name>
          , V.V.
          <article-title>: Multi-modal and temporal logics with universal formula - reduction of admissibility to validity and unification</article-title>
          .
          <source>Journal of Logic and Computation</source>
          <volume>18</volume>
          (
          <issue>4</issue>
          ),
          <fpage>509</fpage>
          -
          <lpage>519</lpage>
          (
          <year>2008</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref15">
        <mixed-citation>
          15.
          <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>Undecidability of the unification and admissibility problems for modal and description logics</article-title>
          .
          <source>ACM Transactions on Computational Logic</source>
          <volume>9</volume>
          (
          <issue>4</issue>
          ),
          <volume>25</volume>
          :
          <fpage>1</fpage>
          -
          <lpage>25</lpage>
          :
          <fpage>20</fpage>
          (
          <year>2008</year>
          )
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>