<!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>Preference-based Inconsistency-Tolerant Query Answering under Existential Rules</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>(Discussion Paper)</string-name>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Marco Calautti</string-name>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Sergio Greco</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Cristian Molinaro</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Irina Trubitsyna</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>DIMES, University of Calabria</institution>
          ,
          <country country="IT">Italy</country>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>DISI, University of Trento</institution>
          ,
          <country country="IT">Italy</country>
        </aff>
      </contrib-group>
      <abstract>
        <p>Query answering over inconsistent knowledge bases is a problem that has attracted a great deal of interest over the years. Diferent inconsistency-tolerant semantics have been proposed, most of which are based on the notion of repair, that is, a “maximal” consistent subset of the database. In general, there can be several repairs, so it is often natural and desirable to express preferences among them. In this paper, we propose a framework for querying inconsistent knowledge bases under user preferences for existential rule languages. We provide generalizations of popular inconsistency-tolerant semantics taking preferences into account and study the data and combined complexity of diferent relevant problems.</p>
      </abstract>
      <kwd-group>
        <kwd>{meat(beef)</kwd>
        <kwd>order(o)</kwd>
        <kwd>main(o</kwd>
        <kwd>beef)</kwd>
        <kwd>side(o</kwd>
        <kwd>cheese)</kwd>
        <kwd>drink(o</kwd>
        <kwd>red)</kwd>
        <kwd>drink(o</kwd>
        <kwd>beer)</kwd>
        <kwd>dessert(o</kwd>
        <kwd>cake)</kwd>
        <kwd>dessert(o</kwd>
        <kwd>pie)}</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>1. Introduction</title>
      <p>stating that beef is a meat dish and o is an order; furthermore, order o has beef for the main course,
cheese as side dish, red wine and beer as drinks, and cake and pie as desserts. The ontology Σ
contains the following dependencies:
 1 : main(,  ), meat( ) → hasMeat( ),
 2 : drink(, red) → hasWine( ),
 3 : drink(, beer) → hasBeer( ),
 4 : drink(,  ) → hasDrink( ),
 5 : main(,  ) → ∃ side(, ),
 1 : hasBeer( ), hasWine( )
 2 : hasBeer( ), dessert(,  )
 3 : hasBeer( ), side(, cheese)
 4 : hasWine( ), dessert(, cake), dessert(, pie)
→ ⊥,
→ ⊥,
→ ⊥,
→ ⊥.</p>
      <p>The existential rules  1– 4 specify when an order includes a meat dish, wine, beer, and a drink,
respectively. Then,  5 says that a main course always comes with a side dish. The negative
constraints  1– 3 say that beer cannot be included in an order together with wine, or a dessert, or
cheese. Finally,  4 says that an order cannot include wine, cake, and pie all together.</p>
      <p>The knowledge base is clearly inconsistent and admits the following four repairs: 1 =
 ∖ {drink(o, beer), dessert(o, cake)}, 2 =  ∖ {drink(o, beer), dessert(o, pie)}, 3 =  ∖
{side(o, cheese), drink(o, red), dessert(o, pie), dessert(o, cake)}, and 4 =  ∖ {drink(o, red),
drink(o, beer)}. The query  = ∃,  dessert(,  ), asking if some dessert has been ordered,
is not entailed under the AR semantics, as repair 3 does not include any dessert. Thus,  is not
entailed also under the IAR and ICR semantics. □</p>
      <p>The AR, IAR, and ICR semantics have been extensively studied for both description logics
(DLs) and existential rule languages. In each semantics, all repairs are equally important, and
there is no way to prefer one over another. However, in many applications it is natural and
desirable to express preferences, e.g., when one data source is more reliable than another, or
when information is time-stamped and more recent facts are preferred over earlier ones.</p>
      <p>To deal with the scenarios discussed above, we propose a framework for querying inconsistent
knowledge bases under user preferences. We enrich knowledge bases with preference rules,
so as to narrow down the set of repairs to a set of preferred ones. We then define preferred
counterparts of the AR, IAR, and ICR semantics by looking only at preferred repairs.1
Example 2. Consider again the scenario of Example 1. Suppose we would like to express preferences
among repairs in such a way that the presence of some items in an order determines what other
items are preferred. In our framework, one could specify this kind of preferences by means of the
following set Π of preference rules:
 1 : hasWine( ) ≻ hasBeer( ) ← hasMeat( ),
 2 : dessert(, cake) ≻ dessert(, cherries) ← main(,  ),
 3 : dessert(, pie) ≻ dessert(, cake) ← ∃  hasDrink( ), side(,  ).</p>
      <p>
        1An extended version of this paper has been accepted to KR 2020 [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ].
      </p>
      <p>The first preference rule says that when an order includes meat, wine is preferred over beer. The
