<!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>Matching in the Description Logic F L0 with respect to General TBoxes? (Extended abstract)</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Franz Baader</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Oliver Fernandez Gil</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Pavlos Marantidis</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Theoretical Computer Science</institution>
          ,
          <addr-line>TU Dresden 01062 Dresden</addr-line>
          ,
          <country country="DE">Germany</country>
        </aff>
      </contrib-group>
      <abstract>
        <p>Matching is the special case of uni cation where one of the expressions to be uni ed has no variables and thus remains unchanged under substitutions. In Description Logic (DL), matching of concept descriptions against concept patterns was originally introduced in [12] as a non-standard inference task that can be used to lter out the unimportant aspects of large concept descriptions appearing in knowledge bases of the system Classic [10]. Subsequently, matching (as well as the more general problem of uni cation) was also proposed as a tool for detecting redundancies in knowledge bases [9] and to support the integration of knowledge bases by prompting interschema assertions to the integrator [11]. All three applications have in common that one wants to search the knowledge base for concepts having a certain (not completely speci ed) form. This \form" can be expressed with the help of so-called concept patterns, i.e., concept descriptions containing variables (which stand for concept descriptions). For example, assume that we want to nd concepts that are concerned with humans that share some characteristic with all their children. This can be expressed by the pattern D := Human u X u 8has-child:X where X is a variable standing for the common characteristic. The concept description C := Human u Tall u 8has-child:Tall matches this pattern in the sense that, if we replace the variable X by the concept description Tall, the pattern becomes equivalent to the concept description C. Thus, the substitution := fX 7! Tallg is a matcher of the matching problem C ? D since C (D). Both matching and uni cation have been investigated in detail for the inexpressive DLs F L0 (with concept constructors top &gt;, conjunction C u D, value restriction 8r:C) and E L (with concept constructors &gt;, C uD, existential restriction 9r:C). Whereas in E L both matching [6] and uni cation [7] are NP-complete problems, the complexity of these problems di ers signi cantly for F L0: matching is polynomial, but uni cation is ExpTime-complete [9]. These results were shown for the case without a background TBox, i.e., a nite set of general concept inclusions (GCIs). For the DL E L it was proved in [8] that the presence of TBoxes does not change the complexity of the matching problem: it stays in NP. For uni cation in E L w.r.t. TBoxes, an NP upper bound could until now only be shown for a restricted form of TBoxes [2].</p>
      </abstract>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>-</title>
      <p>
        Matching in F L0 in the presence of TBoxes has not been investigated
until now. In this paper, we close this gap by showing that it is an
ExpTimecomplete problem. Since already subsumption in F L0 w.r.t. TBoxes is
ExpTime-complete [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ], ExpTime-hardness of this problem is clear. The rst main
contribution of this paper is thus to show the ExpTime upper bound. We do this
by rst showing an ExpTime upper bound for the problem of testing whether
an F L0 matching problem has a matcher in the extended logic F Lreg [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ].
Basically, in F Lreg one can use regular languages to express in nite conjunctions
of value restrictions. To prove the ExpTime upper bound we bring together the
classic matching algorithm of [
        <xref ref-type="bibr" rid="ref9">9</xref>
        ] and a characterization of subsumption in the
presence of general TBoxes that uses formal languages from [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ]. In particular,
the authors of [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ] demonstrate how F L0 concept descriptions can be represented
by tuples of regular languages, such that subsumption w.r.t. the TBox can be
decided by comparing the corresponding tuples componentwise w.r.t. inclusion.
For the case of the empty TBox, these languages are nite. The matching
algorithm of [
        <xref ref-type="bibr" rid="ref9">9</xref>
        ] takes these languages and outputs other nite languages, which
are used to construct F L0 concept descriptions that yield a candidate solution
to the matching problem. It is then shown that the matching problem has a
matcher i this candidate solution is one. In the presence of a non-empty TBox,
though, the languages obtained by applying the natural generalization of the
algorithm in [
        <xref ref-type="bibr" rid="ref9">9</xref>
        ] may be in nite, and thus they cannot be used to construct an
