<!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>Parallelised ABox Reasoning and Query Answering with Expressive Description Logics (Extended Abstract)?</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Andreas Steigmiller</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Birte Glimm</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Ulm University</institution>
          ,
          <addr-line>Ulm, Germany, &lt; rst name&gt;.&lt;last</addr-line>
        </aff>
      </contrib-group>
      <abstract>
        <p>Handling knowledge bases that are formulated with expressive Description Logics (DLs), such as SROIQ [8], and that contain large amounts of facts is still challenging for state-of-the-art reasoning systems despite the huge range of developed optimisation techniques. For example, there are several summarisation [2,5] as well as abstraction techniques [6] and some problems are well-suited for a reduction to datalog [1,4,15]. However, these techniques do not necessarily work well for all ontologies, may be limited to certain queries or (fragments of) DLs, or require expensive computations (e.g., justi cations). Particularly challenging is the support of conjunctive queries with complex concept terms and/or with existential variables that may bind to anonymous individuals since these features typically make it di cult to appropriately split the ABox upfront [13,14]. Although many tableau-based reasoning systems for expressive DLs directly integrate techniques that improve ABox reasoning, e.g., bulk processing with binary retrieval [7], caching and reusing the partial model (aka completion graph) from the initial consistency check [9,11], these techniques typically require signi cant amounts of main memory, which may be more than what is typically available. We propose to dynamically split the model construction process with tableau algorithms. This allows for (i) handling larger ABoxes since not everything has to be processed at once and for (ii) exploiting parallelisation. In particular, we can ensure similarly sized work packages that can be processed concurrently without direct synchronisation. To ensure that the partial models constructed in parallel are \compatible" with each other, we employ a cache where selected consequences for individuals are stored and utilise appropriate reuse and expansion strategies in the model construction process for the cached consequences. Conjunctive query answering is supported by adapting the expansion criteria and by appropriately splitting the propagation work through the (partial) models. For consistency checking, the work- ow with this individual derivations cache is roughly as follows: A thread gets a new part of the ABox assigned and retrieves stored derivations from the cache for the individuals in that part. The thread then tries to construct a fully expanded and clash-free local completion graph for the ABox part by reusing cached derivations and/or by expanding the</p>
      </abstract>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>-</title>
      <p>
        processing to individuals until they are \compatible" with the cache.
Compatibility requires that the local completion graph is fully expanded and clash-free
and that it can be expanded such that it matches the derivations for the
remaining individuals in the cache. If it is required to extend the processing to some
\neighbouring" individuals for achieving compatibility (e.g., if di erent
nondeterministic decisions are required for the already processed individuals), then
also the cached derivations for these individuals are retrieved and considered. If
this process succeeds, the cache is updated with the new or changed derivations
for the processed individuals. If compatibility cannot be obtained (e.g., due to
expansion limitations that ensure similarly sized work packages), then the
corresponding cache entries are marked such that these parts are considered later
separately, i.e., a thread loads the data for (some) marked individuals and tries
to construct a fully expanded and clash-free completion graph for the
problematic part until full compatibility is obtained. If clashes occur that depend on
reused (non-deterministic) derivations from the cache, then the corresponding
individuals can be identi ed such that their expansion can be prioritized and/or
the reuse of their derivations can be avoided. As a result, (in)consistency of
the knowledge base can eventually be detected, as soon as all problematic
individuals are directly expanded and all relevant non-deterministic decisions are
investigated together. More details can be found in the accompanying technical
report [
        <xref ref-type="bibr" rid="ref10">10</xref>
        ].
      </p>
      <p>
        We implemented the proposed individual derivations cache with a few
extensions and adaptations in the tableau-based reasoning system Konclude [12]. For
evaluating the approach, we used the large ontologies and complex queries from
the PAGOdA and VLog evaluations [
        <xref ref-type="bibr" rid="ref3">3,15</xref>
        ], which include the well-known LUBM
