<!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>Mixed-World Reasoning with Existential Rules under Active Domain Semantics (Abstract)</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Meghyn Bienvenu</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Pierre Bourhis</string-name>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>CNRS &amp; University of Bordeaux</institution>
          ,
          <addr-line>Talence</addr-line>
          ,
          <country country="FR">France</country>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>CNRS, University of Lille, Inria Lille</institution>
          ,
          <addr-line>Lille</addr-line>
          ,
          <country country="FR">France</country>
        </aff>
      </contrib-group>
      <abstract>
        <p>This extended abstract summarizes our recent study [4] of existential rules with closed predicates and active-domain semantics.</p>
      </abstract>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>-</title>
      <p>The vast majority of work on ontology-mediated query answering (OMQA)
adopts the open world assumption, whereby facts that are not present in the
data instance are treated as unknown. Formally, each knowledge base (KB)
(R; I), consisting of an ontology R and data instance I, give rise to a set of
models, de ned as the rst-order structures that make true all facts in I and
satis es all rules (or axioms) in R. When querying a KB, we are interested in
the certain answers that hold for every model of the KB. By contrast, relational
databases make the closed-world assumption, where each instance I is interpreted
as the nite structure whose domain is the active domain of I (i.e., the constants
explicitly mentioned in I) and which makes true precisely the facts in I.</p>
      <p>
        In practice, it seems natural to assume that applications may involve some