F L0 candidate solution. However, they can be used to construct an F Lreg
candidate solution; it is this candidate that we check for being a solution. The proof
that this procedure is in ExpTime depends on a ne-grained analysis of the
complexity of subsumption of F Lreg concept descriptions w.r.t. an F L0 TBox,
which uses automata on words and trees. The second step is then to show that
an F L0 matching problem has an F L0 matcher i it has an F Lreg matcher, a
result obtained by using compactness of rst-order logic.
      </p>
    </sec>
    <sec id="sec-2">
      <title>The second main contribution of this paper is to show that the complexity of</title>
      <p>the matching problem can be lowered from ExpTime to PSpace if one considers
TBoxes of a restricted form. Namely, we consider TBoxes containing GCIs where
the role depth on the left-hand side of a GCI is not larger than the role depth on
the right-hand side. We rst introduce an algorithm for checking subsumption
in the presence of such TBoxes. The main idea is the following: C is subsumed
by D if D \syntactically" occurs in C, or if there exists an intermediate concept
E that subsumes C and we can prove it is subsumed by D in a single step using
one GCI. This way, a sequence of GCIs is constructed that proves subsumption
between C and D. Even though this sequence may be of exponential length,
choosing the intermediate concept in a clever way (which is possible because of
the special form of the TBox) ensures that the concept to be checked is always
of polynomial size, and hence it is possible to perform the check in PSpace. We
then derive the matching algorithm in a similar fashion: again, we are looking for
the sequence of GCIs proving subsumption, but at every point we check whether
it is possible to extend the substitution in order to shorten the search.</p>
    </sec>
    <sec id="sec-3">
      <title>The paper containing these results was published at LPAR-22 [4].</title>
    </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>Augmenting concept languages by transitive closure of roles: An alternative to terminological cycles</article-title>
          .
          <source>In Proc. of the 12th Int. Joint Conf. on Arti cial Intelligence (IJCAI'91)</source>
          ,
          <year>1991</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>Extending uni cation in EL towards general TBoxes</article-title>
          .
          <source>In Proc. of the 13th Int. Conf. on Principles of Knowledge Representation and Reasoning (KR</source>
          <year>2012</year>
          ), pages
          <fpage>568</fpage>
          {
          <fpage>572</fpage>
          . AAAI Press/The MIT Press,
          <year>2012</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          3.
          <string-name>
            <given-names>Franz</given-names>
            <surname>Baader</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Sebastian</given-names>
            <surname>Brandt</surname>
          </string-name>
          , and
          <string-name>
            <given-names>Carsten</given-names>
            <surname>Lutz</surname>
          </string-name>
          .
          <article-title>Pushing the EL envelope</article-title>
          .
          <source>In Leslie Pack Kaelbling and Alessandro Sa</source>
          otti, editors,
          <source>Proc. of the 19th Int. Joint Conf. on Arti cial Intelligence (IJCAI</source>
          <year>2005</year>
          ), pages
          <fpage>364</fpage>
          {
          <fpage>369</fpage>
          ,
          <string-name>
            <surname>Edinburgh</surname>
          </string-name>
          (UK),
          <year>2005</year>
          . Morgan Kaufmann, Los Altos.
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          4.
          <string-name>
            <given-names>Franz</given-names>
            <surname>Baader</surname>
          </string-name>
          , Oliver Fernandez Gil, and
          <string-name>
            <given-names>Pavlos</given-names>
            <surname>Marantidis</surname>
          </string-name>
          .
          <article-title>Matching in the description logic F L0 with respect to general tboxes</article-title>
          . In Gilles Barthe, Geo Sutcli e, and Margus Veanes, editors,
          <source>Proc. of the 22nd Int. Conf. on Logic for Programming</source>
          ,
          <source>Arti cial Intelligence and Reasoning (LPAR-22)</source>
          , volume
          <volume>57</volume>
          of EPiC Series in Computing, pages
          <volume>76</volume>
          {
          <fpage>94</fpage>
          .
          <string-name>
            <surname>EasyChair</surname>
          </string-name>
          ,
          <year>2018</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          5.
          <string-name>
            <given-names>Franz</given-names>
            <surname>Baader</surname>
          </string-name>
          , Oliver Fernandez Gil, and
          <string-name>
            <given-names>Maximilian</given-names>
            <surname>Pensel</surname>
          </string-name>
          .
          <article-title>Standard and nonstandard inferences in the description logic F L0 using tree automata</article-title>
          . In Daniel Lee, Alexander Steen, and Toby Walsh, editors,
          <source>GCAI 2018, 4th Global Conference on Arti cial Intelligence</source>
          , volume
          <volume>55</volume>
          of EPiC Series in Computing, pages
          <fpage>1</fpage>
          <lpage>{</lpage>
          14.
          <string-name>
            <surname>EasyChair</surname>
          </string-name>
          ,
          <year>2018</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          6.
          <string-name>
            <given-names>Franz</given-names>
            <surname>Baader</surname>
          </string-name>
          and
          <article-title>Ralf Kusters. Matching in description logics with existential restrictions</article-title>
          .
          <source>In Proc. of the 7th Int. Conf. on Principles of Knowledge Representation and Reasoning (KR</source>
          <year>2000</year>
          ), pages
          <fpage>261</fpage>
          {
          <fpage>272</fpage>
          ,
          <year>2000</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          7.
          <string-name>
            <given-names>Franz</given-names>
            <surname>Baader</surname>
          </string-name>
          and
          <string-name>
            <given-names>Barbara</given-names>
            <surname>Morawska</surname>
          </string-name>
          .
          <article-title>Uni cation 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="ref8">
        <mixed-citation>
          8.
          <string-name>
            <given-names>Franz</given-names>
            <surname>Baader</surname>
          </string-name>
          and
          <string-name>
            <given-names>Barbara</given-names>
            <surname>Morawska</surname>
          </string-name>
          .
          <article-title>Matching with respect to general concept inclusions in the description logic EL</article-title>
          . In Carsten Lutz and Michael Thielscher, editors,
          <source>Proc. of the 37th German Annual Conf. on Arti cial Intelligence (KI'14)</source>
          , volume
          <volume>8736</volume>
          of Lecture Notes in Computer Science, pages
          <volume>135</volume>
          {
          <fpage>146</fpage>
          . Springer,
          <year>2014</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          9.
          <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>Uni cation of Concept Terms in Description Logics</article-title>
          .
          <source>J. Symb. Comput.</source>
          ,
          <volume>31</volume>
          (
          <issue>3</issue>
          ):
          <volume>277</volume>
          {
          <fpage>305</fpage>
          ,
          <year>2001</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          10.
          <string-name>
            <surname>Alexander</surname>
            <given-names>Borgida</given-names>
          </string-name>
          ,
          <string-name>
            <given-names>Ronald J.</given-names>
            <surname>Brachman</surname>
          </string-name>
          ,
          <string-name>
            <surname>Deborah L. McGuinness</surname>
          </string-name>
          , and
          <article-title>Lori Alperin Resnick</article-title>
          .
          <article-title>CLASSIC: A structural data model for objects</article-title>
          .
          <source>In Proc. of the ACM SIGMOD Int. Conf. on Management of Data</source>
          , pages
          <volume>59</volume>
          {
          <fpage>67</fpage>
          ,
          <year>1989</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          11.
          <article-title>Alexander Borgida and Ralf Kusters. What's not in a name? Initial explorations of a structural approach to integrating large concept knowledge-bases</article-title>
          .
          <source>Technical Report DCS-TR-391</source>
          , Rutgers University,
          <year>1999</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref12">
        <mixed-citation>
          12.
          <string-name>
            <given-names>Alexander</given-names>
            <surname>Borgida and Deborah L. McGuinness</surname>
          </string-name>
          .
          <article-title>Asking queries about frames</article-title>
          .
          <source>In Proc. of the 5th Int. Conf. on the Principles of Knowledge Representation and Reasoning (KR'96)</source>
          , pages
          <fpage>340</fpage>
          {
          <fpage>349</fpage>
          ,
          <year>1996</year>
          .
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>