<!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>On Finite and Unrestricted Query Entailment beyond SQ with Number Restrictions on Transitive Roles?</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Tomasz Gogacz</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>V ctor Gutierrez-Basulto</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Yazm n Iban~ez-Garc a</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Jean Christoph Jung</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Filip Murlak</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Universitat Bremen</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Cardi University</institution>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>University of Warsaw</institution>
        </aff>
      </contrib-group>
      <abstract>
        <p>We study query entailment in extensions of the description logic (DL) SQ allowing number restrictions (Q) to be applied to transitive roles (S). Most previous work on query entailment in expressive DLs, such as SHIQ or SHOQ, forbid the interaction of number restrictions and transitive roles [2{4], but it is required in areas like biomedicine, e.g., to restrict the number of certain parts an organ has. For instance, one can express that the human heart has exactly one mitral valve, which has to be shared by its left and right atrium [5]. Allowing for the interaction of S and Q is dangerous in the sense that even modest extensions of SQ, such as with role inclusions or inverse roles, lead to an undecidable satis ability problem [6]. Decidability of satis ability in SQ and in its extension with nominals was shown several years ago [6, 7], but only recently tight computational complexity bounds were established [8]. Even more recently, decidability for entailment of regular path queries over SQ knowledge bases was established. More precisely, based on a novel tree-like model property of SQ it was possible to devise an automata-based decision procedure yielding a tight 2ExpTime upper bound [5].</p>
      </abstract>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>-</title>
      <p>
        nite query entailment in SQ is interesting since, due to the presence of
transitivity, SQ lacks nite controllability, and therefore unrestricted and
nite entailment do not coincide. Interestingly, most previous works on
nite query entailment consider logics lacking nite controllability because of
number restrictions and inverse roles [9{12]. The study of nite query
entailment in logics with transitivity (without number restrictions on transitive
roles) started only recently [13{15]. Here, we focus on nite entailment of
9
positive existential queries in SOQ and of instance queries in SIQ .
Contributions. We start by showing a tree-like model property for both SOQ
9
and SIQ . More speci cally, we carefully extend and adapt the canonical tree
decompositions that were introduced for SQ in previous work [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ] to also
incorporate the presence of controlled inverses and nominals. Next, we prove that if
a query is not entailed by a knowledge base (KB), then there is a counter-model
with a canonical tree decomposition of small width. This tree-like model
property is the basis for automata-based approaches to unrestricted and nite query
entailment in the remainder of the paper. First, we construct tree automata to
optimally decide entailment of regular path queries over SOQ and SIQ9 KBs in
2ExpTime. We move then to nite entailment of positive existential queries over
SOQ KBs, showing again an optimal 2ExpTime upper bound. To this end, we
look at more re ned canonical tree decompositions, which ensure the existence
of a nite counter model. In other words, we reduce nite query entailment to
entailment over models with this special canonical tree decomposition. Finally,
we investigate the complexity for unrestricted and nite instance query (IQ)
entailment in SIQ9. In particular, we show that IQ entailment is 2ExpTime-hard
both in the nite and in the unrestricted case. We found this surprising since
it is rarely the case that IQ entailment becomes more di cult when inverses
are added to the logic. Moreover, the result provides an orthogonal reason for
2ExpTime-hardness for conjunctive query entailment in SIQ9 [
        <xref ref-type="bibr" rid="ref16">16</xref>
        ]. We
complement this lower bound with a matching upper bound in the unrestricted case,
thus con rming the conjecture that satis ability in SIQ9 is decidable [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ]. In the
nite case, we show a 2ExpTime-upper bound for KBs using a single
transitive role. Note that SIQ9 with a single transitive role is a notational variant
of the graded modal logic with converse K4( ; 9). Thus, our result entails
2ExpTime-completeness for global consequence in K4( ; 9), which was only
known to be decidable [
        <xref ref-type="bibr" rid="ref17">17</xref>
        ].
      </p>
      <p>Outlook. This study provides a step towards a complete picture of query
entailment in DLs with number restrictions on transitive roles. There are several
natural next steps involving nite entailment. For SIQ9 the rst thing to do
is to cover the full logic; the second thing is to go beyond instance queries. In
general, it would be interesting to study data complexity and consider transitive
closure instead of transitivity.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          1.
          <string-name>
            <surname>Gogacz</surname>
            ,
            <given-names>T.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Gutierrez-Basulto</surname>
            ,
            <given-names>V.</given-names>
          </string-name>
          ,
          <article-title>Iban~ez-Garc a</article-title>
          , Y.,
          <string-name>
            <surname>Jung</surname>
            ,
            <given-names>J.C.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Murlak</surname>
            ,
            <given-names>F.</given-names>
          </string-name>
          :
          <article-title>On nite and unrestricted query entailment beyond SQ with number restrictions on transitive roles</article-title>
          .
          <source>In: Proc. of IJCAI-19</source>
          . (
          <year>2019</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          2.
          <string-name>
            <surname>Glimm</surname>
            ,
            <given-names>B.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Lutz</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Horrocks</surname>
            ,
            <given-names>I.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Sattler</surname>
            ,
            <given-names>U.</given-names>
          </string-name>
          :
          <article-title>Conjunctive query answering for the description logic SHIQ</article-title>
          .
          <source>J. Artif. Intell. Res. (JAIR) 31</source>
          (
          <year>2008</year>
          )
          <volume>157</volume>
          {
          <fpage>204</fpage>
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          3.
          <string-name>
            <surname>Glimm</surname>
            ,
            <given-names>B.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Horrocks</surname>
            ,
            <given-names>I.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Sattler</surname>
            ,
            <given-names>U.</given-names>
          </string-name>
          :
          <article-title>Unions of conjunctive queries in SHOQ</article-title>
          .
          <source>In: Proc. of KR-08</source>
          . (
          <year>2008</year>
          )
          <volume>252</volume>
          {
          <fpage>262</fpage>
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          4.
          <string-name>
            <surname>Calvanese</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Eiter</surname>
            ,
            <given-names>T.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Ortiz</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          :
          <article-title>Answering regular path queries in expressive description logics via alternating tree-automata</article-title>
          .
          <source>Inf. Comput</source>
          .
          <volume>237</volume>
          (
          <year>2014</year>
          )
          <volume>12</volume>
          {
          <fpage>55</fpage>
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          5.
          <string-name>
            <surname>Gutierrez-Basulto</surname>
            ,
            <given-names>V.</given-names>
          </string-name>
          ,
          <article-title>Iban~ez-Garc a</article-title>
          , Y.,
          <string-name>
            <surname>Jung</surname>
            ,
            <given-names>J.C.</given-names>
          </string-name>
          :
          <article-title>Answering regular path queries over sq ontologies</article-title>
          .
          <source>In: Proc. of AAAI-18</source>
          , AAAI Press (
          <year>2018</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          6.
          <string-name>
            <surname>Kazakov</surname>
            ,
            <given-names>Y.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Sattler</surname>
            ,
            <given-names>U.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Zolin</surname>
          </string-name>
          , E.:
          <article-title>How many legs do I have? Non-simple roles in number restrictions revisited</article-title>
          .
          <source>In: Proc. of LPAR-07</source>
          . (
          <year>2007</year>
          )
          <volume>303</volume>
          {
          <fpage>317</fpage>
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          7.
          <string-name>
            <surname>Kaminski</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Smolka</surname>
          </string-name>
          , G.:
          <article-title>Terminating tableaux for SOQ with number restrictions on transitive roles</article-title>
          .
          <source>In: Proc. of the 6th IFIP TC</source>
          . (
          <year>2010</year>
          )
          <volume>213</volume>
          {
          <fpage>228</fpage>
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          8.
          <string-name>
            <surname>Gutierrez-Basulto</surname>
            ,
            <given-names>V.</given-names>
          </string-name>
          ,
          <article-title>Iban~ez-Garc a</article-title>
          , Y.,
          <string-name>
            <surname>Jung</surname>
            ,
            <given-names>J.C.</given-names>
          </string-name>
          :
          <article-title>Number restrictions on transitive roles in description logics with nominals</article-title>
          .
          <source>In: Proc. of AAAI-17</source>
          . (
          <year>2017</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          9.
          <string-name>
            <surname>Rosati</surname>
          </string-name>
          , R.:
          <article-title>Finite model reasoning in dl-lite</article-title>
          .
          <source>In: Proc. of ESWC-19</source>
          . (
          <year>2008</year>
          )
          <volume>215</volume>
          {
          <fpage>229</fpage>
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          10.
          <string-name>
            <surname>Pratt-Hartmann</surname>
            ,
            <given-names>I.</given-names>
          </string-name>
          :
          <article-title>Data-complexity of the two-variable fragment with counting quanti ers</article-title>
          .
          <source>Inf. Comput</source>
          .
          <volume>207</volume>
          (
          <issue>8</issue>
          ) (
          <year>2009</year>
          )
          <volume>867</volume>
          {
          <fpage>888</fpage>
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          11.
          <string-name>
            <surname>Iban</surname>
          </string-name>
          <article-title>~ez-Garc a</article-title>
          , Y.,
          <string-name>
            <surname>Lutz</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Schneider</surname>
            ,
            <given-names>T.</given-names>
          </string-name>
          :
          <article-title>Finite model reasoning in horn description logics</article-title>
          .
          <source>In: Proc. of KR-14</source>
          . (
          <year>2014</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref12">
        <mixed-citation>
          12.
          <string-name>
            <surname>Amarilli</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Benedikt</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          :
          <article-title>Finite open-world query answering with number restrictions</article-title>
          .
          <source>In: LICS-15</source>
          . (
          <year>2015</year>
          )
          <volume>305</volume>
          {
          <fpage>316</fpage>
        </mixed-citation>
      </ref>
      <ref id="ref13">
        <mixed-citation>
          13.
          <string-name>
            <surname>Rudolph</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          :
          <article-title>Undecidability results for database-inspired reasoning problems in very expressive description logics</article-title>
          .
          <source>In: Proc. of KR-16</source>
          . (
          <year>2016</year>
          )
          <volume>247</volume>
          {
          <fpage>257</fpage>
        </mixed-citation>
      </ref>
      <ref id="ref14">
        <mixed-citation>
          14.
          <string-name>
            <surname>Gogacz</surname>
            ,
            <given-names>T.</given-names>
          </string-name>
          ,
          <article-title>Iban~ez-Garc a</article-title>
          , Y.,
          <string-name>
            <surname>Murlak</surname>
            ,
            <given-names>F.</given-names>
          </string-name>
          :
          <article-title>Finite query answering in expressive description logics with transitive roles</article-title>
          .
          <source>In: Proc. of KR-18</source>
          . (
          <year>2018</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref15">
        <mixed-citation>
          15.
          <string-name>
            <surname>Danielski</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Kieronski</surname>
          </string-name>
          , E.:
          <article-title>Finite satis ability of unary negation fragment with transitivity</article-title>
          . arXiv:
          <year>1809</year>
          .
          <volume>03245</volume>
          (
          <year>2018</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref16">
        <mixed-citation>
          16.
          <string-name>
            <surname>Lutz</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          :
          <article-title>The complexity of conjunctive query answering in expressive description logics</article-title>
          .
          <source>In: Proceedings of IJCAR</source>
          <year>2008</year>
          .
          <article-title>(</article-title>
          <year>2008</year>
          )
          <volume>179</volume>
          {
          <fpage>193</fpage>
        </mixed-citation>
      </ref>
      <ref id="ref17">
        <mixed-citation>
          17.
          <string-name>
            <surname>Bednarczyk</surname>
            ,
            <given-names>B.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Kieronski</surname>
            ,
            <given-names>E.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Witkowski</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          :
          <article-title>On the complexity of graded modal logics with converse</article-title>
          .
          <source>In: JELIA. Volume 11468 of LNCS</source>
          . (
          <year>2019</year>
          )
          <volume>642</volume>
          {
          <fpage>658</fpage>
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>