and UOBM benchmarks as well as the real-world ontologies ChEMBL,
Reactome, and Uniprot. We run the evaluations on a Dell PowerEdge R730 server
with two Intel Xeon E5-2660V3 CPUs at 2.4 GHz and 512 GB RAM under a
64bit Ubuntu 18.04.3 LTS. Table 1 shows the times (and scalability) for the
(pre-)computation phase (left-hand side), which excludes parsing and, hence, is
dominated by consistency checking for these ontologies, as well as for
answering the queries (right-hand side), accumulated for each ontology. K-1, K-2, K-4,
K-8 stand for the versions of Konclude, where 1, 2, 4, and 8 threads are used,
respectively. Without splitting the work with the individual derivations cache,
the consistency checking runs out of memory for these ontologies and several
queries cannot be computed. The parallelisation leads to signi cantly improved
consistency checking and query answering times, but still leaves room for
improvements for some ontologies and queries. As a comparison, PAGOdA reached
the memory limit for one query and for two the used time limit of 10 hours.
Acknowledgements The work was funded by the German Research Foundation
(Deutsche Forschungsgemeinschaft, DFG) in project number 330492673.
12. Steigmiller, A., Liebig, T., Glimm, B.: Konclude: system description. J. of Web
      </p>
      <p>Semantics 27(1) (2014)
