<!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>Rewritability Results for OMQs with Closed Predicates ?</article-title>
      </title-group>
      <contrib-group>
        <aff id="aff0">
          <label>0</label>
          <institution>Institute of Logic and Computation</institution>
          ,
          <addr-line>TU Wien</addr-line>
          ,
          <country country="AT">Austria</country>
        </aff>
      </contrib-group>
      <abstract>
        <p>The semantics of Description Logic (DL) ontologies adopts the open-world assumption (OWA) from classical first-order logic (FOL), which makes them well suited to reason about incomplete knowledge. However, there are many applications where incomplete and complete data co-exist, and the standard OWA, which assumes that all data is incomplete, allows to draw less inferences than desired. Adding closedpredicates to ontology-mediated queries (OMQs) is an elegant and powerful way to reach better conclusions leveraging partial completeness, but unfortunately, it is well-known that OMQs with closed predicates are coNP-hard in practically every non-trivial setting, and hence they are not FOL-rewritable. We recall here a small selection of recent results on rewritability of OMQs with closed predicates: two polynomial rewritings into extensions of Datalog for restricted classes of conjunctive queries mediated by ontologies in very expressive DLs like ALCHOI and ALCHOIF , and a recent approach that identifies an FOL-rewritable family of OMQs that includes full conjunctive queries and DL-Lite ontologies, while restricting in a novel yet non-trivial way the use of closed predicates.</p>
      </abstract>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>-</title>
      <p>
        Like classical first-order logic (FOL), description logics (DLs) adopt the
openworld assumption (OWA) [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ]. A model of a DL ontology O is a structure that
satisfies the axioms in O, and which can freely interpret as true or false the
assertions whose truth or falsity is not implied by O. A DL ontology typically has
many models, many of which can contain facts that are not relevant to the
modeled problem but are not ruled out by the ontology. With this classical semantics,
DLs are well suited to reason about incomplete knowledge, and they have been
successfully applied in many areas where problems of interest can be modeled
and solved by means of different reasoning services, which are usually defined in
terms of logical entailment in a way that ‘irrelevant models’ are immaterial.
      </p>
      <p>
        An important reasoning service that is found at the core of many modern
applications of DLs (such as the prominent ontology-based data access (OBDA)
? Copyright c 2020 for this paper by its authors. Use permitted under Creative
Commons License Attribution 4.0 International (CC BY 4.0).
[
        <xref ref-type="bibr" rid="ref29">29</xref>
        ] paradigm) is that of ontology-mediated query (OMQ) answering [
        <xref ref-type="bibr" rid="ref8">8</xref>
        ], that
allows is to retrieve all certain answers to a given query over a possibly incomplete
dataset—or ABox, in DL jargon—taking into account not only the explicit data,
but also all additional facts that can be inferred from the data using the ontology.
In an OMQ we pair a given query q with a domain ontology O. To evaluate it
over a possibly incomplete dataset A, we adopt the certain answer semantics,
where a tuple is an answer to (q; O) if it is an answer to q in every model of A
and O.
      </p>
      <p>
        Example 1. Consider the following example, inspired by Example 1 in [
        <xref ref-type="bibr" rid="ref25">25</xref>
        ].
Suppose that we have a possibly incomplete dataset A of car models and their motors
(e.g., in an online car marketplace).
      </p>
      <p>Car(c1):
Car(c2):
ToyotaCar(c2):
Car(c3):
hasMotor(c1; 2KD):
hasMotor(c3; 2SDI):</p>
      <p>DieselMotor(2KD):
DieselMotor(2SDI):
PetrolMotor(1GZ):</p>
      <p>ToyotaMotor(2KD):
ToyotaMotor(1GZ):
To find all cars with an internal combustion motor, one can leverage an ontology
O that includes, among others, the following axioms stating that petrol and
diesel motors are internal combustion (IC) motors, and Toyota cars have Toyota
motors.</p>
    </sec>
    <sec id="sec-2">
      <title>PetrolMotor v ICMotor ToyotaCar v 9hasMotor:ToyotaMotor</title>
    </sec>
    <sec id="sec-3">
      <title>DieselMotor v ICMotor</title>
      <p>Let q(x) = 9y: Car(x) ^ hasMotor(x; y) ^ ICMotor(y): Then, by posing the OMQ
(q; O) over A, one obtains as certain answers c1 and c3, the two cars that are
known to have an IC motor. Note that we know that c2 has a Toyota motor,
but we do not know whether it is an IC motor.</p>
      <p>
        In the OMQ community, rewritability results play a fundamental role (see,
e.g., [
        <xref ref-type="bibr" rid="ref11 ref2 ref20 ref4 ref9">2, 4, 9, 11, 20</xref>
        ] and their references). We say that a family of OMQs Q is