second preference rule states that when an order includes a main course, cake is preferred over
cherries. The third preference rule says that when an order includes a drink and some side dish, pie
is preferred over cake.</p>
      <p>We will see later that 1 and 4 (cf. Example 1) are the repairs that best satisfy the above
preference rules, and thus they are preferred. Only preferred repairs are considered in the definition
of preferred inconsistency-tolerant semantics. Thus, for instance, query  of Example 1 is entailed
under our preferred AR, IAR, and ICR semantics. □</p>
    </sec>
    <sec id="sec-2">
      <title>2. Preliminaries</title>
      <p>
        We briefly recall some basics on existential rules from the Datalog ± family [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ] and
inconsistencytolerant semantics for querying inconsistent knowledge bases.
      </p>
      <p>
        General. We assume a set C of constants, a set N of labeled nulls, and a set V of variables. A
term  is a constant, null, or variable. We also assume a set of predicates, each associated with an
arity, i.e., a non-negative integer. An atom has the form (t), where  is an -ary predicate, and
t is a tuple of  terms. An atom containing only constants is also called a fact. Conjunctions
of atoms are often identified with the sets of their atoms. An instance  is a (possibly infinite)
set of atoms (t), with t a tuple of constants and nulls. A database  is a finite instance with
only constants. A homomorphism is a substitution ℎ from terms to terms that is the identity
on C and maps N to C ∪ N. With abuse of notation, homomorphisms are applied also to
(sets/conjunctions of) atoms. A (Boolean) conjunctive query (BCQ)  has the form ∃X (X),
where X is a tuple of variables, and  (X) is a conjunction of atoms over the variables in X
without nulls. An instance  satisfies , denoted  |= , if there is a homomorphism ℎ with
ℎ( (X)) ⊆ .2
Dependencies. A tuple-generating dependency (TGD)  is a first-order formula of the form
∀X∀Y  (X, Y) → ∃Z (X, Z), where X, Y, and Z are pairwise disjoint tuples of variables,
 (X, Y) is a conjunction of atoms over X, Y, and (X, Z) is an atom, all without nulls;
 (X, Y) is the body of  , denoted body ( ), while (X, Z) is the head of  , denoted head ( ).
For clarity, we consider single-atom-head TGDs; however, our results extend to TGDs with a
conjunction of atoms in the head. An instance  satisfies  , written  |=  , if the following
holds: whenever there exists a homomorphism ℎ such that ℎ( (X, Y)) ⊆ , then there exists
ℎ′ ⊇ ℎ|X, where ℎ|X is the restriction of ℎ on X, such that ℎ′((X, Z)) ∈ . A negative
constraint (NC)  is a first-order formula ∀X  (X) → ⊥, with X a tuple of variables,  (X)
is a conjunction of atoms over X, without nulls, called the body of  and denoted body ( ),
and ⊥ denotes the truth constant false. An instance  satisfies  , written  |=  , if  does not
satisfy the BCQ ∃X (X). Negative constraints that are not satisfied can be represented via
hypergraphs [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ].
      </p>
      <p>Given a set Σ of TGDs and NCs,  satisfies Σ , written  |= Σ , if  satisfies each TGD and
NC of Σ . For brevity, we omit the universal quantifiers in front of TGDs and NCs, and use the
comma for conjoining atoms. Given a class of TGDs ℒ, we denote by ℒ⊥ the formalism obtained
2We focus on Boolean queries for clarity, but all our results immediately extend to non-Boolean conjunctive
queries.
by combining ℒ with arbitrary NCs. Finite sets of TGDs and NCs are also called programs, and
TGDs are also called existential rules.</p>
      <p>Knowledge Bases. A knowledge base is a pair (, Σ) , where  is a database and Σ is a program.
The set of models of KB = (, Σ) , denoted mods(KB ), is the set of instances { |  ⊇  ∧  |=
Σ }. We say that KB is consistent if mods(KB ) ̸= ∅, otherwise KB is inconsistent. We say
that KB entails a BCQ , denoted KB |= , if  |= , for each  ∈ mods(KB ). The data
complexity considers only the database as part of the input, while the combined complexity
considers everything as part of the input.</p>
      <p>
        The Datalog± languages that we consider to guarantee decidability are among the most
frequently analysed in the literature, namely, linear (L) [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ], guarded (G) [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ], sticky (S) [
        <xref ref-type="bibr" rid="ref8">8</xref>
        ], and
acyclic TGDs (A), along with the “weak” (proper) generalizations weakly sticky (WS) [
        <xref ref-type="bibr" rid="ref8">8</xref>
        ] and
