<!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>Semantic Acyclicity Under Constraints⋆</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Pablo Barcel o´</string-name>
          <email>pbarcelo@dcc.uchile.cl</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Georg Gottlob</string-name>
          <email>georg.gottlob@cs.ox.ac.uk</email>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Andreas Pieris</string-name>
          <email>pieris@dbai.tuwien.ac.at</email>
          <xref ref-type="aff" rid="aff2">2</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Center for Semantic Web Research &amp; DCC, University of Chile</institution>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>Department of Computer Science, University of Oxford</institution>
        </aff>
        <aff id="aff2">
          <label>2</label>
          <institution>Institute of Information Systems, Vienna University of Technology</institution>
        </aff>
      </contrib-group>
      <abstract>
        <p>Query optimization is a fundamental database task that amounts to transform a query into one that is arguably more efficient to evaluate. The database theory community has developed several principled methods for optimization of conjunctive queries (CQs), many of which are based on static-analysis tasks such as containment [1]. In a nutshell, such methods compute a minimal equivalent version of a CQ, where minimality refers to number of atoms. As argued by Abiteboul, Hull, and Vianu [1], this provides a theoretical notion of “true optimality” for the reformulation of a CQ, as opposed to practical approaches based on heuristics. For each CQ, the minimal equivalent CQ is its core [16]. Although the static analysis tasks that support CQ minimization are NP-hard [9], this is not a problem for real-life applications, as the input CQ is small. It is known, on the other hand, that semantic information about the data, in the form of integrity constraints, alleviates query optimization by reducing the space of possible reformulations. In the previous analysis, however, constraints play no role, as CQ equivalence is defined over all databases. Adding constraints yields a refined notion of CQ equivalence, which holds over those databases that satisfy a given set of constraints only. But finding a minimal equivalent CQ in this context is notoriously more difficult than before. This is because basic static analysis tasks such as containment become undecidable when considered in full generality. This motivated a long research program for finding larger “islands of decidability” of such containment problem, based on syntactical restrictions on constraints [2, 6-8, 17, 18]. An important shortcoming of the previous approach, however, is that there is no theoretical guarantee that the minimized version of a CQ is in fact easier to evaluate (recall that, in general, CQ evaluation is NP-complete [9]). We know, on the other hand, quite a bit about classes of CQs which can be evaluated efficiently. It is thus a natural problem to ask whether constraints can be used to reformulate a CQ as one in such tractable classes, and if so, what is the cost of computing such reformulation. Following Abiteboul et al. [1], this would provide us with a theoretical guarantee of “true efficiency” for those reformulations. Here we concentrate on one of the oldest and most studied tractability conditions for CQs; namely, acyclicity. It is known that acyclic CQs can be evaluated in linear time [21]. More formally, let us write q q′ whenever CQs q and q′ are equivalent over all databases that satisfy . In this work we study the following problem:</p>
      </abstract>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>-</title>
      <p>
        ⋆ This paper is a short version of [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ].
      </p>
    </sec>
    <sec id="sec-2">
      <title>INPUT : A CQ q and a finite set of constraints. QUESTION : Is there an acyclic CQ q′ s.t. q q′?</title>
      <p>We study this problem for the two most important classes of database constraints:
1. Tuple-generating dependencies (tgds), i.e., expressions of the form 8x8y(ϕ(x; y) !
9z (x; z)), where ϕ and are conjuntions of atoms. Tgds subsume the important
class of referential integrity constraints (or inclusion dependencies).
2. Equality-generating dependencies (egds), i.e., expressions of the form 8x(ϕ(x) !
y = z), where ϕ is a conjunction of atoms and y; z are variables in x. Egds subsume
keys and functional dependencies (FDs).</p>
      <p>
        A useful aspect of tgds and egds is that containment under them can be studied in terms
of the chase procedure [
        <xref ref-type="bibr" rid="ref19">19</xref>
        ].
      </p>
      <p>Coming back to semantic acyclicity, the main problem we study is, of course,
decidability. Since basic reasoning with tgds and egds is, in general, undecidable, we cannot
expect semantic acyclicity to be decidable for arbitrary such constraints. Thus, we
concentrate on the following question:
Decidability: For which classes of tgds and egds is the problem of semantic acyclicity
decidable? In such cases, what is the computational cost of the problem?</p>
      <p>Since semantic acyclicity is defined in terms of CQ equivalence under constraints,
and the latter has received a lot of attention, it is relevant also to study the following:
Relationship to CQ equivalence: What is the relationship between CQ equivalence
under constraints and semantic acyclicity under constraints? Is the latter decidable for
each class of tgds and egds for which the former is decidable?</p>
      <p>
        Finally, we want to understand to what extent semantic acyclicity helps CQ
