<!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>Restricted Unification in the DL F L0 (Extended Abstract)?</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Franz Baader</string-name>
          <email>franz.baader@tu-dresden.de</email>
          <xref ref-type="aff" rid="aff1">1</xref>
          <xref ref-type="aff" rid="aff2">2</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Oliver Fernández Gil</string-name>
          <email>oliver.fernandez@tu-dresden.de</email>
          <xref ref-type="aff" rid="aff1">1</xref>
          <xref ref-type="aff" rid="aff2">2</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Maryam Rostamigiv</string-name>
          <email>Maryam.Rostamigiv@irit.fr</email>
          <xref ref-type="aff" rid="aff0">0</xref>
          <xref ref-type="aff" rid="aff2">2</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Département d'Informatique, Paul Sabatier University</institution>
          ,
          <addr-line>Toulouse</addr-line>
          ,
          <country country="FR">France</country>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>Theoretical Computer Science, TU Dresden</institution>
          ,
          <addr-line>Dresden</addr-line>
          ,
          <country country="DE">Germany</country>
        </aff>
        <aff id="aff2">
          <label>2</label>
          <institution>Unification in</institution>
        </aff>
      </contrib-group>
      <abstract>
        <p>Unification of concept patterns has been proposed as an inference service in Description Logics that can, for example, be used to detect redundancies in ontologies. Basically, a concept pattern is a concept description where certain concept names are viewed as variables. Given two such patterns C; D, the question is now whether they can be made equivalent by applying a substitution that replaces the variables with (possibly complex) patterns. A substitution that achieves this is called a unifier of C and D. In the context of detecting redundancies, the variables are concepts represented as concept names by one ontologist, but may be defined in more detail (i.e., by a complex description) by another one. For the DL F L0, which has the concept constructors conjunction (u), value restriction (8r:C), and top concept (&gt;), unification was investigated in detail in [6]. It was shown there that unification in F L0 corresponds to unification modulo the equational theory ACUIh since (modulo equivalence) conjunction is associative (A), commutative (C), idempotent (I) and has top as a unit (U), and value restrictions behave like homomorphisms for conjunction and top (h). For this equational theory, it had already been shown in [1] that it has unification type zero, which means that a solvable unification problem need not have a minimal complete set of unifiers, and thus in particular not a finite one. From the DL point of view, the decision problem is, however, more interesting than the unification type. Since ACUIh is a commutative/monoidal theory [1,11], solvability of ACUIh unification problems (and thus of unification problems in F L0) can be reduced to solvability of systems of linear equations in a certain semiring, which for the case of ACUIh consists of finite languages over a finite alphabet, with union as semiring addition and concatenation as semiring multiplication [6]. By a reduction to the emptiness problem for root-to-frontier tree automata (RFAs), it was then shown in [6] that solvability of the language equations corresponding to an F L0 unification problem can be decided in exponential time. In addition, ExpTime-hardness of this problem was proved in [6] by a reduction from the intersection emptiness problem for deterministic RFAs (DRFAs) [13].</p>
      </abstract>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>-</title>
      <p>
        Restricted Unification in F L0
In [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ], we investigate two kinds of restrictions on unification in F L0. On the one
hand, we syntactically restrict the role depth (i.e., the maximal nesting of value
restrictions) in the concepts obtained by applying a unifier to be bounded by a
natural number k 1. This restriction was motivated by a similar restriction
used in research on least common subsumers (lcs) [
        <xref ref-type="bibr" rid="ref12">12</xref>
        ], where imposing a bound
on the role depth guarantees existence of the lcs also in the presence of a (possibly
cyclic) terminology. Also note that such a restriction was used in [
        <xref ref-type="bibr" rid="ref9">9</xref>
        ] for the
equational theory ACh, for which unification is known to be undecidable [
        <xref ref-type="bibr" rid="ref10">10</xref>
        ]. It
is shown in [
        <xref ref-type="bibr" rid="ref9">9</xref>
        ] that the problem becomes decidable if a bound on the maximal