weakly acyclic TGDs (WA) [
        <xref ref-type="bibr" rid="ref9">9</xref>
        ], as well as their “full” (i.e., existential-free) proper restrictions
linear full (LF), guarded full (GF), sticky full (SF), and acyclic full TGDs (AF), respectively, and
full TGDs (F) in general. We refer to [
        <xref ref-type="bibr" rid="ref10">10</xref>
        ] for an overview of the complexity of BCQ entailment
for the above languages.
      </p>
      <p>Inconsistency-Tolerant Semantics. We now recall the AR, IAR, and ICR semantics.</p>
      <p>Let KB = (, Σ) be a knowledge base. A repair of KB is an inclusion-maximal subset  of
 such that (, Σ) is consistent. We use Rep(KB ) to denote the set of all repairs of KB . The
closure Cn(KB ) of KB is the set of all facts (thus containing constants only) entailed by  and
the TGDs of Σ . KB entails a BCQ  under the
• AR semantics if (, Σ) |= , for each  ∈ Rep(KB ).
• IAR semantics if ( , Σ) |= , where  = ⋂︀{ |  ∈ Rep(KB )}.</p>
      <p>
        • ICR semantics if ( , Σ) |= , where  = ⋂︀{Cn((, Σ)) |  ∈ Rep(KB )}.
We refer to [
        <xref ref-type="bibr" rid="ref10">10</xref>
        ] and [
        <xref ref-type="bibr" rid="ref11">11</xref>
        ] for an overview of the complexity of AR- and IAR-/ICR-query
answering, respectively, for diferent TGD languages and complexity measures.
      </p>
    </sec>
    <sec id="sec-3">
      <title>3. Preference Rules</title>
      <p>In this section, we introduce the syntax and semantics of preference rules, which allow users to
express preferences among repairs. The aim is to use such rules to identify a set of preferred
repairs among all possible ones, and use only the preferred repairs for AR, IAR, and ICR
entailment.</p>
      <p>Syntax. The syntax of preference rules is as follows.</p>
      <sec id="sec-3-1">
        <title>Definition 3.</title>
        <p>A preference rule  is an expression of the form
(X) ≻ (Y) ← ∃</p>
        <p>Z  (Z, W),
where X, Y, Z, and W are tuples of variables such that X ∩ Z = Y ∩ Z = ∅, (X) and (Y) are
atoms over the variables X and Y, respectively, and  (Z, W) is a (possibly empty) conjunction of
atoms over the variables Z ∪ W, all without nulls. □</p>
        <p>In the previous definition, the right-hand (resp., left-hand) side of ← is called the body (resp.,
head) of  and is denoted as body ( ) (resp., head ( )). Intuitively, the head expresses a preference
among two atoms, while the body expresses a precondition for such a preference to be applied.
A preference rule  is ground if all its variables are existentially quantified, that is, it has the
form (a) ≻ (b) ← ∃ Z  (Z, c), with a, b, c tuples of constants and Z a tuple of variables. A
preference program is a finite set of preference rules. A prioritized knowledge base combines a
knowledge base with a preference program.</p>
        <p>Definition 4. A prioritized knowledge base  is a triple (, Σ , Π) , where  is a database, Σ is
a program, and Π is a preference program. □</p>
        <p>We say that  is consistent (resp., inconsistent) if the knowledge base (, Σ) is consistent
(resp., inconsistent). The set of all repairs of , denoted Rep(), is the set of all repairs of
(, Σ) . An example of prioritized knowledge base  = (, Σ , Π) is the one presented in
Examples 1–2.</p>
        <p>Semantics. Consider a prioritized knowledge base  = (, Σ , Π) . We use C to denote
the set of all constants appearing in  (that is, appearing in , Σ , or Π ). A ground instance
of a preference rule  ∈ Π is a ground preference rule derived from  by replacing every
non-existential variable with a constant in C, with multiple occurrences of the same variable
being replaced with the same constant. We use grnd ( ) to denote the set of all ground instances
of  , and define grnd (Π) = ⋃︀ ∈Π grnd ( ). To define preferred repairs, we first need to define
when a repair satisfies a ground preference rule.</p>
        <p>Intuitively, a repair  satisfies a ground preference rule  if whenever  (together with the
ontology) entails the body of  , the head of  is fulfilled by . We formally define these notions
below. For a prioritized knowledge base  = (, Σ , Π) , by consistent subset  of  we mean
a set  ⊆  such that (, Σ) is consistent.</p>
        <p>Definition 5. Let  = (, Σ , Π) be a prioritized knowledge base,  a consistent subset of ,
