<!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>Rewriting ALCHI Q to Disjunctive Existential Rules (Extended Abstract)?</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>David Carral</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Markus Krotzsch</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Knowledge-Based Systems Group, TU Dresden</institution>
        </aff>
      </contrib-group>
      <abstract>
        <p>David Carral[0000 0001 7287 4709] and Markus Krotzsch[0000 0002 9172 2601] Among the many approaches towards e cient reasoning in description logics (DLs), consequence-preserving translations of DL theories into rule languages are among the most prominent. Table 1 gives an overview of works in this area. The natural strength of rule reasoners is their good scalability towards large sets of facts. Indeed, all of the rewritings in Table 1 are independent of the given facts (ABox), which can be used unchanged for reasoning with the rule-based theory. In general, we can describe this idea of rewriting as follows: De nition 1. Consider fragments L1 and L2 of rst-order logic that include ground facts. An L2-theory T2 is a fact-entailment preserving rewriting (or simply rewriting in our context) of an L1-theory T1 if, for every set F of ground facts and every ground fact ' over the signature of T1, we have T1; F j= ' i T2; F j= '. If such a rewriting can always be computed, then L1 is (e ectively, fact-entailment preserving) rewritable to L2.</p>
      </abstract>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>-</title>
      <p>sizes (and especially predicate arities). The last two lines in Table 1 are
rewritings that use constant rule sets and rewrite TBoxes to facts in (sub)polynomial
time. This works for E L++ due to its P-complexity, and for Horn-ALC due to
the high expressive power of Datalog9 theories, even when these are constant.</p>
      <p>
        Given this rich body of
research in rule rewritings, Work Source Target Size
there is a surprising
shortage of rewriting-based reason- [
        <xref ref-type="bibr" rid="ref9">9</xref>
        ] ALCHIQ Datalog_ exp. y
ers. KAON2 uses the exponen- [
        <xref ref-type="bibr" rid="ref8">8</xref>
        ] Horn-SHIQ Datalog exp. y
tial SHIQ rewriting of [
        <xref ref-type="bibr" rid="ref9">9</xref>
        ], and [
        <xref ref-type="bibr" rid="ref15">15</xref>
        ] SHIQbs Datalog_ exp. y