13. Wandelt, S., Moller, R.: Distributed island-based query answering for expressive
ontologies. In: Proc. 5th Int. Conf. on Advances in Grid and Pervasive Computing
(GPC'10). pp. 461{470. Springer (2010)
14. Wandelt, S., Moller, R.: Towards ABox modularization of semi-expressive
description logics. J. of Applied Ontology 7(2), 133{167 (2012)
15. Zhou, Y., Cuenca Grau, B., Nenov, Y., Kaminski, M., Horrocks, I.: PAGOdA:
Pay-as-you-go ontology query answering using a datalog reasoner. J. of Arti cial
Intelligence Research 54, 309{367 (2015)</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          1.
          <string-name>
            <surname>Allocca</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Calimeri</surname>
            ,
            <given-names>F.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Civili</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Costabile</surname>
            ,
            <given-names>R.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Cuteri</surname>
            ,
            <given-names>B.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Fiorentino</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Fusca</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Germano</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Laboccetta</surname>
            ,
            <given-names>G.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Manna</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Perri</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Reale</surname>
            ,
            <given-names>K.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Ricca</surname>
            ,
            <given-names>F.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Veltri</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Zangari</surname>
          </string-name>
          , J.:
          <article-title>Large-scale reasoning on expressive horn ontologies</article-title>
          .
          <source>In: Proc. 3rd Int. Workshop on the Resurgence of Datalog in Academia and Industry (Datalog 2.0'19)</source>
          .
          <source>CEUR WS Proceedings</source>
          , vol.
          <volume>2368</volume>
          , pp.
          <volume>10</volume>
          {
          <fpage>21</fpage>
          .
          <string-name>
            <surname>CEUR</surname>
          </string-name>
          (
          <year>2019</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          2.
          <string-name>
            <surname>Bajraktari</surname>
            ,
            <given-names>L.</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>Compiling model representations for querying large ABoxes in expressive DLs</article-title>
          .
          <source>In: Proc. 27nd Int. Joint Conf. on Arti cial Intelligence (IJCAI'18)</source>
          . pp.
          <volume>1691</volume>
          {
          <issue>1698</issue>
          (
          <year>2018</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          3.
          <string-name>
            <surname>Carral</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Dragoste</surname>
            ,
            <given-names>I.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Gonzalez</surname>
            ,
            <given-names>L.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Jacobs</surname>
            ,
            <given-names>C.J.H.</given-names>
          </string-name>
          , Krotzsch,
          <string-name>
            <given-names>M.</given-names>
            ,
            <surname>Urbani</surname>
          </string-name>
          ,
          <string-name>
            <surname>J.:</surname>
          </string-name>
          <article-title>VLog: A rule engine for knowledge graphs</article-title>
          .
          <source>In: Proc. 18th Int. Semantic Web Conf. (ISWC'19)</source>
          . pp.
          <volume>19</volume>
          {
          <fpage>35</fpage>
          . Springer (
          <year>2019</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>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'19)</source>
          . pp.
          <volume>2736</volume>
          {
          <fpage>2743</fpage>
          . AAAI Press (
          <year>2019</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          5.
          <string-name>
            <surname>Dolby</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Fokoue</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Kalyanpur</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Schonberg</surname>
            ,
            <given-names>E.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Srinivas</surname>
            ,
            <given-names>K.</given-names>
          </string-name>
          :
          <article-title>Scalable highly expressive reasoner (SHER)</article-title>
          .
          <source>J. of Web Semantics</source>
          <volume>7</volume>
          (
          <issue>4</issue>
          ),
          <volume>357</volume>
          {
          <fpage>361</fpage>
          (
          <year>2009</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          6.
          <string-name>
            <surname>Glimm</surname>
            ,
            <given-names>B.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Kazakov</surname>
            ,
            <given-names>Y.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Tran</surname>
            ,
            <given-names>T.</given-names>
          </string-name>
          :
          <article-title>Ontology materialization by abstraction renement in horn SHOIF</article-title>
          .
          <source>In: Proc. 31st AAAI Conf. on Arti cial Intelligence (AAAI'17)</source>
          . pp.
          <volume>1114</volume>
          {
          <fpage>1120</fpage>
          . AAAI Press (
          <year>2017</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          7.
          <string-name>
            <surname>Haarslev</surname>
            ,
            <given-names>V.</given-names>
          </string-name>
          , Moller, R.:
          <article-title>On the scalability of description logic instance retrieval</article-title>
          .
          <source>J. of Automated Reasoning</source>
          <volume>41</volume>
          (
          <issue>2</issue>
          ),
          <volume>99</volume>
          {
          <fpage>142</fpage>
          (
          <year>2008</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          8.
          <string-name>
            <surname>Horrocks</surname>
            ,
            <given-names>I.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Kutz</surname>
            ,
            <given-names>O.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Sattler</surname>
            ,
            <given-names>U.</given-names>
          </string-name>
          :
          <article-title>The even more irresistible SROIQ</article-title>
          .
          <source>In: Proc. 10th Int. Conf. on Principles of Knowledge Representation and Reasoning (KR'06)</source>
          . pp.
          <volume>57</volume>
          {
          <fpage>67</fpage>
          . AAAI Press (
          <year>2006</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          9.
          <string-name>
            <surname>Sirin</surname>
            ,
            <given-names>E.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Cuenca Grau</surname>
            ,
            <given-names>B.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Parsia</surname>
            ,
            <given-names>B.</given-names>
          </string-name>
          :
          <article-title>From wine to water: Optimizing description logic reasoning for nominals</article-title>
          .
          <source>In: Proc. 10th Int. Conf. on Principles of Knowledge Representation and Reasoning (KR'06)</source>
          . pp.
          <volume>90</volume>
          {
          <fpage>99</fpage>
          . AAAI Press (
          <year>2006</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          10.
          <string-name>
            <surname>Steigmiller</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Glimm</surname>
            ,
            <given-names>B.</given-names>
          </string-name>
          :
          <article-title>Parallelised abox reasoning and query answering with expressive description logics { technical report</article-title>
          .
          <source>Tech. rep.</source>
          , Ulm University, Ulm, Germany (
          <year>2020</year>
          ), available online at https://www.uni-ulm.de/fileadmin/ website_uni_ulm/iui.inst.090/Publikationen/2020/StGl2020-PARQA-TRDL.pdf
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          11.
          <string-name>
            <surname>Steigmiller</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Glimm</surname>
            ,
            <given-names>B.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Liebig</surname>
            ,
            <given-names>T.</given-names>
          </string-name>
          :
          <article-title>Completion graph caching for expressive description logics</article-title>
          .
          <source>In: Proc. 28th Int. Workshop on Description Logics (DL'15)</source>
          (
          <year>2015</year>
          )
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>