and  a ground preference rule in grnd (Π) of the form (a) ≻ (b) ← ∃ Z  (Z, c). We say
that  fulfills (a) ≻ (b) (w.r.t. ) if (, Σ) |= (b) implies (, Σ) |= (a). We say that 
satisfies  (w.r.t. ) if (, Σ) |= ∃Z  (Z, c) implies  fullfils (a) ≻ (b) w.r.t. . □</p>
        <p>Notice that we do not transitively close preferences. In contrast, we look for an explicit
preference rule saying that (a) is preferred over (b). A transitive closure would require
(iteratively) adding a ground preference rule  ≻  ← body 1, body 2 for each pair of ground
preference rules  ≻  ← body 1 and  ≻  ← body 2, which can yield an exponential
blow-up in the number of preference rules. Nonetheless, if needed, transitivity can still be stated
by explicitly including a transitive closure in Π .</p>
        <p>For a repair  of a prioritized knowledge base  = (, Σ , Π) , we use (, ) to denote
the set of all preference rules in grnd (Π) that are satisfied by  (w.r.t. ). We define preferred
repairs as follows.</p>
        <p>Definition 6. A repair  of a prioritized knowledge base  is preferred if there is no repair ′
of  s.t. (, ) ⊊ (′, ). The set of all preferred repairs of  is denoted as PRep(). □</p>
        <p>Thus, preferred repairs satisfy an inclusion-maximal set of ground preference rules. Other
criteria are possible, such as defining preferred repairs as those that satisfy a cardinality-maximal
set of preference rules. All such approaches are interesting, in much the same way as cardinality
and set-inclusion maximality are both interesting when defining (standard) repairs. We plan to
investigate other criteria in future work.</p>
        <p>Example 7. Consider the prioritized knowledge base  = (, Σ , Π) and repairs 1–4 of
Examples 1–2. First of all, note that only ground preference rules in grnd (Π) whose body contains
order o can be diferently satisfied by 1–4, as the body of any other ground preference rule in
grnd (Π) is never entailed by (, Σ) , for each  ∈ {1, 2, 3, 4}. Thus, such preference rules are
satisfied by all repairs. Hence, we can focus on these three ground preference rules:
 ′1 : hasWine(o) ≻ hasBeer(o) ← hasMeat(o),
 ′2 : dessert(o, cake) ≻ dessert(o, cherries) ← main(o, beef),
 ′3 : dessert(o, pie) ≻ dessert(o, cake) ← ∃  hasDrink(o), side(o,  ).</p>
        <p>Notice that  ′1 is applicable in all repairs. Repairs 1 and 2 satisfy  ′1 because they both
contain red wine; 4 satisfies  ′1 because it does not include any wine or beer; 3 does not satisfy
 ′1 because it includes beer and no wine.</p>
        <p>The preference rule  ′2 is applicable in all repairs as well, and it is satisfied by all of them,
essentially because none of them contain dessert(o, cherries).</p>
        <p>Finally, 1, 3, and 4 satisfy  ′3, while 2 does not. Thus, 1 and 4 satisfy all preference
rules, while 2 and 3 do not, and thus 1 and 4 are preferred. □</p>
        <p>We now provide our inconsistency-tolerant semantics over preferred repairs.</p>
      </sec>
      <sec id="sec-3-2">
        <title>Definition 8.</title>
        <p>A prioritized knowledge base  = (, Σ , Π)
entails a BCQ  under the
• PAR semantics if (, Σ)
• IPAR semantics if ( , Σ)
• ICPR semantics if ( , Σ)
|= , for every  ∈ PRep().</p>
        <p>|= , where  = ⋂︀{ |  ∈ PRep()}.
|= , where  = ⋂︀{Cn((, Σ))
|  ∈ PRep()}.</p>
        <p>□
Example 9. Consider again the prioritized knowledge base  and the query  from Examples 1–
2. The preferred repairs of  are PRep() = {1, 4} (cf. Example 7). Then,  entails 
under the PAR, IPAR, and ICPR semantics, while  is not entailed under any of the standard
inconsistency-tolerant semantics. □</p>
      </sec>
    </sec>
    <sec id="sec-4">
      <title>4. Complexity Results</title>
      <p>We performed a thorough study of the data and combined complexity of the “preferred” variant
of classical problems in the context of querying inconsistent knowledge bases. The first problem,
which we dub Preferred Repair Checking (PRC), given a prioritized knowledge base  and
a database ′, asks whether ′ ∈ PRep(). The remaining problems, called -Entail, with
 ∈ {PAR, IPAR, ICPR}, given a prioritized knowledge base  and a BCQ , ask whether 
entails  under the  semantics.</p>
      <p>Language
Comb.</p>
      <p>PSpace</p>
      <p>Exp
Exp
2Exp
Exp
PNExp
2Exp</p>
      <p>Data