predicates whose contents are fully known and others for which we have only
partial information. This motivates the consideration of mixed-world semantics,
where the set of predicates is partitioned into closed and open predicates, and
models are required to coincide with the instance on the closed predicates.
Mixedworld OMQA was rst explored for description logic (DL) ontologies [10{12] and
has only recently been studied for existential rules [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ], another prominent class of
ontology languages [
        <xref ref-type="bibr" rid="ref1 ref2 ref5 ref9">1, 2, 9, 5</xref>
        ]. Further variants of traditional OMQA semantics
can be obtained by placing additional restrictions on the models. In particular, as
the classical semantics considers arbitrary models with possibly in nite domains,
It is interesting to consider the restriction to nite models [
        <xref ref-type="bibr" rid="ref7 ref8">8, 7</xref>
        ], or models with
xed or bounded-size domains as in [
        <xref ref-type="bibr" rid="ref13 ref6">6, 13</xref>
        ].
      </p>
      <p>The research summarized here combines elements of these di erent lines of
research by exploring OMQA with existential rules under a hybrid mixed-world
active-domain semantics, in which we can use both closed and open predicates,
and the semantics is based upon active-domain models whose domains are equal
to the active domain of the instance. Such a semantics is appropriate for scenarios
in which all relevant constants are made available in the instance. A possible use
case, which served as a motivation for our work, is in analyzing the trajectories
of people circulating in a geographically restricted area (e.g., industrial facility,
closed medical facility) that is equipped with captors and secure entry and exit
(so that the set of people in the area is known at each timepoint).</p>
      <p>Meghyn Bienvenu and Pierre Bourhis</p>
      <p>
        We have analyzed the data complexity of three central reasoning tasks in this
setting which are to determine whether a mixed-world knowledge base (MWKB)
is satis able, and whether a Boolean conjunctive query (BCQ) is certain or
possible w.r.t. a MWKB (the latter can be equivalently viewed as determining whether
a BCQ is not certainly false). We show that all three tasks are intractable
(NPor coNP-complete in data complexity) for MWKBs based upon arbitrary
existential rules. This is unsurprising in light of previous negative results obtained
for querying lightweight DL ontologies with closed predicates [
        <xref ref-type="bibr" rid="ref10">10</xref>
        ]. However, for
the linear fragment (where rule bodies may contain at most one atom with an
open predicate, and arbitrarily many closed atoms), we establish a maximal
model property, which we exploit to to derive tractability results. Speci cally,
we show that satis ability, possibility of BCQs, and certainty of facts, are all
PTIME-complete in data complexity. Moreover, all of the PTIME upper bounds
remain valid in the presence of useful extensions, like (in)equality atoms, negated
closed atoms, and disjunction in ruleheads.
      </p>
      <p>Motivated by these encouraging results, we investigate the linear fragment
in more detail. It is a well-known result in descriptive complexity that
semipositive Datalog (i.e., Datalog rules that may use negated extensional atoms in
their bodies) captures all PTIME queries over ordered instances with min and
max, i.e., instances I with a binary predicate Succ providing a successor relation
among all constants in adom(I), and unary predicates M in and M ax containing
the smallest and largest constants. We study the expressive power of the linear
fragment and prove our most technically challenging result, namely, that atomic
queries coupled with mixed-world linear existential rules, extended with either
closed negated atoms or disjunctive ruleheads and interpreted under either
certain or possible active-domain semantics, can express all PTIME queries over
ordered instances (we do not require min and max to be given as input, as we
can compute them from the Succ relation).</p>
      <p>While the (extended) linear fragment has desirable computational properties,
it cannot express some useful constructs, such as functionality. To broaden its
applicability, we introduce a general method of approximating unrestricted
existential rules by means of linear rules, which roughly works as follows. Given an
arbitrary ruleset, we can rst compute the certain and possible facts using only
its linear rules, which yields a subset of the `true' certain facts and a superset of
the possible ones. We store these facts in new closed predicates linked by rules
to the original open predicates, create new linear rules from the non-linear rules
by replacing all open atoms but one with one with a closed atom (using the new
closed predicates), then recompute the certain and possible facts. Iterating this
process until xpoint allows us to obtain more re ned approximations of the
certain and possible facts of the original ruleset.</p>
      <p>We envision several continuations to this work, including: studying the
combined complexity and the impact of using a xed but succinctly represented
domain, further exploring the expressive power of di erent fragments, and
developing and implementing e cient PTIME algorithms for the linear fragment
(avoiding the construction of full maximal models).</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          1.
          <string-name>
            <surname>Baget</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Leclere</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Mugnier</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Salvat</surname>
          </string-name>
          , E.:
          <article-title>Extending decidable cases for rules with existential variables</article-title>
          .
          <source>In: Proceedings of IJCAI</source>
          (
          <year>2009</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          2.
          <string-name>
            <surname>Baget</surname>
            ,
            <given-names>J.F.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Leclere</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Mugnier</surname>
            ,
            <given-names>M.L.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Salvat</surname>
          </string-name>
          , E.:
          <article-title>On rules with existential variables: Walking the decidability line</article-title>
          .
          <source>Arti cial Intelligence</source>
          <volume>175</volume>
          (
          <fpage>9</fpage>
          -
          <lpage>10</lpage>
          ),
          <volume>1620</volume>
          {
          <fpage>1654</fpage>
          (
          <year>2011</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          3.
          <string-name>
            <surname>Benedikt</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Bourhis</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>ten Cate</surname>
            ,
            <given-names>B.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Puppis</surname>
          </string-name>
          , G.:
          <article-title>Querying visible and invisible information</article-title>
          .
          <source>In: Proceedings of LICS</source>
          (
          <year>2016</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          4.
          <string-name>
            <surname>Bienvenu</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Bourhis</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          :
          <article-title>Mixed-world reasoning with existential rules under active domain semantics</article-title>
          .
          <source>In: Proceedings of IJCAI</source>
          (
          <year>2019</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          5.
          <string-name>
            <surname>Cal</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Gottlob</surname>
            ,
            <given-names>G.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Lukasiewicz</surname>
            ,
            <given-names>T.</given-names>
          </string-name>
          :
          <article-title>A general datalog-based framework for tractable query answering over ontologies</article-title>
          .
          <source>Journal of Web Semantics</source>
          <volume>14</volume>
          ,
          <issue>57</issue>
          {
          <fpage>83</fpage>
          (
          <year>2012</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          6.
          <string-name>
            <surname>Gaggl</surname>
            ,
            <given-names>S.A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Rudolph</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Schweizer</surname>
            ,
            <given-names>L.</given-names>
          </string-name>
          :
          <article-title>Fixed-domain reasoning for description logics</article-title>
          .
          <source>In: Proceedings of ECAI</source>
          (
          <year>2016</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          7.
          <string-name>
            <surname>Gogacz</surname>
            ,
            <given-names>T.</given-names>
          </string-name>
          ,
          <article-title>Iban~ez-Garc a</article-title>
          ,
          <string-name>
            <given-names>Y.A.</given-names>
            ,
            <surname>Murlak</surname>
          </string-name>
          ,
          <string-name>
            <surname>F.</surname>
          </string-name>
          :
          <article-title>Finite query answering in expressive description logics with transitive roles</article-title>
          .
          <source>In: Proceedings of KR</source>
          (
          <year>2018</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          8.
          <string-name>
            <surname>Iban</surname>
          </string-name>
          <article-title>~ez-Garc a</article-title>
          ,
          <string-name>
            <given-names>Y.A.</given-names>
            ,
            <surname>Lutz</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C.</given-names>
            ,
            <surname>Schneider</surname>
          </string-name>
          ,
          <string-name>
            <surname>T.</surname>
          </string-name>
          :
          <article-title>Finite model reasoning in Horn description logics</article-title>
          .
          <source>In: Proceedings of KR</source>
          (
          <year>2014</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          9. Krotzsch,
          <string-name>
            <given-names>M.</given-names>
            ,
            <surname>Rudolph</surname>
          </string-name>
          ,
          <string-name>
            <surname>S.</surname>
          </string-name>
          :
          <article-title>Extending decidable existential rules by joining acyclicity and guardedness</article-title>
          .
          <source>In: Proceedings of IJCAI</source>
          (
          <year>2011</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          10.
          <string-name>
            <surname>Lutz</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Seylan</surname>
            ,
            <given-names>I.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Wolter</surname>
            ,
            <given-names>F.</given-names>
          </string-name>
          :
          <article-title>Ontology-based data access with closed predicates is inherently intractable (sometimes)</article-title>
          .
          <source>In: Proceedings of IJCAI</source>
          (
          <year>2013</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          11.
          <string-name>
            <surname>Lutz</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Seylan</surname>
            ,
            <given-names>I.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Wolter</surname>
            ,
            <given-names>F.</given-names>
          </string-name>
          :
          <article-title>Ontology-mediated queries with closed predicates</article-title>
          .
          <source>In: Proceedings of IJCAI</source>
          (
          <year>2015</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref12">
        <mixed-citation>
          12.
          <string-name>
            <surname>Ngo</surname>
            ,
            <given-names>N.</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>Closed predicates in description logics: Results on combined complexity</article-title>
          .
          <source>In: Proceedings of KR</source>
          (
          <year>2016</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref13">
        <mixed-citation>
          13.
          <string-name>
            <surname>Rudolph</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Schweizer</surname>
            ,
            <given-names>L.</given-names>
          </string-name>
          :
          <article-title>Not too big, not too small... complexities of xeddomain reasoning in rst-order and description logics</article-title>
          .
          <source>In: Proceedings of EPIA</source>
          (
          <year>2017</year>
          )
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>