nesting of applications of homomorphisms is imposed. On the other hand, we
consider a semantic restriction where, when defining the semantics of concepts,
only interpretations for which the length of role paths is bounded by a given
number k are considered. A similar restriction (for k = 1) was employed in [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ] to
improve the unification type for the modal logic K from type zero [
        <xref ref-type="bibr" rid="ref8">8</xref>
        ] to unitary
or finitary for K + ?.
3
      </p>
    </sec>
    <sec id="sec-2">
      <title>Results</title>
      <p>
        Regarding the unification type of F L0, we show in [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ] that both the syntactic
and the semantic restriction ensures that it improves from type zero to unitary
for unification without constants and finitary for unification with constants.
Theorem 1 ([
        <xref ref-type="bibr" rid="ref3">3</xref>
        ]). Syntactically and semantically k-restricted unification in F L0
is unitary for unification without constants and finitary for unification with
constants.
      </p>
      <p>This means that, in the restricted setting, finite complete sets of unifiers always
exist, i.e., for a given pair C; D of concept patterns there always is a finite set
of unifiers such that every unifier of C and D is an instance of a unifier in this
set. If all the concept names occurring in C; D are variables then we call this
a unification problem without constants. The theorem says that any solvable
unification problem without constants has a most general unifier, i.e., a single
unifier that has all unifiers as instances.</p>
      <p>Regarding the decision problem, we can show that the complexity depends
on whether the bound k is assumed to be encoded in unary or binary. For binary
encoding of k, the complexity stays ExpTime, whereas for unary coding it drops
from ExpTime to PSpace. This is again the case both for the syntactic and the
semantic restriction.</p>
      <p>
        Theorem 2 ([
        <xref ref-type="bibr" rid="ref3">3</xref>
        ]). Given an integer k 1 and F L0 concept patterns C; D as
input, the problem of deciding whether C and D have a syntactically (semantically)
k-restricted unifier or not is ExpTime-complete (in ExpTime) if the number k
is assumed to be encoded in binary, and PSpace-complete if k is assumed to be
encoded in unary.
The complexity upper bounds can be obtained by adapting the tree automata
constructions employed in [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ] for solving the language equations induced by F L0
unification problems. Basically, one needs to add an appropriate counter to the
states of the automata.
      </p>
      <p>
        The ExpTime lower bound for binary coding in the syntactically restricted
case is proved by a reduction from unrestricted unification in F L0. The PSpace
lower bound for the case of unary coding is shown using a k-restricted variant
of Seidl’s ExpTime hardness result [
        <xref ref-type="bibr" rid="ref13">13</xref>
        ] for the intersection emptiness problem
for DRFAs. The k-restricted intersection emptiness problem for DRFAs asks
whether a given finite collection of DRFAs accepts a common tree of depth at
most k.
      </p>
      <p>
        Proposition 3 ([
        <xref ref-type="bibr" rid="ref3">3</xref>
        ]). The k-restricted intersection emptiness problem for
DRFAs is PSpace-complete if the number k is represented in unary.
4
      </p>
    </sec>
    <sec id="sec-3">
      <title>Conclusion</title>
      <p>
        We have investigated in [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ] both a semantically and a syntactically k-restricted
variant of unification in F L0. These restrictions lead to a considerable
improvement of the unification type from the worst possible type to unitary/finitary for
unification without/with constants. For the complexity of the decision problem,
we only obtain an improvement if k is assumed to be encoded in unary.
      </p>
      <p>
        While these results are mainly of (complexity) theoretic interest, they could
also have a practical impact. In fact, in our experiments with the system UEL,
which implements several unification algorithms for the DL E L [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ], we have
observed that the algorithms usually yield many different unifiers, and it is hard
to choose one that is appropriate for the application at hand (e.g., when
generating new concepts using unification [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ]). For this reason, we added additional
constraints to the unification problem to ensure that the generated concepts are
of a similar shape as the concepts already present in the ontology [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ]. It makes
sense also to use a restriction on the role depth as such an additional constraint
since the role depth of the (unfolded) concepts occurring in real-world
ontologies is usually rather small. This claim is supported by our experiments with
the medical ontology SNOMED CT,1 which has a maximal role depth of 10, and
the acyclic ontologies in Bioportal 2017,2 where a large majority also has a role
depth of at most 10.
      </p>
    </sec>
    <sec id="sec-4">
      <title>Acknowledgements</title>
      <p>Franz Baader was partially supported by DFG TRR 248 (cpec, grant 389792660),