Π p2</p>
      <p>Comb.</p>
      <p>PSpace</p>
      <p>Exp
Exp
2Exp
Exp
PNExp
2Exp</p>
      <p>Data
Π p2</p>
      <p>Comb.</p>
      <p>PSpace</p>
      <p>Exp
Exp
2Exp
Exp
PNExp
2Exp</p>
      <p>Data
Π p2</p>
      <p>Comb.</p>
      <p>PSpace</p>
      <p>Exp
Exp
2Exp</p>
      <p>Exp- 2Exp
PNExp- ExpNExp
2Exp- 3Exp</p>
    </sec>
    <sec id="sec-5">
      <title>5. Conclusion</title>
      <p>
        Expressing preferences is a common need in various domains, such as querying inconsistent
knowledge bases [
        <xref ref-type="bibr" rid="ref14 ref15">14, 15</xref>
        ], game theory [
        <xref ref-type="bibr" rid="ref16">16</xref>
        ], and answer set programming [
        <xref ref-type="bibr" rid="ref17">17</xref>
        ]. We have
proposed a framework for querying inconsistent knowledge bases under existential rules in the
presence of user preferences. We have analyzed the data and combined complexity of diferent
relevant problems for a wide range of existential rule languages.
      </p>
      <p>
        Related work. In the context of logic programming, logic programs have been combined
with preferences so as to determine a set of preferred answer sets—e.g., see [
        <xref ref-type="bibr" rid="ref17 ref18">17, 18</xref>
        ]— while we
use preferences to determine a set of preferred repairs.
      </p>
      <p>
        Another related framework are (existential) active integrity constraints (EAICs) [
        <xref ref-type="bibr" rid="ref19">19</xref>
        ], i.e.
integrity constraints that also specify the updates that are allowed to restore consistency when
the constraint is violated. Founded repairs are those repairs obtained by applying only allowed
updates. This expresses a sort of hard preference by partitioning conflicting facts into allowed
and non-allowed ones, while our framework allows us to express preferences among arbitrary
facts, and thus do not forbid any fact a priori.
      </p>
      <p>
        Future work. An interesting direction for future work is to extend our analysis to the
fixedprogram combined complexity, that is, when the ontology is assumed to be fixed, and to the
bounded-arity combined complexity, that is, when it is assumed that the maximum arity of the
predicates is bounded by an integer constant. Another direction for future work is to apply
preferences rules to diferent kinds of repairs, e.g., cardinality-maximal ones. Also, it would
be interesting to extend the notion of an explanation, already investigated under existential
rules [
        <xref ref-type="bibr" rid="ref20 ref21">20, 21</xref>
        ], to our framework with preferences. Finally, considering the intractability of
our reasoning tasks, another interesting direction is to consider approximations, i.e., compute
a subset of query answers over our semantics in polynomial time, as done in the context of
querying incomplete databases [
        <xref ref-type="bibr" rid="ref22 ref23">22, 23</xref>
        ]. Moreover, one could also consider the counting variants