evaluation. Although an acyclic reformulation of a CQ can be evaluated efficiently, computing
such reformulation might be expensive. Thus, it is relevant to study the following:
Evaluation: What is the computational cost of evaluating semantically acyclic CQs
under constraints?
Semantic acyclicity in the absence of constraints. The semantic acyclicity problem in
the absence of dependencies (i.e., checking whether a CQ q is equivalent to an acyclic
one over the set of all databases) is by now well-understood. Regarding decidability, it
is easy to prove that a CQ q is semantically acyclic iff its core q′ is acyclic. (Recall that
such q′ is the minimal equivalent CQ to q). It follows that checking semantic
acyclicity in the absence of constraints is NP-complete (see, e.g., [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ]). Regarding evaluation,
semantically acyclic CQs can be evaluated efficiently [
        <xref ref-type="bibr" rid="ref10 ref11 ref15">10, 11, 15</xref>
        ].
      </p>
      <p>The relevance of constraints. In the absence of constraints a CQ q is equivalent to an
acyclic one iff its core q′ is acyclic. Thus, the only reason why q is not acyclic in the first
place is because it has not been minimized. This tells us that in this context semantic
acyclicity is not different from usual minimization. The presence of constraints, on the
other hand, yields a more interesting notion of semantic acyclicity. This is because
constraints can be applied on CQs to produce acyclic reformulations of them.
Example 1. This simple example helps understanding the role of tgds when
reformulating CQs as acyclic ones. Consider a database that stores information about customers,
records, and musical styles. The relation Interest contains pairs (c; s) such that
customer c has declared interest in style s. The relation Class contains pairs (r; s) such
that record r is of style s. Finally, the relation Owns contains a pair (c; r) when customer
c owns record r. Consider now a CQ q(x; y) defined as follows:</p>
      <sec id="sec-2-1">
        <title>9z(Interest(x; z) ^ Class(y; z) ^ Owns(x; y)):</title>
        <p>This query asks for pairs (c; r) such that customer c owns record r and has expressed
interest in at least one of the styles with which r is associated. This CQ is a core but
it is not acyclic. Thus, from our previous observations it is not equivalent to an acyclic
CQ (in the absence of constraints).</p>
        <p>Assume now that we are told that this database contains compulsive music collectors
only. In particular, each customer owns every record that is classified with a style in
which he/she has expressed interest. This means that the database satisfies the tgd:
= Interest(x; z); Class(y; z) ! Owns(x; y):</p>
      </sec>
    </sec>
    <sec id="sec-3">
      <title>We can now easily reformulate q(x; y) as the following acyclic CQ q′(x; y):</title>
      <sec id="sec-3-1">
        <title>9z(Interest(x; z) ^ Class(y; z)):</title>
      </sec>
    </sec>
    <sec id="sec-4">
      <title>Notice that q and q′ are in fact equivalent over every database that satisfies .</title>
      <p>Contributions. We observe that semantic acyclicity under constraints is not only more
powerful, but also theoretically more challenging than in the absence of them. We start
by studying decidability.</p>
      <p>Results for tgds: Having a decidable CQ containment problem is a necessary condition
for semantic acyclicity to be decidable under tgds.4 Surprisingly enough, it is not a
sufficient condition. This means that, contrary to what one might expect, there are natural
classes of tgds for which CQ containment but not semantic acyclicity is decidable. In
particular, this is the case for the well-known class of full tgds (i.e., tgds without
existentially quantified variables in the head). In conclusion, we cannot directly export
techniques from CQ containment to deal with semantic acyclicity.</p>
      <p>
        In view of the previous results, we concentrate on classes of tgds that (a) have a
decidable CQ containment problem, and (b) do not contain the class of full tgds. These
restrictions are satisfied by several expressive languages considered in the literature.
Such languages can be classified into three main families depending on the techniques
used for studying their containment problem: (i) guarded tgds [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ], which contain
inclusion and linear dependencies, (ii) non-recursive [
        <xref ref-type="bibr" rid="ref12">12</xref>
        ], and (iii) sticky sets of tgds [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ].
      </p>
      <p>Instead of studying such languages one by one, we identify two semantic criteria
that yield decidability for the semantic acyclicity problem, and then show that each one
of the languages satisfies one such criteria.</p>
    </sec>
    <sec id="sec-5">
      <title>4 Modulo some mild technical assumptions; see the extended version for more details.</title>
      <p>– The first criterion is acyclicity-preserving chase. This is satisfied by those tgds for