rewritable into a target query language L, if for every Q = (q; O) in Q, there
is a query rew (Q) in L such that, for every A, the certain answers of Q over
A coincide with the (usual) answers of rew (Q) over A. The rewritability into
a target L means—at least in principle—that OMQ answering in the class Q
can be realized using off-the-shelf query answering engines for L, and indeed,
rewritings have played a crucial role the successful implementation of OMQs.
FOL-rewritability is particularly appealing, since it means that OMQ answering
can be realized using existing RDBMSs. For example, for the OMQ above we can
use the following FOL-rewriting that retrieves the same answers when evaluated
over A, without the need to reason about O.
      </p>
      <p>rew (q; O)(x) = 9y Car(x) ^ hasMotor(x; y) ^</p>
      <sec id="sec-3-1">
        <title>ICMotor(y) _ DieselMotor(y) _ PetrolMotor(y)</title>
        <p>The importance of rewritings is not restricted to reusing technologies for OMQ
answering. In fact, many existing rewriting algorithms produce rewritings that
are too large or complex to evaluate with standard query engines. However, even
if this is the case, rewritings can play an important role also in foundational
research. Establishing the (non-)existence of rewritings, as well as bounds on
their sizes, are central tools to study the relative expressiveness of different OMQ
languages, and to compare them to traditional query languages.
1.1</p>
        <p>
          OMQs with Closed Predicates
There are many applications of DLs in general, and of OMQs in particular, where
the OWA results in a semantics that is weaker than desired, as intended
consequences are not entailed because they are falsified in some unintended model [
          <xref ref-type="bibr" rid="ref2 ref26">2,
26</xref>
          ]. For example, if all Toyota motors are IC motors, then we want to obtain in
the example above also c2 as an answer. To overcome this challenge, variations of
standard DLs with different forms of (partial) closed-world assumption (CWA)
have been extensively studied since the early days of DLs and keep receiving
significant attention, e.g., [
          <xref ref-type="bibr" rid="ref10 ref12 ref14 ref15 ref16 ref17 ref18 ref21 ref27 ref6">6, 10, 12, 14–18, 21, 27</xref>
          ]. In the setting of OMQ answering,
we may find ourselves facing a scenario where the data is incomplete, but some
parts of it are known to be complete, and standard OMQs do not have the
expressive means to harness the partial data completeness for obtaining better
inferences.
        </p>
        <p>
          Closed predicates are a simple and appealing way to evaluate OMQs in
settings where incomplete and complete information co-exist. An OMQ with closed
predicates (OMQCs) (q; O; ) extends an an (q; O) with a set of predicates
that are to be viewed as complete in the data [
          <xref ref-type="bibr" rid="ref15 ref2 ref26">15, 2, 26</xref>
          ]. The certain answers
(q; O; ) over A are thus the tuples that are an answer to q in every intended
model of A and O, that is, every structure extending A to satisfy O, but without
extending the extensions of the predicates in .
        </p>
        <p>Example 2. Assume that the list of Toyota motors in A is imported from a
complete list provided by the manufacturer.1 We can express this information
by saying that ToyotaMotor is a closed predicate, and harness this information
to retrieve also c2. The set of certain answers to the OMQ (q; O; fToyotaMotorg)
over A is fc1; c2; c3g.</p>
        <p>
          Several authors have studied OMQCs [
          <xref ref-type="bibr" rid="ref15 ref2 ref24 ref25 ref26 ref28">2, 15, 24–26, 28</xref>
          ], but unfortunately,
most works are marked by negative complexity results. Indeed, reasoning with
closed predicates has a high computational cost [
          <xref ref-type="bibr" rid="ref15 ref24 ref28">15, 24, 28</xref>
          ]. In the setting of
OMQs, the biggest obstacle is that closed predicates cause intractability in data
complexity: OMQC answering is coNP-hard, even when the ontology is in very
weak DLs like DL-Litecore or E L, and the query is in very restricted classes
of conjunctive queries (CQs) [
          <xref ref-type="bibr" rid="ref15 ref26">15, 26</xref>
          ]. This, of course, immediately implies that
there do not exist any data independent rewritings of OMQCs into query
languages with tractable data complexity, such as FOL or Datalog. Only severely
restricted classes of CQs and DL-Lite ontologies have been shown to be rewritable
1 Our toy example has only two motors, but a complete database of all Toyota motors
can be easily found online.
into equivalent FOL queries [
          <xref ref-type="bibr" rid="ref25 ref26">25, 26</xref>
          ]. Moreover, for DL-Lite it has been shown
that a class of OMQCs is FOL-rewritable only if it satisfies a convexity condition
which, as it turns out, implies that the presence of closed predicates is irrelevant
[
          <xref ref-type="bibr" rid="ref24">24</xref>
          ]. For a fine-grained non-uniform analysis of what makes OMQC answering
(in)tractable, please see [
          <xref ref-type="bibr" rid="ref26">26</xref>
          ].
        </p>
        <p>
          However, despite this rather discouraging landscape, we have seen interesting