DReW the polynomial E L++ [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ] SHI Datalog_ exp. y
rewriting of [
        <xref ref-type="bibr" rid="ref11">11</xref>
        ] { both systems [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ] Horn-ALCHOIQ Datalog exp. y
are discontinued. Rule reason- [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ] Horn-SHIQ Datalog exp. y
ers, in contrast, have been Horn-SRIQ Datalog 2exp.y
thriving in recent years, and [
        <xref ref-type="bibr" rid="ref14">14</xref>
        ] Horn-ALCHOIQ Datalog poly.
sgDcraaatlmaablmolgein_sgy(seetn.gegm.i,nsaensesx[w1is2et]r)bsaoentthdprffooorr- [1[[511]]] HAoLrnCE-HALI+LO+C DDDaaatttaaallloooggg9_ pppooolllyyy... yy
Datalog9 (e.g., engines for
existential rules [
        <xref ref-type="bibr" rid="ref13 ref17 ref2">2,13,17</xref>
        ]). y: rules of bounded size independent on input
      </p>
      <p>
        A possible explanation is Table 1. From DLs to rule languages, where
that known rewritings still suf- Datalog_ and Datalog9 denote Datalog extended
fer from many shortcomings. with disjunctions and existential quanti ers
Indeed, exponentially large rule
sets (Table 1, lines 1{7) and rule sizes in the order of the ontology (lines 8{9) both
impair practical performance, whereas static rewritings (lines 10{11) are often
better implemented in dedicated \consequence-based" reasoners rather than
relying on general-purpose rule reasoners [
        <xref ref-type="bibr" rid="ref10">10</xref>
        ]. Also, Table 1 highlights that many
DLs are not supported by any polynomial rewriting.
      </p>
      <p>
        In our work [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ], we therefore study polynomial rewritings for hitherto
unsupported DLs. The result are two new rewriting approaches for the DL ALCHIQ:
a rewriting to Datalog_ that (unavoidably) requires unbounded (but still
linear) rule sizes, and a rewriting to Datalog_9 that achieves bounded rule sizes.
Datalog with existential quanti ers is co-re-complete for fact entailment, but we
show that our rewriting leads to rule sets for which entailment can be decided
with standard algorithms, while still matching the original DL's co-NP data
complexity. Both results are new, and also illustrate the potential advantage of
considering rules with existential quanti ers as a target for rewriting.
      </p>
      <p>Finally, we also consider Horn-ALCHIQ, the disjunction-free fragment of
ALCHIQ. Whereas our rewriting of ALCHIQ to Datalog_ and Datalog_9,
respectively, could be applied here, it produces rule sets that always contain
disjunctions. We therefore combine several known results to obtain alternative,
disjunction-free rewritings for this case.</p>
      <p>
        The details of our rule-based rewritings are published at the 29th
International Joint Conference on Arti cial Intelligence (IJCAI 2020) [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ].
      </p>
      <p>Rewriting ALCHIQ to Disjunctive Existential Rules (Extended Abstract)</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          1.
          <string-name>
            <surname>Ahmetaj</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Ortiz</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Simkus</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          :
          <article-title>Polynomial Datalog rewritings for expressive Description Logics with closed predicates</article-title>
          . In: Kambhampati,
          <string-name>
            <surname>S</surname>
          </string-name>
          . (ed.)
          <source>Proc. 25th Int. Joint Conf. on Artif. Intell. (IJCAI</source>
          <year>2016</year>
          ). pp.
          <volume>878</volume>
          {
          <fpage>885</fpage>
          . IJCAI/AAAI Press (
          <year>2016</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          2.
          <string-name>
            <surname>Bellomarini</surname>
            ,
            <given-names>L.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Sallinger</surname>
            ,
            <given-names>E.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Gottlob</surname>
            ,
            <given-names>G.</given-names>
          </string-name>
          :
          <article-title>The Vadalog system: Datalogbased reasoning for knowledge graphs</article-title>
          .
          <source>PVLDB</source>
          <volume>11</volume>
          (
          <issue>9</issue>
          ),
          <volume>975</volume>
          {
          <fpage>987</fpage>
          (
          <year>2018</year>
          ). https://doi.org/10.14778/3213880.3213888, http://www.vldb.org/pvldb/vol11/ p975-bellomarini.pdf
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          3.
          <string-name>
            <surname>Bienvenu</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>ten Cate</surname>
            ,
            <given-names>B.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Lutz</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Wolter</surname>
            ,
            <given-names>F.</given-names>
          </string-name>
          :
          <article-title>Ontology-based data access: A study through disjunctive Datalog, CSP, and MMSNP</article-title>
          .
          <source>ACM Transactions of Database Systems39(4)</source>
          ,
          <volume>33</volume>
          :1{
          <fpage>33</fpage>
          :
          <fpage>44</fpage>
          (
          <year>2014</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          4.
          <string-name>
            <surname>Carral</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Dragoste</surname>
            ,
            <given-names>I.</given-names>
          </string-name>
          , Krotzsch,
          <string-name>
            <surname>M.:</surname>
          </string-name>
          <article-title>The combined approach to query answering in Horn-ALCHOIQ</article-title>
          . In: Thielscher,
          <string-name>
            <given-names>M.</given-names>
            ,
            <surname>Toni</surname>
          </string-name>
          ,
          <string-name>
            <given-names>F.</given-names>
            ,
            <surname>Wolter</surname>
          </string-name>
          ,
          <string-name>
            <surname>F</surname>
          </string-name>
          . (eds.)
          <source>Proc. 16th Int. Conf. on Principles of Knowledge Representation and Reasoning (KR</source>
          <year>2018</year>
          ). pp.
          <volume>339</volume>
          {
          <fpage>348</fpage>
          . AAAI Press (
          <year>2018</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          5.
          <string-name>
            <surname>Carral</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Dragoste</surname>
            ,
            <given-names>I.</given-names>
          </string-name>
          , Krotzsch,
          <string-name>
            <given-names>M.</given-names>
            ,
            <surname>Lewe</surname>
          </string-name>
          ,
          <string-name>
            <surname>C.</surname>
          </string-name>
          :
          <article-title>Chasing sets: How to use existential rules for expressive reasoning</article-title>
          . In: Kraus,
          <string-name>
            <surname>S</surname>
          </string-name>
          . (ed.)
          <source>Proc. 28th Int. Joint Conf. on Artif. Intell. (IJCAI</source>
          <year>2019</year>
          ). pp.
          <volume>1624</volume>
          {
          <fpage>1631</fpage>
          . ijcai.
          <source>org</source>
          (
          <year>2019</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          6.
          <string-name>
            <surname>Carral</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Gonzalez</surname>
            ,
            <given-names>L.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Koopmann</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          :
          <article-title>From Horn-SRIQ to Datalog: A dataindependent transformation that preserves assertion entailment</article-title>
          .
          <source>In: Proc. 33rd AAAI Conf. on Arti cial Intelligence (AAAI</source>
          <year>2019</year>
          ). pp.
          <volume>2736</volume>
          {
          <fpage>2743</fpage>
          . AAAI Press (
          <year>2019</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          7.
          <string-name>
            <surname>Carral</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          , Krotzsch, M.:
          <article-title>Rewriting the description logic ALCHIQ to disjunctive existential rules</article-title>
          .
          <source>In: Proceedings of the 29th International Joint Conference on Arti cial Intelligence (IJCAI'20)</source>
          (
          <year>2020</year>
          ), to appear, available at https://iccl. inf.tu-dresden.de/web/Inproceedings3244/en
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          8.
          <string-name>
            <surname>Eiter</surname>
            ,
            <given-names>T.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Ortiz</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Simkus</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Tran</surname>
            ,
            <given-names>T.K.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Xiao</surname>
          </string-name>
          , G.:
          <article-title>Query rewriting for HornSHIQ plus rules</article-title>
          . In: Ho mann, J.,
          <string-name>
            <surname>Selman</surname>
            ,
            <given-names>B.</given-names>
          </string-name>
          <source>(eds.) Proc. 26th AAAI Conf. on Arti cial Intelligence (AAAI</source>
          <year>2012</year>
          ). AAAI Press (
          <year>2012</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          9.
          <string-name>
            <surname>Hustadt</surname>
            ,
            <given-names>U.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Motik</surname>
            ,
            <given-names>B.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Sattler</surname>
            ,
            <given-names>U.</given-names>
          </string-name>
          :
          <article-title>Reasoning in Description Logics by a reduction to disjunctive Datalog</article-title>
          .
          <source>J. Automated Reasoning39(3)</source>
          ,
          <volume>351</volume>
          {
          <fpage>384</fpage>
          (
          <year>2007</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          10.
          <string-name>
            <surname>Kazakov</surname>
            ,
            <given-names>Y.</given-names>
          </string-name>
          , Krotzsch,
          <string-name>
            <given-names>M.</given-names>
            ,
            <surname>Simanc k</surname>
          </string-name>
          , F.:
          <article-title>The incredible ELK: From polynomial procedures to e cient reasoning with EL ontologies</article-title>
          .
          <source>J. Automated Reasoning53</source>
          ,
          <volume>1</volume>
          {
          <fpage>61</fpage>
          (
          <year>2013</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          11. Krotzsch, M.:
          <article-title>E cient rule-based inferencing for OWL EL</article-title>
          . In: Walsh,
          <string-name>
            <surname>T</surname>
          </string-name>
          . (ed.)
          <source>Proc. 22nd Int. Joint Conf. on Artif. Intell. (IJCAI</source>
          <year>2011</year>
          ). pp.
          <volume>2668</volume>
          {
          <fpage>2673</fpage>
          . IJCAI/AAAI (
          <year>2011</year>
          ). https://doi.org/10.5591/978-1-
          <fpage>57735</fpage>
          -516-8/
          <fpage>IJCAI11</fpage>
          - 444, https://doi.org/10.5591/978-1-
          <fpage>57735</fpage>
          -516-8/
          <fpage>IJCAI11</fpage>
          -444
        </mixed-citation>
      </ref>
      <ref id="ref12">
        <mixed-citation>
          12.
          <string-name>
            <surname>Lifschitz</surname>
          </string-name>
          , V.: Answer Set Programming. Springer (
          <year>2019</year>
          ). https://doi.org/10.1007/978-3-
          <fpage>030</fpage>
          -24658-7, https://doi.org/10.1007/ 978-3-
          <fpage>030</fpage>
          -24658-7
        </mixed-citation>
      </ref>
      <ref id="ref13">
        <mixed-citation>
          13.
          <string-name>
            <surname>Motik</surname>
            ,
            <given-names>B.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Nenov</surname>
            ,
            <given-names>Y.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Piro</surname>
            ,
            <given-names>R.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Horrocks</surname>
            ,
            <given-names>I.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Olteanu</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          :
          <article-title>Parallel materialisation of Datalog programs in centralised, main-memory RDF systems</article-title>
          .
          <source>In: Proc. 28th AAAI Conf. on Arti cial Intelligence (AAAI</source>
          <year>2014</year>
          ). pp.
          <volume>129</volume>
          {
          <issue>137</issue>
          (
          <year>2014</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref14">
        <mixed-citation>
          14.
          <string-name>
            <surname>Ortiz</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Rudolph</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Simkus</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          :
          <article-title>Worst-case optimal reasoning for the HornDL fragments of OWL 1 and 2</article-title>
          . In: Lin,
          <string-name>
            <given-names>F.</given-names>
            ,
            <surname>Sattler</surname>
          </string-name>
          ,
          <string-name>
            <given-names>U.</given-names>
            ,
            <surname>Truszczynski</surname>
          </string-name>
          , M. (eds.)
          <source>Proc. 12th Int. Conf. on Principles of Knowledge Representation and Reasoning (KR</source>
          <year>2010</year>
          ). AAAI Press (
          <year>2010</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref15">
        <mixed-citation>
          15.
          <string-name>
            <surname>Rudolph</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          , Krotzsch,
          <string-name>
            <given-names>M.</given-names>
            ,
            <surname>Hitzler</surname>
          </string-name>
          ,
          <string-name>
            <surname>P.</surname>
          </string-name>
          :
          <article-title>Type-elimination-based reasoning for the Description Logic SHIQbs using decision diagrams and disjunctive Datalog. Logical Methods in Computer Science8(1) (</article-title>
          <year>2012</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref16">
        <mixed-citation>
          16.
          <string-name>
            <surname>Simancik</surname>
            ,
            <given-names>F.</given-names>
          </string-name>
          :
          <article-title>Elimination of complex RIAs without automata</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. 25th Int. Workshop on Description Logics (DL</source>
          <year>2012</year>
          ).
          <source>CEUR Workshop Proceedings</source>
          , vol.
          <volume>846</volume>
          .
          <string-name>
            <surname>CEUR-WS.org</surname>
          </string-name>
          (
          <year>2012</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref17">
        <mixed-citation>
          17.
          <string-name>
            <surname>Urbani</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          , Krotzsch,
          <string-name>
            <given-names>M.</given-names>
            ,
            <surname>Jacobs</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C.J.H.</given-names>
            ,
            <surname>Dragoste</surname>
          </string-name>
          ,
          <string-name>
            <given-names>I.</given-names>
            ,
            <surname>Carral</surname>
          </string-name>
          , D.:
          <article-title>E cient model construction for Horn logic with VLog { system description</article-title>
          .
          <source>In: Proc. 9th Int. Joint Conf. on Automated Reasoning (IJCAR</source>
          <year>2018</year>
          ),
          <article-title>Held as Part of the Federated Logic Conference</article-title>
          (FloC
          <year>2018</year>
          ). pp.
          <volume>680</volume>
          {
          <issue>688</issue>
          (
          <year>2018</year>
          )
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>