of the PAR semantics, i.e., to count the number of preferred repairs that entail the query (together
with the TGDs). This is a more refined measure providing useful insights when the query is not
entailed by every preferred repair and has been thoroughly studied in the database setting for
diferent integrity constraints, e.g., see [
        <xref ref-type="bibr" rid="ref24 ref25 ref26 ref27">24, 25, 26, 27</xref>
        ].
      </p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [1]
          <string-name>
            <given-names>M.</given-names>
            <surname>Arenas</surname>
          </string-name>
          ,
          <string-name>
            <given-names>L. E.</given-names>
            <surname>Bertossi</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Chomicki</surname>
          </string-name>
          ,
          <article-title>Consistent query answers in inconsistent databases</article-title>
          ,
          <source>in: Proc. PODS</source>
          ,
          <year>1999</year>
          , pp.
          <fpage>68</fpage>
          -
          <lpage>79</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          [2]
          <string-name>
            <given-names>D.</given-names>
            <surname>Lembo</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Lenzerini</surname>
          </string-name>
          ,
          <string-name>
            <given-names>R.</given-names>
            <surname>Rosati</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Ruzzi</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D. F.</given-names>
            <surname>Savo</surname>
          </string-name>
          ,
          <article-title>Inconsistency-tolerant semantics for description logics</article-title>
          ,
          <source>in: RR</source>
          ,
          <year>2010</year>
          , pp.
          <fpage>103</fpage>
          -
          <lpage>117</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          [3]
          <string-name>
            <given-names>M.</given-names>
            <surname>Bienvenu</surname>
          </string-name>
          ,
          <article-title>On the complexity of consistent query answering in the presence of simple ontologies</article-title>
          ,
          <source>in: Proc. AAAI</source>
          ,
          <year>2012</year>
          , pp.
          <fpage>705</fpage>
          -
          <lpage>711</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          [4]
          <string-name>
            <given-names>M.</given-names>
            <surname>Calautti</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Greco</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C.</given-names>
            <surname>Molinaro</surname>
          </string-name>
          ,
          <string-name>
            <surname>I. Trubitsyna</surname>
          </string-name>
          ,
          <article-title>Preference-based inconsistency-tolerant query answering under existential rules</article-title>
          ,
          <source>in: KR</source>
          ,
          <year>2020</year>
          , pp.
          <fpage>203</fpage>
          -
          <lpage>212</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          [5]
          <string-name>
            <given-names>A.</given-names>
            <surname>Calì</surname>
          </string-name>
          , G. Gottlob,
          <string-name>
            <given-names>T.</given-names>
            <surname>Lukasiewicz</surname>
          </string-name>
          ,
          <article-title>A general Datalog-based framework for tractable query answering over ontologies</article-title>
          ,
          <source>J. Web Sem</source>
          .
          <volume>14</volume>
          (
          <year>2012</year>
          )
          <fpage>57</fpage>
          -
          <lpage>83</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          [6]
          <string-name>
            <given-names>G.</given-names>
            <surname>Gottlob</surname>
          </string-name>
          , E. Malizia,
          <article-title>Achieving new upper bounds for the hypergraph duality problem through logic</article-title>
          ,
          <source>in: Proc. LICS</source>
          ,
          <year>2014</year>
          , pp.
          <volume>43</volume>
          :
          <fpage>1</fpage>
          -
          <lpage>43</lpage>
          :
          <fpage>10</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          [7]
          <string-name>
            <given-names>A.</given-names>
            <surname>Calì</surname>
          </string-name>
          , G. Gottlob,
          <string-name>
            <surname>M.</surname>
          </string-name>
          <article-title>Kifer, Taming the infinite chase: Query answering under expressive relational constraints</article-title>
          ,
          <source>J. Artif. Intell. Res</source>
          .
          <volume>48</volume>
          (
          <year>2013</year>
          )
          <fpage>115</fpage>
          -
          <lpage>174</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          [8]
          <string-name>
            <given-names>A.</given-names>
            <surname>Calì</surname>
          </string-name>
          ,
          <string-name>
            <given-names>G.</given-names>
            <surname>Gottlob</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Pieris</surname>
          </string-name>
          ,
          <article-title>Towards more expressive ontology languages: The query answering problem</article-title>
          ,
          <source>Artif. Intell</source>
          .
          <volume>193</volume>
          (
          <year>2012</year>
          )
          <fpage>87</fpage>
          -
          <lpage>128</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          [9]
          <string-name>
            <given-names>R.</given-names>
            <surname>Fagin</surname>
          </string-name>
          ,
          <string-name>
            <given-names>P. G.</given-names>
            <surname>Kolaitis</surname>
          </string-name>
          ,
          <string-name>
            <given-names>R. J.</given-names>
            <surname>Miller</surname>
          </string-name>
          ,
          <string-name>
            <given-names>L.</given-names>
            <surname>Popa</surname>
          </string-name>
          ,
          <article-title>Data exchange: semantics and query answering</article-title>
          ,
          <source>Theor. Comput. Sci</source>
          .
          <volume>336</volume>
          (
          <year>2005</year>
          )
          <fpage>89</fpage>
          -
          <lpage>124</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          [10]
          <string-name>
            <given-names>T.</given-names>
            <surname>Lukasiewicz</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M. V.</given-names>
            <surname>Martinez</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Pieris</surname>
          </string-name>
          ,
          <string-name>
            <surname>G. I. Simari</surname>
          </string-name>
          ,
          <article-title>From classical to consistent query answering under existential rules</article-title>
          ,
          <source>in: Proc. AAAI</source>
          ,
          <year>2015</year>
          , pp.
          <fpage>1546</fpage>
          -
          <lpage>1552</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          [11]
          <string-name>
            <given-names>T.</given-names>
            <surname>Lukasiewicz</surname>
          </string-name>
          ,
          <string-name>
            <given-names>E.</given-names>
            <surname>Malizia</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C.</given-names>
            <surname>Molinaro</surname>
          </string-name>
          ,
          <article-title>Complexity of approximate query answering under inconsistency in Datalog+/-</article-title>
          ,
          <source>in: Proc. IJCAI</source>
          ,
          <year>2018</year>
          , pp.
          <fpage>1921</fpage>
          -
          <lpage>1927</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref12">
        <mixed-citation>
          [12]
          <string-name>
            <given-names>M.</given-names>
            <surname>Calautti</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Greco</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C.</given-names>
            <surname>Molinaro</surname>
          </string-name>
          ,
          <string-name>
            <surname>I. Trubitsyna</surname>
          </string-name>
          ,
          <article-title>Logic program termination analysis using atom sizes</article-title>
          ,
          <source>in: Proc. IJCAI</source>
          , volume
          <volume>2015</volume>
          <source>-January</source>
          ,
          <year>2015</year>
          , pp.
          <fpage>2833</fpage>
          -
          <lpage>2839</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref13">
        <mixed-citation>
          [13]
          <string-name>
            <given-names>M.</given-names>
            <surname>Calautti</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Greco</surname>
          </string-name>
          ,
          <string-name>
            <surname>I. Trubitsyna</surname>
          </string-name>
          ,
          <article-title>Detecting decidable classes of finitely ground logic programs with function symbols</article-title>
          ,
          <source>ACM Trans. Comput. Log</source>
          .
          <volume>18</volume>
          (
          <year>2017</year>
          )
          <volume>28</volume>
          :
          <fpage>1</fpage>
          -
          <lpage>28</lpage>
          :
          <fpage>42</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref14">
        <mixed-citation>
          [14]
          <string-name>
            <given-names>M.</given-names>
            <surname>Bienvenu</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C.</given-names>
            <surname>Bourgaux</surname>
          </string-name>
          ,
          <string-name>
            <given-names>F.</given-names>
            <surname>Goasdoué</surname>
          </string-name>
          ,
          <article-title>Querying inconsistent description logic knowledge bases under preferred repair semantics</article-title>
          ,
          <source>in: Proc. AAAI</source>
          ,
          <year>2014</year>
          , pp.
          <fpage>996</fpage>
          -
          <lpage>1002</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref15">
        <mixed-citation>
          [15]
          <string-name>
            <given-names>S.</given-names>
            <surname>Staworko</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Chomicki</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Marcinkowski</surname>
          </string-name>
          ,
          <article-title>Prioritized repairing and consistent query answering in relational databases</article-title>
          , Ann. Math. Artif. Intell.
          <volume>64</volume>
          (
          <year>2012</year>
          )
          <fpage>209</fpage>
          -
          <lpage>246</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref16">
        <mixed-citation>
          [16]
          <string-name>
            <given-names>G.</given-names>
            <surname>Greco</surname>
          </string-name>
          ,
          <string-name>
            <given-names>E.</given-names>
            <surname>Malizia</surname>
          </string-name>
          ,
          <string-name>
            <given-names>L.</given-names>
            <surname>Palopoli</surname>
          </string-name>
          ,
          <string-name>
            <given-names>F.</given-names>
            <surname>Scarcello</surname>
          </string-name>
          ,
          <article-title>Non-transferable utility coalitional games via mixed-integer linear constraints</article-title>
          ,
          <source>J. Artif. Intell. Res</source>
          .
          <volume>38</volume>
          (
          <year>2010</year>
          )
          <fpage>633</fpage>
          -
          <lpage>685</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref17">
        <mixed-citation>
          [17]
          <string-name>
            <given-names>G.</given-names>
            <surname>Brewka</surname>
          </string-name>
          , I. Niemelä,
          <string-name>
            <given-names>M.</given-names>
            <surname>Truszczynski</surname>
          </string-name>
          ,
          <article-title>Answer set optimization</article-title>
          ,
          <source>in: Proc. IJCAI</source>
          ,
          <year>2003</year>
          , pp.
          <fpage>867</fpage>
          -
          <lpage>872</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref18">
        <mixed-citation>
          [18]
          <string-name>
            <given-names>S.</given-names>
            <surname>Greco</surname>
          </string-name>
          ,
          <string-name>
            <given-names>I.</given-names>
            <surname>Trubitsyna</surname>
          </string-name>
          , E. Zumpano,
          <article-title>On the semantics of logic programs with preferences</article-title>
          ,
          <source>J. Artif. Intell. Res</source>
          .
          <volume>30</volume>
          (
          <year>2007</year>
          )
          <fpage>501</fpage>
          -
          <lpage>523</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref19">
        <mixed-citation>
          [19]
          <string-name>
            <given-names>M.</given-names>
            <surname>Calautti</surname>
          </string-name>
          ,
          <string-name>
            <given-names>L.</given-names>
            <surname>Caroprese</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Greco</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C.</given-names>
            <surname>Molinaro</surname>
          </string-name>
          ,
          <string-name>
            <given-names>I.</given-names>
            <surname>Trubitsyna</surname>
          </string-name>
          , E. Zumpano,
          <article-title>Existential active integrity constraints</article-title>
          ,
          <source>Expert Syst. Appl</source>
          .
          <volume>168</volume>
          (
          <year>2021</year>
          )
          <fpage>114297</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref20">
        <mixed-citation>
          [20]
          <string-name>
            <given-names>İ.</given-names>
            <surname>İ. Ceylan</surname>
          </string-name>
          ,
          <string-name>
            <given-names>T.</given-names>
            <surname>Lukasiewicz</surname>
          </string-name>
          ,
          <string-name>
            <given-names>E.</given-names>
            <surname>Malizia</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Vaicenavicius</surname>
          </string-name>
          ,
          <article-title>Explanations for query answers under existential rules</article-title>
          ,
          <source>in: Proc. IJCAI</source>
          ,
          <year>2019</year>
          , pp.
          <fpage>1639</fpage>
          -
          <lpage>1646</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref21">
        <mixed-citation>
          [21]
          <string-name>
            <given-names>T.</given-names>
            <surname>Lukasiewicz</surname>
          </string-name>
          ,
          <string-name>
            <given-names>E.</given-names>
            <surname>Malizia</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C.</given-names>
            <surname>Molinaro</surname>
          </string-name>
          ,
          <article-title>Explanations for inconsistency-tolerant query answering under existential rules</article-title>
          ,
          <source>in: Proc. AAAI</source>
          ,
          <year>2020</year>
          , pp.
          <fpage>2909</fpage>
          -
          <lpage>2916</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref22">
        <mixed-citation>
          [22]
          <string-name>
            <given-names>N.</given-names>
            <surname>Fiorentino</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Greco</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C.</given-names>
            <surname>Molinaro</surname>
          </string-name>
          ,
          <string-name>
            <surname>I. Trubitsyna</surname>
          </string-name>
          ,
          <article-title>ACID: A system for computing approximate certain query answers over incomplete databases</article-title>
          ,
          <source>in: Proc. SIGMOD</source>
          ,
          <year>2018</year>
          , pp.
          <fpage>1685</fpage>
          -
          <lpage>1688</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref23">
        <mixed-citation>
          [23]
          <string-name>
            <given-names>S.</given-names>
            <surname>Greco</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C.</given-names>
            <surname>Molinaro</surname>
          </string-name>
          ,
          <string-name>
            <surname>I. Trubitsyna</surname>
          </string-name>
          ,
          <article-title>Approximation algorithms for querying incomplete databases</article-title>
          ,
          <source>Inf. Syst</source>
          .
          <volume>86</volume>
          (
          <year>2019</year>
          )
          <fpage>28</fpage>
          -
          <lpage>45</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref24">
        <mixed-citation>
          [24]
          <string-name>
            <given-names>S.</given-names>
            <surname>Greco</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C.</given-names>
            <surname>Molinaro</surname>
          </string-name>
          ,
          <article-title>Probabilistic query answering over inconsistent databases</article-title>
          , Ann. Math. Artif. Intell.
          <volume>64</volume>
          (
          <year>2012</year>
          )
          <fpage>185</fpage>
          -
          <lpage>207</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref25">
        <mixed-citation>
          [25]
          <string-name>
            <given-names>S.</given-names>
            <surname>Greco</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C.</given-names>
            <surname>Molinaro</surname>
          </string-name>
          ,
          <string-name>
            <surname>I. Trubitsyna</surname>
          </string-name>
          ,
          <article-title>Computing approximate query answers over inconsistent knowledge bases</article-title>
          ,
          <source>in: IJCAI</source>
          ,
          <year>2018</year>
          , pp.
          <fpage>1838</fpage>
          -
          <lpage>1846</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref26">
        <mixed-citation>
          [26]
          <string-name>
            <given-names>M.</given-names>
            <surname>Calautti</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Console</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Pieris</surname>
          </string-name>
          ,
          <article-title>Counting database repairs under primary keys revisited</article-title>
          , in: D.
          <string-name>
            <surname>Suciu</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          <string-name>
            <surname>Skritek</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          Koch (Eds.),
          <source>Proc. PODS</source>
          , ACM,
          <year>2019</year>
          , pp.
          <fpage>104</fpage>
          -
          <lpage>118</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref27">
        <mixed-citation>
          [27]
          <string-name>
            <given-names>E.</given-names>
            <surname>Livshits</surname>
          </string-name>
          ,
          <string-name>
            <given-names>B.</given-names>
            <surname>Kimelfeld</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Wijsen</surname>
          </string-name>
          ,
          <article-title>Counting subset repairs with functional dependencies</article-title>
          ,
          <source>J. Comput. Syst. Sci</source>
          .
          <volume>117</volume>
          (
          <year>2021</year>
          )
          <fpage>154</fpage>
          -
          <lpage>164</lpage>
          .
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>