progress in rewritability results for OMQCs in the last couple of years, e.g., [
          <xref ref-type="bibr" rid="ref19 ref2 ref23 ref25 ref3 ref7">2, 3,
7, 19, 23, 25</xref>
          ]. Here we will review a selection of these works, focusing on two types
of results. First, we discuss two polynomial rewritings for OMQCs that allow for
very expressive DLs as ontology languages, and use as target languages variants
of Datalog. Then we will briefly recall a recent approach that identifies an
FOLrewritable family of OMQs that includes full CQs and DL-Lite ontologies, but
restricts in a novel yet non-trivial way the use of closed predicates.
2
        </p>
        <p>
          Rewriting instance OMQCs in very expressive DLs
Since we know that OMQC answering is coNP-hard in basically all interesting
cases [
          <xref ref-type="bibr" rid="ref24">24</xref>
          ], it makes sense to consider as target for rewritings more expressive
query languages that also exhibit such data complexity.
        </p>
        <p>Moreover, OMQCs are a non-monotonic query language.</p>
        <p>
          Example 3. Recall that the certain answers to (q; O; fToyotaMotorg) over A are
fc1; c2; c3g. Assume that we received and updated list of Toyota motors that
includes ToyotaMotor(1PMSM), which is not listed as an IC motor. The
certain answers to (q; O; fToyotaMotorg) over A [ fToyotaMotor(1PMSM)g are now
fc1; c3g, since c2 can now have 1PMSM as motor and thus no IC motor.
Therefore, any potential rewriting must consider as target a query language that
is also non-monotonic. This makes extensions of Datalog with negation a natural
target [
          <xref ref-type="bibr" rid="ref13">13</xref>
          ].
        </p>
        <p>
          Indeed, rewritings into Datalog with negation have been developed for very
expressive DLs like ALCHOI [
          <xref ref-type="bibr" rid="ref2">2</xref>
          ] and ALCHOIF [
          <xref ref-type="bibr" rid="ref19">19</xref>
          ], considering as query
languages instance queries (IQs) and other restricted classes of CQs. Crucially,
both works produce Datalog programs of polynomial size. We also stress that
both of these translations are data independent, hence the presence of nominals
in the underlying DL does not help us simulate the closed predicates.
        </p>
        <p>
          In the former work [
          <xref ref-type="bibr" rid="ref2">2</xref>
          ], we characterize the satisfaction of the ontology as a
two-player game (inspired by type elimination algorithms), and then we design
a Datalog query that can decide the existence of a winning strategy for the
game. The resulting Datalog program uses a restricted form of negation and
falls in a fragment that can be evaluated in deterministic single exponential time,
hence it also provides a query answering algorithm that is worst-case optimal in
combined complexity. If there are no closed predicates—that is, for an instance
query mediated by a plain ALCHOI ontology—the translation yields a positive
disjunctive Datalog program of polynomial size, and if the input is in a Horn
fragment, a modified technique produces a plain Datalog program. These ideas
have been used also for tuple-generating dependencies (TGDs) in the absence
of closed predicates, showing that guarded TGDs can be polynomially encoded
into Datalog, and disjunctive guarded TGDs into disjunctive Datalog [
          <xref ref-type="bibr" rid="ref1">1</xref>
          ].
        </p>
        <p>
          For the DL ALCHOIF , in contrast, IQ answering (without closed predicates)
is already co-nexptime-hard, and the ideas discussed above are not applicable.
Therefore in our most recent work [
          <xref ref-type="bibr" rid="ref19">19</xref>
          ] we characterize models in terms of
matching set of mosaics, and show that the existence of the latter can be reduced to
integer programming. Then we define a carefully crafted program in Datalog
with negation that finds solutions to dynamically generated systems of integer
inequalities. This translation yields optimal co-np and co-nexptime-hard upper
bounds in data and combined complexity, respectively. We note that the latter
bound is new, and it was not obvious whether such a bound was possible in the
presence of closed predicates, and of the tricky combination of nominals, inverse
roles and role functionality.
        </p>
        <p>
          Both rewritings consider IQs and restricted families of CQs. Unfortunately,
allowing full CQs precludes the existence of a polynomial sized rewritings under
standard complexity assumptions, even if we restrict the ontology language.
Indeed, in the presence of closed predicates, OMQ answering with CQs is
2ExpTimehard already for E L and DL-LiteR [
          <xref ref-type="bibr" rid="ref28">28</xref>
          ], while entailment in Datalog with
negation is in coNExpTimeNP.
3
        </p>
        <p>
          An FOL-rewritable family of ontology-mediated CQs
Finally, we discuss a recent positive FOL-rewritability result that applies to
full CQs. We have already made clear that OMQCs are not FOL-rewritable for
any standard DL. However, we identified an interesting setting where OMQCs
that pair arbitrary CQs and DL-LiteR ontologies are FOL-rewritable, but the
use of closed predicates is restricted: these may not occur in the ontology, but
instead, we allow complex ABox assertions where closed predicates may occur
[
          <xref ref-type="bibr" rid="ref3">3</xref>
          ]. Although somewhat non-standard at first sight, such a setting is simple and
intuitive, and captures the typical examples that are used to argue in favor of
closed predicates in OMQs.
        </p>
        <p>The key idea underlying this rewriting is is that, if the closed predicates do
not occur in the TBox, then one may need to do some form of case-by-case
reasoning over models, but this can be encoded into a (non-monotonic) FOL
query that uses universal quantification to iterate over all possible extensions of
the closed predicates in the models of each input dataset. The resulting query
can be large and take a rather complex form, but does not seem to fully rule out
the possibility of implementation.</p>
        <p>
          Example 4. Consider a modified version of the example above, which is in fact
a minor modification of Example 1 in [
          <xref ref-type="bibr" rid="ref25">25</xref>
          ]. Since ToyotaMotor is closed, it is
disallowed in the ontology, and hence we consider O0:
        </p>
      </sec>
    </sec>
    <sec id="sec-4">
      <title>PetrolMotor v ICMotor</title>
    </sec>
    <sec id="sec-5">
      <title>DieselMotor v ICMotor</title>
      <p>
        We can, however, explicitely say that c2 has a Toyota motor by assuming
the ABox assertion 9hasMotor:ToyotaMotor(c2). The techniques in [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ] essentially
rewrites the OMQ (q; O) from Example 1 into (an equivalent form of) the FOL
query:
      </p>
      <sec id="sec-5-1">
        <title>9y Car(x) ^ hasMotor(x; y) ^</title>
      </sec>
      <sec id="sec-5-2">
        <title>ICMotor(y) _ DieselMotor(y) _ PetrolMotor(y) _ (ToyotaMotor(y) ^ 8y0(ToyotaMotor(y0)) ! (ICMotor(y0) _ DieselMotor(y0) _ PetrolMotor(y0)))</title>
        <p>Essentially, the disjunction in rew (q; O)(x) now has an additional disjunct that
allows to substitute y by any Toyota motor in every dataset in which all Toyota
motors are IC motors. Note that this query correctly retrieves fc1; c2; c3g when
evaluated over A, but only fc1; c3g when evaluated over</p>
      </sec>
      <sec id="sec-5-3">
        <title>A [ fToyotaMotor(1PMSM)g:</title>
        <p>
          The similar version of this example given in [
          <xref ref-type="bibr" rid="ref25">25</xref>
          ] is not FOL-rewritable: the axiom
        </p>
      </sec>
      <sec id="sec-5-4">
        <title>ToyotaCar v 9hasMotor:ToyotaMotor in the ontology makes it unsafe.</title>
        <p>
          We note that the algorithm in [
          <xref ref-type="bibr" rid="ref3">3</xref>
          ] considers a slightly more general framework.
Rather than adding complex ABox assertions, one can make a set of hypothesis
(which are instances of certain assumption patterns that are complex concepts
given as part of the input). The output for such a query are conditional
answers that pair instantiated hypothesis with tuples that are answers given the
hypothesis.
4
        </p>
        <p>
          Outlook
Reconciling the open- and closed-world assumptions is one of the most
fascinating challenges that the OMQ and DL communities face. Much has been achieved,
but we need to pay more attention to understanding the way complete and
incomplete information coexist in real-world applications. There is plenty of room
for meaningful characterizations of sets of intended models that are more useful
that the full set of open-world models that is prevalent in DL reasoning, without
fully giving up the open-world inference and the possibility of reasoning about
incomplete aspects of the world [
          <xref ref-type="bibr" rid="ref18">18</xref>
          ]. Many great ideas have been proposed over
the decades in areas like hybrid languages that combine rules and ontologies
(e.g., [
          <xref ref-type="bibr" rid="ref22 ref27 ref7">7, 27, 22</xref>
          ]), and in circumscription [
          <xref ref-type="bibr" rid="ref10">10</xref>
          ] and other forms of non-monotonic
reasoning in DLs [
          <xref ref-type="bibr" rid="ref14 ref6">14, 6</xref>
          ]. However, some of these ideas have not been pursued
sufficiently or left aside for too long.
        </p>
        <p>Acknowledgments The works reported here were supported by the Austrian
Science Fund (FWF) projects P30360, P30873 and W1255. They were carried out
with different co-authors, to whom I am grateful: special thank you to Shqiponja
Ahmetaj, Medina Andreşel, Sanja Lukumbuzya, and Mantas Šimkus.</p>
      </sec>
    </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>Rewriting guarded existential rules into small datalog programs</article-title>
          . In: Kimelfeld,
          <string-name>
            <given-names>B.</given-names>
            ,
            <surname>Amsterdamer</surname>
          </string-name>
          ,
          <string-name>
            <surname>Y</surname>
          </string-name>
          . (eds.) 21st
          <source>Int. Conf. on Database Theory</source>
          ,
          <string-name>
            <surname>ICDT</surname>
          </string-name>
          <year>2018</year>
          .
          <article-title>LIPIcs</article-title>
          , vol.
          <volume>98</volume>
          , pp.
          <volume>4</volume>
          :
          <fpage>1</fpage>
          -
          <lpage>4</lpage>
          :
          <fpage>24</fpage>
          .
          <string-name>
            <surname>Schloss Dagstuhl - Leibniz-Zentrum für Informatik</surname>
          </string-name>
          (
          <year>2018</year>
          ). https://doi.org/10.4230/LIPIcs.ICDT.
          <year>2018</year>
          .4, https://doi.org/10.4230/LIPIcs.ICDT.
          <year>2018</year>
          .4
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          2.
          <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 rewritings from expressive description logics with closed predicates to variants of datalog</article-title>
          .
          <source>Artificial Intelligence</source>
          <volume>280</volume>
          ,
          <issue>103220</issue>
          (
          <year>2020</year>
          ). https://doi.org/10.1016/j.artint.
          <year>2019</year>
          .
          <volume>103220</volume>
          , https://doi.org/10.1016/j.artint.
          <year>2019</year>
          .103220
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          3.
          <string-name>
            <surname>Andresel</surname>
            ,
            <given-names>M.</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>Query rewriting for ontologymediated conditional answers</article-title>
          .
          <source>In: Proc. of the 34th AAAI Conf. on Artificial Intelligence (AAAI</source>
          <year>2020</year>
          ). pp.
          <fpage>2734</fpage>
          -
          <lpage>2741</lpage>
          . AAAI Press (
          <year>2020</year>
          ), https://aaai.org/ojs/index.php/AAAI/article/view/5660
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          4.
          <string-name>
            <surname>Artale</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Calvanese</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Kontchakov</surname>
            ,
            <given-names>R.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Zakharyaschev</surname>
            ,
            <given-names>M.:</given-names>
          </string-name>
          <article-title>The dllite family and relations</article-title>
          .
          <source>J. Artif. Int. Res</source>
          .
          <volume>36</volume>
          (
          <issue>1</issue>
          ),
          <fpage>1</fpage>
          -
          <lpage>69</lpage>
          (
          <year>Sep 2009</year>
          ), http://dl.acm.org/citation.cfm?id=
          <volume>1734953</volume>
          .
          <fpage>1734954</fpage>
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          5.
          <string-name>
            <surname>Baader</surname>
            ,
            <given-names>F.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Calvanese</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>McGuinness</surname>
            ,
            <given-names>D.L.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Nardi</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Patel-Schneider</surname>
            ,
            <given-names>P.F</given-names>
          </string-name>
          . (eds.):
          <article-title>The Description Logic Handbook: Theory, Implementation, and Applications</article-title>
          . Cambridge University Press (
          <year>2003</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          6.
          <string-name>
            <surname>Baader</surname>
            ,
            <given-names>F.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Hollunder</surname>
            ,
            <given-names>B.</given-names>
          </string-name>
          :
          <article-title>Embedding defaults into terminological knowledge representation formalisms</article-title>
          .
          <source>J. of Automated Reasoning</source>
          <volume>14</volume>
          (
          <issue>1</issue>
          ),
          <fpage>149</fpage>
          -
          <lpage>180</lpage>
          (
          <year>1995</year>
          ). https://doi.org/10.1007/BF00883932, https://doi.org/10.1007/BF00883932
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          7.
          <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>Combining rules and ontologies into clopen knowledge bases</article-title>
          . In: McIlraith,
          <string-name>
            <given-names>S.A.</given-names>
            ,
            <surname>Weinberger</surname>
          </string-name>
          ,
          <string-name>
            <surname>K.Q</surname>
          </string-name>
          . (eds.)
          <source>Proc. of the 32nd AAAI Conf. on Artificial Intelligence (AAAI</source>
          <year>2018</year>
          ). pp.
          <fpage>1728</fpage>
          -
          <lpage>1735</lpage>
          . AAAI Press (
          <year>2018</year>
          ), https://www.aaai.org/ocs/index.php/AAAI/AAAI18/paper/view/ 16991
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          8.
          <string-name>
            <surname>Bienvenu</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          :
          <article-title>Ontology-mediated query answering: Harnessing knowledge to get more from data</article-title>
          . In: Kambhampati,
          <string-name>
            <surname>S</surname>
          </string-name>
          . (ed.)
          <source>Proc. Int. Joint Conf. on Artificial Intelligence (IJCAI</source>
          <year>2016</year>
          ). pp.
          <fpage>4058</fpage>
          -
          <lpage>4061</lpage>
          . IJCAI/AAAI Press (
          <year>2016</year>
          ), http://www.ijcai.org/Abstract/16/600
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          9.
          <string-name>
            <surname>Bienvenu</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Kikot</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Kontchakov</surname>
            ,
            <given-names>R.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Podolskii</surname>
            ,
            <given-names>V.V.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Zakharyaschev</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          :
          <article-title>Ontology-mediated queries: Combined complexity and succinctness of rewritings via circuit complexity</article-title>
          .
          <source>J. ACM</source>
          <volume>65</volume>
          (
          <issue>5</issue>
          ),
          <volume>28</volume>
          :
          <fpage>1</fpage>
          -
          <lpage>28</lpage>
          :
          <fpage>51</fpage>
          (
          <year>2018</year>
          ). https://doi.org/10.1145/3191832, https://doi.org/10.1145/3191832
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          10.
          <string-name>
            <surname>Bonatti</surname>
            ,
            <given-names>P.A.</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>The complexity of circumscription in dls</article-title>
          .
          <source>J. Artif. Intell. Res</source>
          .
          <volume>35</volume>
          ,
          <fpage>717</fpage>
          -
          <lpage>773</lpage>
          (
          <year>2009</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          11.
          <string-name>
            <surname>Calvanese</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>De Giacomo</surname>
            ,
            <given-names>G.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Lembo</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Lenzerini</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Rosati</surname>
            ,
            <given-names>R.</given-names>
          </string-name>
          :
          <article-title>Tractable reasoning and efficient query answering in description logics: The DL-Lite family</article-title>
          .
          <source>J. Autom. Reasoning</source>
          <volume>39</volume>
          (
          <issue>3</issue>
          ),
          <fpage>385</fpage>
          -
          <lpage>429</lpage>
          (
          <year>2007</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref12">
        <mixed-citation>
          12.
          <string-name>
            <surname>Calvanese</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Giacomo</surname>
            ,
            <given-names>G.D.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Lembo</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Lenzerini</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Rosati</surname>
          </string-name>
          , R.:
          <article-title>Eql-lite: Effective first-order query processing in description logics</article-title>
          . In: Veloso, M.M. (ed.)
          <source>Proc. Int. Joint Conf. on Artificial Intelligence (IJCAI</source>
          <year>2007</year>
          )
          <article-title>(</article-title>
          <year>2007</year>
          ), http://ijcai.org/Proceedings/07/Papers/042.pdf
        </mixed-citation>
      </ref>
      <ref id="ref13">
        <mixed-citation>
          13.
          <string-name>
            <surname>Dantsin</surname>
            ,
            <given-names>E.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Eiter</surname>
            ,
            <given-names>T.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Gottlob</surname>
            ,
            <given-names>G.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Voronkov</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          :
          <article-title>Complexity and expressive power of logic programming</article-title>
          .
          <source>ACM Comput. Surv</source>
          .
          <volume>33</volume>
          (
          <issue>3</issue>
          ),
          <source>374âĂŞ425 (Sep</source>
          <year>2001</year>
          ). https://doi.org/10.1145/502807.502810, https://doi.org/10.1145/502807.502810
        </mixed-citation>
      </ref>
      <ref id="ref14">
        <mixed-citation>
          14.
          <string-name>
            <surname>Donini</surname>
            ,
            <given-names>F.M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Nardi</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Rosati</surname>
          </string-name>
          , R.:
          <article-title>Description logics of minimal knowledge and negation as failure</article-title>
          .
          <source>ACM Trans. on Computational Logic</source>
          <volume>3</volume>
          (
          <issue>2</issue>
          ),
          <fpage>177</fpage>
          -
          <lpage>225</lpage>
          (
          <year>2002</year>
          ). https://doi.org/10.1145/505372.505373, https://doi.org/10.1145/505372.505373
        </mixed-citation>
      </ref>
      <ref id="ref15">
        <mixed-citation>
          15.
          <string-name>
            <surname>Franconi</surname>
            ,
            <given-names>E.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Ibáñez-García</surname>
            ,
            <given-names>Y.A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Seylan</surname>
            ,
            <given-names>I.</given-names>
          </string-name>
          :
          <article-title>Query answering with dboxes is hard</article-title>
          .
          <source>Electr. Notes Theor. Comput. Sci</source>
          .
          <volume>278</volume>
          ,
          <fpage>71</fpage>
          -
          <lpage>84</lpage>
          (
          <year>2011</year>
          ). https://doi.org/10.1016/j.entcs.
          <year>2011</year>
          .
          <volume>10</volume>
          .007, https://doi.org/10.1016/j.entcs.
          <year>2011</year>
          .
          <volume>10</volume>
          .007
        </mixed-citation>
      </ref>
      <ref id="ref16">
        <mixed-citation>
          16.
          <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>
          . In: Kaminka,
          <string-name>
            <given-names>G.A.</given-names>
            ,
            <surname>Fox</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            ,
            <surname>Bouquet</surname>
          </string-name>
          ,
          <string-name>
            <given-names>P.</given-names>
            ,
            <surname>Hüllermeier</surname>
          </string-name>
          ,
          <string-name>
            <given-names>E.</given-names>
            ,
            <surname>Dignum</surname>
          </string-name>
          ,
          <string-name>
            <given-names>V.</given-names>
            ,
            <surname>Dignum</surname>
          </string-name>
          , F.,
          <string-name>
            <surname>van Harmelen</surname>
            ,
            <given-names>F</given-names>
          </string-name>
          . (eds.)
          <source>Proc. of the 22nd Eur. Conf. on Artificial Intelligence (ECAI</source>
          <year>2016</year>
          ).
          <source>Frontiers in Artificial Intelligence and Applications</source>
          , vol.
          <volume>285</volume>
          , pp.
          <fpage>819</fpage>
          -
          <lpage>827</lpage>
          . IOS Press (
          <year>2016</year>
          ). https://doi.org/10.3233/978-1-
          <fpage>61499</fpage>
          -672- 9-819, https://doi.org/10.3233/978-1-
          <fpage>61499</fpage>
          -672-9-819
        </mixed-citation>
      </ref>
      <ref id="ref17">
        <mixed-citation>
          17.
          <string-name>
            <surname>Giordano</surname>
            ,
            <given-names>L.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Gliozzi</surname>
            ,
            <given-names>V.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Olivetti</surname>
            ,
            <given-names>N.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Pozzato</surname>
            ,
            <given-names>G.L.:</given-names>
          </string-name>
          <article-title>A non-monotonic description logic for reasoning about typicality</article-title>
          .
          <source>Artif. Intell</source>
          .
          <volume>195</volume>
          ,
          <fpage>165</fpage>
          -
          <lpage>202</lpage>
          (
          <year>2013</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref18">
        <mixed-citation>
          18.
          <string-name>
            <surname>Gogacz</surname>
            ,
            <given-names>T.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Gutiérrez-Basulto</surname>
            ,
            <given-names>V.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Ibáñez-García</surname>
            ,
            <given-names>Y.A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Murlak</surname>
            ,
            <given-names>F.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Ortiz</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Šimkus</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          :
          <article-title>Ontology focusing: Knowledge-enriched databases on demand</article-title>
          .
          <source>In: Proc. 24th European Conf. on Artificial Intelligence (ECAI</source>
          <year>2020</year>
          )
          <article-title>(to appear)</article-title>
          . IOS Press (
          <year>2020</year>
          ), extended paper available at http://arxiv.org/abs/
          <year>1904</year>
          .00195
        </mixed-citation>
      </ref>
      <ref id="ref19">
        <mixed-citation>
          19.
          <string-name>
            <surname>Gogacz</surname>
            ,
            <given-names>T.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Lukumbuzya</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>Datalog rewritability and data complexity of ALCHOIF with closed predicates</article-title>
          .
          <source>In: Proc. Int. Conf. on the Principles of Knowledge Representation and Reasoning (KR</source>
          <year>2020</year>
          ). OIS Press (
          <year>2020</year>
          ), to appear.
        </mixed-citation>
      </ref>
      <ref id="ref20">
        <mixed-citation>
          20.
          <string-name>
            <surname>Gottlob</surname>
            ,
            <given-names>G.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Kikot</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Kontchakov</surname>
            ,
            <given-names>R.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Podolskii</surname>
            ,
            <given-names>V.V.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Schwentick</surname>
            ,
            <given-names>T.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Zakharyaschev</surname>
            ,
            <given-names>M.:</given-names>
          </string-name>
          <article-title>The price of query rewriting in ontology-based data access</article-title>
          .
          <source>Artif. Intell</source>
          .
          <volume>213</volume>
          ,
          <fpage>42</fpage>
          -
          <lpage>59</lpage>
          (
          <year>2014</year>
          ). https://doi.org/10.1016/j.artint.
          <year>2014</year>
          .
          <volume>04</volume>
          .004, https://doi.org/10.1016/j.artint.
          <year>2014</year>
          .
          <volume>04</volume>
          .004
        </mixed-citation>
      </ref>
      <ref id="ref21">
        <mixed-citation>
          21.
          <string-name>
            <surname>Knorr</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Alferes</surname>
            ,
            <given-names>J.J.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Hitzler</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          :
          <article-title>Local closed world reasoning with description logics under the well-founded semantics</article-title>
          .
          <source>Artif. Intell</source>
          .
          <volume>175</volume>
          (
          <issue>9-10</issue>
          ),
          <fpage>1528</fpage>
          -
          <lpage>1554</lpage>
          (
          <year>2011</year>
          ). https://doi.org/10.1016/j.artint.
          <year>2011</year>
          .
          <volume>01</volume>
          .007, http://dx.doi.org/10.1016/j.artint.
          <year>2011</year>
          .
          <volume>01</volume>
          .007
        </mixed-citation>
      </ref>
      <ref id="ref22">
        <mixed-citation>
          22.
          <string-name>
            <surname>Levy</surname>
            ,
            <given-names>A.Y.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Rousset</surname>
            ,
            <given-names>M.C.</given-names>
          </string-name>
          :
          <article-title>Combining horn rules and description logics in {CARIN}</article-title>
          .
          <source>Artificial Intelligence</source>
          <volume>104</volume>
          (
          <issue>1</issue>
          ?2),
          <fpage>165</fpage>
          -
          <lpage>209</lpage>
          (
          <year>1998</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref23">
        <mixed-citation>
          23.
          <string-name>
            <surname>Lukumbuzya</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>Resilient logic programs: Answer set programs challenged by ontologies</article-title>
          .
          <source>In: Proc. of the 34th AAAI Conf. on Artificial Intelligence (AAAI</source>
          <year>2020</year>
          ). pp.
          <fpage>2917</fpage>
          -
          <lpage>2924</lpage>
          . AAAI Press (
          <year>2020</year>
          ), https://aaai.org/ojs/index.php/AAAI/article/view/5683
        </mixed-citation>
      </ref>
      <ref id="ref24">
        <mixed-citation>
          24.
          <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: Proc. Int. Joint Conf. on Artificial Intelligence (IJCAI</source>
          '
          <year>2013</year>
          ). pp.
          <fpage>1024</fpage>
          -
          <lpage>1030</lpage>
          . IJCAI/AAAI (
          <year>2013</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref25">
        <mixed-citation>
          25.
          <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: Proc. Int. Joint Conf. on Artificial Intelligence (IJCAI</source>
          <year>2015</year>
          ). pp.
          <fpage>3120</fpage>
          -
          <lpage>3126</lpage>
          . AAAI Press (
          <year>2015</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref26">
        <mixed-citation>
          26.
          <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>The data complexity of ontology-mediated queries with closed predicates</article-title>
          .
          <source>Logical Methods in Computer Science</source>
          <volume>15</volume>
          (
          <issue>3</issue>
          ) (
          <year>2019</year>
          ). https://doi.org/10.23638/LMCS-
          <volume>15</volume>
          (
          <issue>3</issue>
          :23)
          <year>2019</year>
          , https://doi.org/10.23638/
          <issue>LMCS15</issue>
          (3:23)
          <fpage>2019</fpage>
        </mixed-citation>
      </ref>
      <ref id="ref27">
        <mixed-citation>
          27.
          <string-name>
            <surname>Motik</surname>
            ,
            <given-names>B.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Rosati</surname>
          </string-name>
          , R.:
          <article-title>Reconciling description logics and rules</article-title>
          .
          <source>J. of the ACM</source>
          <volume>57</volume>
          (
          <issue>5</issue>
          ),
          <volume>30</volume>
          :
          <fpage>1</fpage>
          -
          <lpage>30</lpage>
          :
          <fpage>62</fpage>
          (
          <year>2010</year>
          ). https://doi.org/10.1145/1754399.1754403, https://doi.org/10.1145/1754399.1754403
        </mixed-citation>
      </ref>
      <ref id="ref28">
        <mixed-citation>
          28.
          <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>Šimkus</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          :
          <article-title>Closed predicates in description logics: Results on combined complexity</article-title>
          .
          <source>In: Proc. Int. Conf. on the Principles of Knowledge Representation and Reasoning (KR</source>
          <year>2016</year>
          ). pp.
          <fpage>237</fpage>
          -
          <lpage>246</lpage>
          . AAAI Press (
          <year>2016</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref29">
        <mixed-citation>
          29.
          <string-name>
            <surname>Xiao</surname>
            ,
            <given-names>G.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Calvanese</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Kontchakov</surname>
            ,
            <given-names>R.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Lembo</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Poggi</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Rosati</surname>
            ,
            <given-names>R.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Zakharyaschev</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          :
          <article-title>Ontology-based data access: A survey</article-title>
          . In: Lang,
          <string-name>
            <surname>J</surname>
          </string-name>
          . (ed.)
          <source>Proc. Int. Joint Conf. on Artificial Intelligence (IJCAI</source>
          <year>2018</year>
          ). pp.
          <fpage>5511</fpage>
          -
          <lpage>5519</lpage>
          . ijcai.
          <source>org</source>
          (
          <year>2018</year>
          ). https://doi.org/10.24963/ijcai.
          <year>2018</year>
          /777, https://doi.org/10.24963/ijcai.
          <year>2018</year>
          /777
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>