Oliver Fernández Gil by DFG in project number 335448072, and Maryam
Rostamigiv by a DAAD Short-Term Grant, 2021 (57552336). The authors should like
to thank Patrick Koopmann for determining the maximal role depth of concepts
in ontologies from Bioportal 2017 and in SNOMED CT.
1 https://www.snomed.org/
2 https://zenodo.org/record/439510</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          1.
          <string-name>
            <given-names>Franz</given-names>
            <surname>Baader</surname>
          </string-name>
          .
          <article-title>Unification in commutative theories</article-title>
          .
          <source>J. Symbolic Computation</source>
          ,
          <volume>8</volume>
          (
          <issue>5</issue>
          ):
          <fpage>479</fpage>
          -
          <lpage>497</lpage>
          ,
          <year>1989</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          2.
          <string-name>
            <given-names>Franz</given-names>
            <surname>Baader</surname>
          </string-name>
          , Stefan Borgwardt, and
          <string-name>
            <given-names>Barbara</given-names>
            <surname>Morawska</surname>
          </string-name>
          .
          <article-title>Constructing SNOMED CT concepts via disunification</article-title>
          .
          <source>LTCS-Report 17-07</source>
          , Chair for Automata Theory, Institute for Theoretical Computer Science, Technische Universität Dresden, Dresden, Germany,
          <year>2017</year>
          . https://lat.inf.tu-dresden.de/research/ reports/2017/BaBM-LTCS-
          <volume>17</volume>
          -07.pdf.
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          3.
          <string-name>
            <given-names>Franz</given-names>
            <surname>Baader</surname>
          </string-name>
          , Oliver Fernández Gil, and
          <string-name>
            <given-names>Maryam</given-names>
            <surname>Rostamigiv</surname>
          </string-name>
          .
          <article-title>Restricted unification in the description logic F L0</article-title>
          . In Boris Konev and Giles Reger, editors,
          <source>Proc. of the 13th International Symposium on Frontiers of Combining Systems (FroCoS</source>
          <year>2021</year>
          ), volume
          <volume>12941</volume>
          of Lecture Notes in Computer Science. Springer,
          <year>2021</year>
          .
          <article-title>To appear. A long version of this paper containing detailed proofs has been published</article-title>
          as
          <source>technical report [4].</source>
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          4.
          <string-name>
            <given-names>Franz</given-names>
            <surname>Baader</surname>
          </string-name>
          , Oliver Fernández Gil, and
          <string-name>
            <given-names>Maryam</given-names>
            <surname>Rostamigiv</surname>
          </string-name>
          .
          <article-title>Restricted unification in the DL F L0 (extended version)</article-title>
          .
          <source>LTCS-Report 21-02</source>
          , Chair of Automata Theory, Institute of Theoretical Computer Science, Technische Universität Dresden, Dresden, Germany,
          <year>2021</year>
          . https://lat.inf.tu-dresden.de/research/ reports/2021/BaGiRo21.pdf.
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          5.
          <string-name>
            <given-names>Franz</given-names>
            <surname>Baader</surname>
          </string-name>
          , Julian Mendez, and
          <string-name>
            <given-names>Barbara</given-names>
            <surname>Morawska</surname>
          </string-name>
          . UEL:
          <article-title>Unification solver for the description logic EL - system description</article-title>
          .
          <source>In Proc. of the 6th International Joint Conference on Automated Reasoning (IJCAR</source>
          <year>2012</year>
          ), volume
          <volume>7364</volume>
          <source>of Lecture Notes in Artificial Intelligence</source>
          , pages
          <fpage>45</fpage>
          -
          <lpage>51</lpage>
          . Springer,
          <year>2012</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          6.
          <string-name>
            <given-names>Franz</given-names>
            <surname>Baader</surname>
          </string-name>
          and
          <string-name>
            <given-names>Paliath</given-names>
            <surname>Narendran</surname>
          </string-name>
          .
          <article-title>Unification of concept terms in description logics</article-title>
          .
          <source>J. 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>
            <given-names>Philippe</given-names>
            <surname>Balbiani</surname>
          </string-name>
          , Cigdem Gencer, Maryam Rostamigiv, and
          <string-name>
            <given-names>Tinko</given-names>
            <surname>Tinchev</surname>
          </string-name>
          .
          <article-title>About the unification type of K + ?</article-title>
          .
          <source>In Proc. of the 34th International Workshop on Unification (UNIF</source>
          <year>2020</year>
          ), pages
          <fpage>4</fpage>
          :
          <fpage>1</fpage>
          -
          <issue>4</issue>
          :
          <fpage>6</fpage>
          .
          <string-name>
            <surname>RISC-Linz</surname>
          </string-name>
          ,
          <year>2020</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          8.
          <string-name>
            <given-names>Emil</given-names>
            <surname>Jerabek</surname>
          </string-name>
          .
          <article-title>Blending margins: The modal logic K has nullary unification type</article-title>
          .
          <source>J. Logic and Computation</source>
          ,
          <volume>25</volume>
          (
          <issue>5</issue>
          ):
          <fpage>1231</fpage>
          -
          <lpage>1240</lpage>
          ,
          <year>2015</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          9.
          <string-name>
            <given-names>Ajay</given-names>
            <surname>Kumar</surname>
          </string-name>
          Eeralla and
          <string-name>
            <given-names>Christopher</given-names>
            <surname>Lynch</surname>
          </string-name>
          .
          <article-title>Bounded ACh unification</article-title>
          .
          <source>Math. Struct. Comput. Sci.</source>
          ,
          <volume>30</volume>
          (
          <issue>6</issue>
          ):
          <fpage>664</fpage>
          -
          <lpage>682</lpage>
          ,
          <year>2020</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          10.
          <string-name>
            <given-names>Paliath</given-names>
            <surname>Narendran</surname>
          </string-name>
          .
          <article-title>Solving linear equations over polynomial semirings</article-title>
          .
          <source>In Proc. of the 11th Annual IEEE Symposium on Logic in Computer Science (LICS</source>
          <year>1996</year>
          ), pages
          <fpage>466</fpage>
          -
          <lpage>472</lpage>
          . IEEE Computer Society,
          <year>1996</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          11.
          <string-name>
            <given-names>Werner</given-names>
            <surname>Nutt</surname>
          </string-name>
          .
          <article-title>Unification in monoidal theories</article-title>
          . In Mark E. Stickel, editor,
          <source>Proc. of the 10th Int. Conf. on Automated Deduction (CADE</source>
          <year>1990</year>
          ), volume
          <volume>449</volume>
          <source>of Lecture Notes in Artificial Intelligence</source>
          , pages
          <fpage>618</fpage>
          -
          <lpage>632</lpage>
          , Kaiserslautern, Germany,
          <year>1990</year>
          . Springer.
        </mixed-citation>
      </ref>
      <ref id="ref12">
        <mixed-citation>
          12.
          <string-name>
            <given-names>Rafael</given-names>
            <surname>Peñaloza</surname>
          </string-name>
          and
          <string-name>
            <surname>Anni-Yasmin Turhan</surname>
          </string-name>
          .
          <article-title>A practical approach for computing generalization inferences in EL</article-title>
          . In Grigoris Antoniou, Marko Grobelnik, Elena Paslaru Bontas Simperl, Bijan Parsia, Dimitris Plexousakis, Pieter De Leenheer, and Jeff Z. Pan, editors,
          <source>Proc. of the 8th Extended Semantic Web Conference (ESWC</source>
          <year>2011</year>
          ), volume
          <volume>6643</volume>
          of Lecture Notes in Computer Science, pages
          <fpage>410</fpage>
          -
          <lpage>423</lpage>
          . Springer,
          <year>2011</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref13">
        <mixed-citation>
          13.
          <string-name>
            <given-names>Helmut</given-names>
            <surname>Seidl</surname>
          </string-name>
          .
          <article-title>Haskell overloading is DEXPTIME-complete</article-title>
          .
          <source>Information Processing Letters</source>
          ,
          <volume>52</volume>
          :
          <fpage>57</fpage>
          -
          <lpage>60</lpage>
          ,
          <year>1994</year>
          .
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>