which the application of the chase over an acyclic instance preserves acyclicity.
Guarded tgds enjoy this property. From the analysis we conclude that semantic
acyclicity under guarded tgds is decidable and has the same complexity as CQ
containment: 2EXPTIME-complete, and NP-complete for a fixed schema.
– The second criterion is rewritability by unions of CQs (UCQs). Intuitively, a class
C of sets of tgds has this property if the CQ containment problem under a set in C
can always be reduced to a UCQ containment problem without constraints.
Nonrecursive and sticky sets of tgds enjoy this property. In the first case the complexity
matches that of CQ containment: NEXPTIME-complete, and NP-complete if the
schema is fixed. In the second case, we get a NEXPTIME upper bound and an
EXPTIME lower bound. For a fixed schema the problem is NP-complete.</p>
      <p>
        The NP bounds for tgds in such decidable classes (under a fixed schema) can be
seen as positive results: By spending exponential time in the size of the (small) query,
we can not only minimize it, but also find an acyclic reformulation if one exists.
Results for egds: After showing that the techniques developed for tgds cannot be
applied for showing the decidability of semantic acyclicity under egds, we focus on the
class of keys over unary and binary predicates and we establish a positive result, namely
semantic acyclicity is NP-complete. We prove this by showing that in such context keys
have acyclicity-preserving chase. Interestingly, this positive result can be extended to
unary functional dependencies (over unconstrained signatures); this result has been
established independently by Figueira [
        <xref ref-type="bibr" rid="ref13">13</xref>
        ]. We leave open whether the problem of
semantic acyclicity under arbitrary egds, or even keys over arbitrary schemas, is decidable.
Evaluation: For tgds for which semantic acyclicity is decidable (guarded, non-recursive,
sticky), we can use the following algorithm to evaluate a semantically acyclic CQ q over
a database D that satisfies the constraints : (1) Convert q into an equivalent acyclic
CQ q′ under , (2) evaluate q′ on D, and (3) return q(D) = q′(D). The running time is
O(jDj f (jqj; j j)), where f is a double-exponential function (since q′ can be computed
in double-exponential time for each one of the classes mentioned above and acyclic CQs
can be evaluated in linear time). This constitutes a fixed-parameter tractable algorithm
for evaluating q on D. No such algorithm is believed to exist for CQ evaluation [
        <xref ref-type="bibr" rid="ref20">20</xref>
        ];
thus, semantically acyclic CQs under these constraints behave better than the general
case in terms of evaluation. However, in the absence of constraints one can do better:
Evaluating semantically acyclic CQs in such context is feasible in polynomial time. It
is natural to ask if this also holds in the presence of constraints. This is the case for
guarded tgds and FDs. For the other classes the problem remains to be investigated.
Finite vs. infinite databases. The results mentioned above interpret the notion of CQ
equivalence (and, thus, semantic acyclicity) over arbitrary (finite or infinite) databases.
The reason is the wide application of the chase we make in our proofs, which
characterizes CQ equivalence under arbitrary databases only. This is not a serious problem
though, as all the particular classes of tgds for which we prove decidability in the paper
(i.e., guarded, non-recursive, sticky) are finitely controllable [
        <xref ref-type="bibr" rid="ref14 ref3">3, 14</xref>
        ]. This means that
CQ equivalence under arbitrary databases and under finite databases coincide. Thus,
the results we obtain for such classes can be directly exported to the finite case.
Acknowledgements. Barcel o´ would like to thank D. Figueira, M. Romero, S. Rudolph,
and N. Schweikardt for insightful discussions about the nature of semantic acyclicity
under constraints. Barcel o´ is funded by the Millenium Nucleus Center for Semantic
Web Research under grant NC120004. Gottlob is supported by the EPSRC Programme
Grant EP/M025268/ “VADA: Value Added Data Systems – Principles and
Architecture”. Pieris is supported by the Austrian Science Fund (FWF), projects P25207-N23
and Y698, and Vienna Science and Technology Fund (WWTF), project ICT12-015.
      </p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          1.
          <string-name>
            <surname>Abiteboul</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Hull</surname>
            ,
            <given-names>R.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Vianu</surname>
            ,
            <given-names>V.</given-names>
          </string-name>
          : Foundations of Databases. Addison-Wesley (
          <year>1995</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          2.
          <string-name>
            <surname>Baget</surname>
            ,
            <given-names>J.F.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Mugnier</surname>
            ,
            <given-names>M.L.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Rudolph</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Thomazo</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          :
          <article-title>Walking the complexity lines for generalized guarded existential rules</article-title>
          .
          <source>In: IJCAI</source>
          . pp.
          <fpage>712</fpage>
          -
          <lpage>717</lpage>
          (
          <year>2011</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          3. Ba´ra´ny, V.,
          <string-name>
            <surname>Gottlob</surname>
            ,
            <given-names>G.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Otto</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          :
          <article-title>Querying the guarded fragment</article-title>
          .
          <source>Logical Methods in Computer Science</source>
          <volume>10</volume>
          (
          <issue>2</issue>
          ) (
          <year>2014</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          4. Barcel o´,
          <string-name>
            <given-names>P.</given-names>
            ,
            <surname>Gottlob</surname>
          </string-name>
          ,
          <string-name>
            <given-names>G.</given-names>
            ,
            <surname>Pieris</surname>
          </string-name>
          ,
          <string-name>
            <surname>A.</surname>
          </string-name>
          :
          <article-title>Semantic acyclicity under constraints</article-title>
          .
          <source>In: PODS</source>
          (
          <year>2016</year>
          ), to appear
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          5. Barcel o´,
          <string-name>
            <given-names>P.</given-names>
            ,
            <surname>Romero</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            ,
            <surname>Vardi</surname>
          </string-name>
          , M.Y.:
          <article-title>Semantic acyclicity on graph databases</article-title>
          .
          <source>In: PODS</source>
          . pp.
          <fpage>237</fpage>
          -
          <lpage>248</lpage>
          (
          <year>2013</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          6. Cal`ı,
          <string-name>
            <given-names>A.</given-names>
            ,
            <surname>Gottlob</surname>
          </string-name>
          ,
          <string-name>
            <given-names>G.</given-names>
            ,
            <surname>Kifer</surname>
          </string-name>
          ,
          <string-name>
            <surname>M.</surname>
          </string-name>
          :
          <article-title>Taming the infinite chase: Query answering under expressive relational constraints</article-title>
          .
          <source>J. Artif. Intell. Res</source>
          .
          <volume>48</volume>
          ,
          <fpage>115</fpage>
          -
          <lpage>174</lpage>
          (
          <year>2013</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          7. Cal`ı,
          <string-name>
            <given-names>A.</given-names>
            ,
            <surname>Gottlob</surname>
          </string-name>
          ,
          <string-name>
            <given-names>G.</given-names>
            ,
            <surname>Pieris</surname>
          </string-name>
          ,
          <string-name>
            <surname>A.</surname>
          </string-name>
          :
          <article-title>Towards more expressive ontology languages: The query answering problem</article-title>
          .
          <source>Artif. Intell</source>
          .
          <volume>193</volume>
          ,
          <fpage>87</fpage>
          -
          <lpage>128</lpage>
          (
          <year>2012</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          8.
          <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>Lenzerini</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          :
          <article-title>Conjunctive query containment and answering under description logic constraints</article-title>
          .
          <source>ACM Trans. Comput. Log</source>
          .
          <volume>9</volume>
          (
          <issue>3</issue>
          ) (
          <year>2008</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          9.
          <string-name>
            <surname>Chandra</surname>
            ,
            <given-names>A.K.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Merlin</surname>
            ,
            <given-names>P.M.:</given-names>
          </string-name>
          <article-title>Optimal implementation of conjunctive queries in relational data bases</article-title>
          .
          <source>In: STOC</source>
          . pp.
          <fpage>77</fpage>
          -
          <lpage>90</lpage>
          (
          <year>1977</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          10.
          <string-name>
            <surname>Chen</surname>
            ,
            <given-names>H.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Dalmau</surname>
            ,
            <given-names>V.</given-names>
          </string-name>
          :
          <article-title>Beyond hypertree width: Decomposition methods without decompositions</article-title>
          .
          <source>In: CP</source>
          . pp.
          <fpage>167</fpage>
          -
          <lpage>181</lpage>
          (
          <year>2005</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          11.
          <string-name>
            <surname>Dalmau</surname>
            ,
            <given-names>V.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Kolaitis</surname>
            ,
            <given-names>P.G.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Vardi</surname>
          </string-name>
          , M.Y.:
          <article-title>Constraint satisfaction, bounded treewidth, and finite-variable logics</article-title>
          .
          <source>In: CP</source>
          . pp.
          <fpage>310</fpage>
          -
          <lpage>326</lpage>
          (
          <year>2002</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref12">
        <mixed-citation>
          12.
          <string-name>
            <surname>Fagin</surname>
            ,
            <given-names>R.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Kolaitis</surname>
            ,
            <given-names>P.G.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Miller</surname>
            ,
            <given-names>R.J.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Popa</surname>
            ,
            <given-names>L.</given-names>
          </string-name>
          :
          <article-title>Data exchange: Semantics and query answering</article-title>
          .
          <source>Theor. Comput. Sci</source>
          .
          <volume>336</volume>
          (
          <issue>1</issue>
          ),
          <fpage>89</fpage>
          -
          <lpage>124</lpage>
          (
          <year>2005</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref13">
        <mixed-citation>
          13.
          <string-name>
            <surname>Figueira</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          :
          <article-title>Semantically acyclic conjunctive queries under functional dependencies</article-title>
          .
          <source>In: LICS</source>
          (
          <year>2016</year>
          ), to appear
        </mixed-citation>
      </ref>
      <ref id="ref14">
        <mixed-citation>
          14.
          <string-name>
            <surname>Gogacz</surname>
            ,
            <given-names>T.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Marcinkowski</surname>
          </string-name>
          , J.:
          <article-title>Converging to the chase - A tool for finite controllability</article-title>
          .
          <source>In: LICS</source>
          . pp.
          <fpage>540</fpage>
          -
          <lpage>549</lpage>
          (
          <year>2013</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref15">
        <mixed-citation>
          15.
          <string-name>
            <surname>Gottlob</surname>
            ,
            <given-names>G.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Greco</surname>
            ,
            <given-names>G.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Marnette</surname>
            ,
            <given-names>B.</given-names>
          </string-name>
          :
          <article-title>Hyperconsistency width for constraint satisfaction: Algorithms and complexity results</article-title>
          .
          <source>In: Graph Theory, Computational Intelligence and Thought</source>
          . pp.
          <fpage>87</fpage>
          -
          <lpage>99</lpage>
          (
          <year>2009</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref16">
        <mixed-citation>
          16.
          <string-name>
            <surname>Hell</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Nesˇetrˇil</surname>
          </string-name>
          , J.:
          <source>Graphs and Homomorphisms</source>
          . Oxford University Press (
          <year>2004</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref17">
        <mixed-citation>
          17.
          <string-name>
            <surname>Johnson</surname>
            ,
            <given-names>D.S.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Klug</surname>
            ,
            <given-names>A.C.</given-names>
          </string-name>
          :
          <article-title>Testing containment of conjunctive queries under functional and inclusion dependencies</article-title>
          .
          <source>J. Comput. Syst. Sci</source>
          .
          <volume>28</volume>
          (
          <issue>1</issue>
          ),
          <fpage>167</fpage>
          -
          <lpage>189</lpage>
          (
          <year>1984</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref18">
        <mixed-citation>
          18. Kro¨ tzsch,
          <string-name>
            <given-names>M.</given-names>
            ,
            <surname>Rudolph</surname>
          </string-name>
          ,
          <string-name>
            <surname>S.</surname>
          </string-name>
          :
          <article-title>Extending decidable existential rules by joining acyclicity and guardedness</article-title>
          .
          <source>In: IJCAI</source>
          . pp.
          <fpage>963</fpage>
          -
          <lpage>968</lpage>
          (
          <year>2011</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref19">
        <mixed-citation>
          19.
          <string-name>
            <surname>Maier</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Mendelzon</surname>
            ,
            <given-names>A.O.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Sagiv</surname>
            ,
            <given-names>Y.</given-names>
          </string-name>
          :
          <article-title>Testing implications of data dependencies</article-title>
          .
          <source>ACM Trans. Database Syst</source>
          .
          <volume>4</volume>
          (
          <issue>4</issue>
          ),
          <fpage>455</fpage>
          -
          <lpage>469</lpage>
          (
          <year>1979</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref20">
        <mixed-citation>
          20.
          <string-name>
            <surname>Papadimitriou</surname>
            ,
            <given-names>C.H.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Yannakakis</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          :
          <article-title>On the complexity of database queries</article-title>
          .
          <source>J. Comput. Syst. Sci</source>
          .
          <volume>58</volume>
          (
          <issue>3</issue>
          ),
          <fpage>407</fpage>
          -
          <lpage>427</lpage>
          (
          <year>1999</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref21">
        <mixed-citation>
          21.
          <string-name>
            <surname>Yannakakis</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          :
          <article-title>Algorithms for acyclic database schemes</article-title>
          .
          <source>In: VLDB</source>
          . pp.
          <fpage>82</fpage>
          -
          <lpage>94</lpage>
          (
          <year>1981</year>
          )
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>