Conceptio › Archive › arXiv CS
arXiv CS open access

Bounded Treewidth Rulesets Are Not Finitely Controllable

Piotr Ostropolski-Nalewaja et al. · arxiv_cs
arXiv CS · Papers
Open Source ↗Direct PDF ↓
data-managementdatabasessqlstorage
An ontology language $O$ is finitely controllable with respect to a query language $Q$ if the finite and unrestricted variants of the query entailment problem for $\langle O, Q\rangle$ coincide. In this paper, we study finite controllability (FC) in its classical sense for existential rules, where $
Conceptio Open Archive

Analyze & explore related research in Conceptio

Connect this record directly into your research workflow or AI agent. Explore citations across open repositories, query full text, and export structured proof bundles.

Bounded Treewidth Rulesets Are Not Finitely Controllable

arXiv:2611.27461v1 [cs.DB] 20 Nov 2026

Piotr Ostropolski-Nalewaja1 , Michaël Thomazo2 1 University of Wrocław, Poland 2 Inria, DI ENS, ENS, CNRS, PSL University, Paris, France postropolski@cs.uni.wroc.pl, michael.thomazo@inria.fr

Abstract An ontology language O is finitely controllable with respect to a query language Q if the finite and unrestricted variants of the query entailment problem for ⟨O, Q⟩ coincide. In this paper, we study finite controllability (fc) in its classical sense for existential rules, where O is a class of existential rules and Q is the class of all Boolean conjunctive queries (BCQs). A natural question in this line of work is whether the class of bounded treewidth sets (bts) is finitely controllable with respect to BCQs. We answer this question negatively: we exhibit a simple set of rules over a binary signature and prove that it is bts but not fc. Moreover, using the same set of rules, we show that two subclasses of bts, namely gbts and pieceful, are not fc either.

1

Introduction

This paper concerns two central topics in knowledge representation: existential rules and finite controllability. Existential Rules Existential rules, also called tuplegenerating dependencies (TGDs), ∀∃-rules, or Datalog± rules, are first-order sentences of the form ∀x̄ ∀ȳ (α(x̄, ȳ) → ∃z̄ β(ȳ, z̄)), where α and β are conjunctions of relational atoms (Abiteboul, Hull, and Vianu 1995; Baget et al. 2011a; Calı̀, Gottlob, and Lukasiewicz 2009). When combined with a database, such rules express background knowledge, potentially requiring the existence of elements not named in the data. The fundamental reasoning task for such a combination is ontology-mediated query answering (OMQA): given a finite database D, a ruleset R, and a Boolean conjunctive query q, decide whether D, R |= q. Without restrictions on the rules, this problem is undecidable. A particularly useful tool is the chase algorithm. Starting from D, it repeatedly applies rules, adding atoms and fresh elements witnessing existential conclusions. Crucially, the chase is a universal model: it admits a homomorphism into every model of ⟨D, R⟩, so CQ entailment reduces to evaluating the query on this single structure (Deutsch, Nash, and Remmel 2008; Beeri and Vardi 1984; Maier, Mendelzon, and Sagiv 1979). Its clear procedural definition and tight connection to query answering are reflected in a wide array of practical reasoning tools, such as Graal, InteGraal, VLog, Nemo, and Vadalog (Baget et al. 2015;

Baget et al. 2023; Urbani et al. 2018; Ivliev et al. 2024; Bellomarini, Sallinger, and Gottlob 2018). Knowledge Representation in the Finite Given a database D and a ruleset R, query entailment admits two settings: the usual, unrestricted one, which considers all models of ⟨D, R⟩, and the finite one, which considers only finite structures. Interestingly, while the finite setting is arguably the natural choice for computer science, the unrestricted setting is standard in knowledge representation. There are, however, good reasons for this. In general, the unrestricted setting offers a richer and better-explored mathematical toolkit—classical examples are the Löwenheim– Skolem and Compactness theorems, which do not hold when restricted to finite structures (Libkin 2004). From the perspective of existential rules, and of this paper in particular, the finite setting also breaks the elegant connection between query entailment and evaluating the query on the chase. Insisting on finite models from the outset would sacrifice this advantage. Therefore, a more fruitful approach is to study whether restricting to finite models changes the answers at all. A ruleset R is finitely controllable (fc) if, for every finite database D and Boolean CQ q, D, R |= q ⇐⇒ D, R |=fin q. In other words, finite controllability allows us to assume the natural finite setting while retaining the soundness and completeness of unrestricted reasoning tools—combining the best of the finite and unrestricted worlds. Moreover, although this is not the focus of the present paper, fc is also an important decidability criterion for CQ entailment (Feller et al. 2023). Classes of Existential Rules Before discussing the intersection of existential rules and finite controllability, we need to introduce some important classes of existential rules, arising from research on OMQA. In general, OMQA is undecidable for existential rules; thus, a major line of research seeks classes of existential rules for which OMQA is decidable. Broadly, there are two types of such classes: concrete, syntactically defined classes that come with decidable membership tests, and broader, semantically defined classes that capture underlying reasons for decidability—typically at the price of undecidable membership (Baget et al. 2011a). Two important such reasons are

first-order rewritability and structural restrictions on universal models. Finite Unification Sets. The first reason is captured by finite unification sets (fus), also known through the bounded derivation depth (bdd) property. For fus rulesets, each CQ can be rewritten into a union of CQs and then evaluated directly over the input database, completely bypassing the ruleset. Linear and sticky rules are prominent syntactic examples of this approach (Calı̀, Gottlob, and Lukasiewicz 2009; Baget et al. 2011a; Gogacz and Marcinkowski 2013). Bounded Treewidth Sets. The second approach, closely related to this paper, constrains the shape of a universal model. Here, the most basic semantically defined class is that of finite expansion sets (fes), which admit finite universal models. The next step, going beyond finiteness, is the class of bounded-treewidth sets (bts), whose rulesets admit universal models of finite treewidth for every database (Baget, Mugnier, and Rudolph 2023). This class also supports decidable CQ entailment even when such a model is infinite (Baget et al. 2011a; Feller et al. 2023). While bts is the most recognized class in this line, the idea of requiring a universal model of finite width can be generalized further to finite-cliquewidth sets and finite-partitionwidth sets (Feller et al. 2023; Feller et al. 2025). Important classes falling within bts include the guarded family—guarded, frontier-guarded, and weakly guarded rules—which constrain rule shapes; as well as greedy bounded-treewidth sets (gbts) and their subclass of pieceful rulesets, which constrain chase derivations (Baget et al. 2011b; Buron, Mugnier, and Thomazo 2021). Existential Rules and Finite Controllability Research on finite controllability of existential rules is well advanced but far from complete. In general, fc is known to hold for many syntactically defined classes on both the fus and bts fronts, but the corresponding questions for these two semantic classes have remained open. Below we discuss the current research landscape. FC and Finite Unification Sets. On the rewriting side, whether every fus/bdd ruleset is fc is the longstanding bdd/fc conjecture, still open despite considerable effort (Gogacz and Marcinkowski 2013; Larroque, Ostropolski-Nalewaja, and Thomazo 2025). The major syntactic subclass of fus known as sticky rules is fc (Gogacz and Marcinkowski 2017). FC and Bounded Treewidth Sets. On the structural side, fc follows immediately for the semantic class fes, but no analogous general result was known for bts. As on the fus side, however, there is a range of results for syntactically defined classes. Inclusion dependencies (Rosati 2011), guarded and weakly guarded rules (Bárány, Gottlob, and Otto 2014), and frontier-guarded rules (Barceló et al. 2020) are known to be fc. However, unlike for fus, there is a considerable gap between full bts and the classes known to be fc. In particular, neither the pieceful class nor the gbts class was known to be fc. It is therefore natural to study where the boundary of

finite controllability lies within the structural landscape of bts and beyond. We believe that these two finite-controllability questions, concerning fus and bts, are among the most interesting in the study of existential rules. In this paper, we settle one of them: whether bts implies fc. Our Contribution In this work, we give a simple counterexample to the claim that bts implies fc. Specifically, we exhibit a pieceful ruleset (and thus a bts ruleset) that is not fc. Consequently, we close the picture regarding finite controllabilty and the structural front.

2

Preliminaries

Atoms and instances. We consider pairwise disjoint, countably infinite sets of constants, variables and nulls, and a set of predicates, each with an arity. A signature is a finite set of predicates, and it is binary if all its predicates have arity at most 2. A set of atoms, a rule, a ruleset or a query is over a signature if every predicate occurring in it belongs to this signature. A term is a constant, a variable or a null. An atom is an expression P(t1 , . . . , tn ) where P is an nary predicate and t1 , . . . , tn are terms. The active domain adom(S) of a set of atoms S is the set of terms occurring in S. An instance is a possibly infinite set of atoms over constants and nulls, and a database is a finite set of atoms over constants. A homomorphism from a set of atoms S to a set of atoms S ′ is a map h : adom(S) → adom(S ′ ) that is the identity on constants and such that h(S) ⊆ S ′ . For a natural number n, we write [n] for the set {0, . . . , n}. Queries. A (Boolean) conjunctive query (CQ) is a formula q = ∃⃗x φ(⃗x), where φ is a conjunction of atoms over variables. An instance I satisfies q, written I |= q, if there is a homomorphism from the atoms of φ to I. We write D, R |= q if every model of D and R satisfies q. A query q is homomorphism closed if for any two instances I and I ′ such that I homomorphically maps to I ′ it holds that I |= q ⇒ I ′ |= q. It is folklore that BCQs are homomorphism closed.

2.1

Existential Rules

An (existential) rule ρ is a formula  ∀⃗x ∀⃗y B(⃗x, ⃗y ) → ∃⃗z H(⃗y , ⃗z) , where B and H are non-empty conjunctions of atoms over variables. We write body(ρ) and head(ρ) for the sets of atoms of B and H. The frontier of ρ is the set fr(ρ) = ⃗y of variables shared by its body and its head, and ⃗z are its existential variables. A rule is Datalog if it has no existential variable. We omit universal quantifiers when writing rules. An instance I satisfies ρ if every homomorphism from body(ρ) to I extends to a homomorphism from body(ρ) ∪ head(ρ) to I. A model of a database D and a ruleset R is an instance that contains D and satisfies every rule of R.

Triggers. A trigger for an instance I is a pair (ρ, h) where ρ is a rule and h is a homomorphism from body(ρ) to I. An application of a trigger π = (ρ, h) for an instance I, denoted apply(π, I), is a set of atoms obtained from the head(ρ) by replacing each universally quantified variable x with h(x), and replacing each existentially quantified variable with a fresh null. The trigger π is inactive if there is an extension h′ of h over the existentially quantified variables of ρ such that h′ is a homomorphism from head(ρ) ∪ body(ρ) to I. A trigger is active if it is not inactive. Derivations. A derivation from a database D with a ruleset R is a finite or infinite sequence D = I0 ⊆ I1 ⊆ · · · such that, for every step i ≥ 1, there is a trigger π for Ii−1 such that Ii = Ii−1 ∪ apply(π, Ii−1 ). An instance is derived from D with R if it is an element of some derivation from D with R. A derivation is fair if, for every i and every trigger π for Ii there is j ≥ i such that Ij+1 = Ij ∪ apply(π, Ij ). We specifically use derivations for definition of gbts and pieceful classes (Theorem 2). The Chase From the perspective of the main result of this paper, it is easier to introduce the chase algorithm. Take a database D and a ruleset R. For S an instance I, we denote by NextR (I) the instance I ∪ π∈A apply(π, I), where A is the set of active triggers for the rules of R in I. Let Ch0 (D, R) = D and Chi+1 (D, R) = NextR (Chi (D, R)) for each natural i; we call Chi (D, R) theSi-th step of the ∞ chase. The chase Ch(D, R) is the instance i=0 Chi (D, R). Universal models. A universal model of D and R is a model of D and R that maps homomorphically into every model of D and R. It is well known that the chase is a universal model of ⟨D, R⟩ (Deutsch, Nash, and Remmel 2008; Beeri and Vardi 1984; Maier, Mendelzon, and Sagiv 1979) Hence, given any homomorphism closed query q, D, R |= q if and only if the chase satisfies q.

2.2

x

y

x

ρ1

y

ρ2

y

x′

y′

ρ3

x a

b

z

D0

y

q

Figure 1: The rules of R, the database D0 , and the query q. Blue arrows denote E-atoms, orange arrows Same-atoms, and raspberry rings A-atoms. Dashed arrows are head atoms; all other atoms are solid. Diamonds denote existentially quantified variables of rule heads; bullets denote all other variables and constants.

Greedy (Baget et al. 2011b) and pieceful (Buron, Mugnier, and Thomazo 2021) rulesets are subclasses of bts defined by restricting where rule applications map their frontier. Definition 2. Let D = I0 ⊆ I1 ⊆ · · · be a derivation from a database D. For every step i ≥ 1, let (ρi , hi ) be the trigger applied at step i, and let Ai = apply((ρi , hi ), Ii−1 ) be the set of atoms it produces, so that Ii = Ii−1 ∪ Ai . It is greedy if, for every step i, there is 1 ≤ j < i such that hi (fr(ρi )) ⊆ adom(D) ∪ adom(Aj ). It is pieceful if, for every step i: • either hi (fr(ρi )) ⊆ adom(D); • or hi (fr(ρi )) ⊆ adom(Aj ) for some j < i. A ruleset is gbts (resp. pieceful) if every derivation from every database with this ruleset is greedy (resp. pieceful). Every pieceful derivation is greedy, so pieceful rulesets are gbts. Moreover, gbts rulesets are bts (Baget et al. 2011b). Finally, finite controllability (Johnson and Klug 1984; Rosati 2011) states that restricting to finite models does not change CQ entailment. Definition 3. A ruleset R is finitely controllable (fc) if for every database D and every CQ q such that D, R ̸|= q, there is a finite model M of D and R such that M ̸|= q.

Treewidth and Related Classes of Existential Rules.

The rulesets we study are defined by requiring derived instances to be tree-like, a notion formalised by treewidth. The Gaifman graph of an instance I has vertex set adom(I), and an edge between any two distinct terms that occur together in an atom of I. A tree decomposition of a graph G is a pair (T, (Bn )n∈T ) where T is a possibly infinite tree and each bag Bn is a set of vertices of G, such that every edge of G is contained in some bag, and for every vertex v of G the nodes n with v ∈ Bn form a non-empty connected subtree of T . Its width is supn∈T |Bn | − 1. The treewidth tw(I) of I is the minimal width of a tree decomposition of its Gaifman graph. We consider the following properties of rulesets. Bounded treewidth sets (Baget et al. 2011a) are rulesets whose derived instances are tree-like. Definition 1. A ruleset R is a bounded treewidth set (bts) if for every database D there is b ∈ N such that D and R admit a universal model of treewidth at most b.

z

x

3

The Counterexample

Theorem 4. There is a bts ruleset over a binary signature that is not fc. Let R consist of the following rules over the binary predicates E and Same: E(x, y) → ∃z E(y, z) E(x, y) → Same(y, y)

(ρ1 ) (ρ2 )

Same(y, y ′ ) ∧ E(x, y) ∧ E(x′ , y ′ ) → Same(x, x′ )

(ρ3 )

The intuition behind the above rules is simple. The first rule builds an infinite E-path in the chase. The second rule ensures that every term1 is on the same level as itself, and the third rule propagates this information backwards: two terms are on the same level if their successors are. We now define the database and the query that, together with R, witness Theorem 4. 1

To be precise, every term that has an incoming E-edge.

Let D0 = {A(a), Same(a, a), E(a, b)}, where A is a unary predicate, and let  q = ∃x ∃y ∃z A(x) ∧ Same(y, x) ∧ E(z, y) . Note that in light of the above intuition, the query q checks if there exists a term with an incoming E-edge that is on the same level as some term satisfying the predicate A. We now describe the shape of the chase of D0 and R. Lemma 5. There is an infinite sequence t0 , t1 , t2 , . . . of pairwise distinct terms, with t0 = a, t1 = b, and tj a null for every j ≥ 2, such that for every natural number i, the instance Chi (D0 , R) is equal to:2 D0 ∪ {E(tj , tj+1 ) | j ∈ [i]} ∪ {Same(tj , tj ) | j ∈ [i]}. Proof sketch. By induction on i; the base case i = 0 is immediate. For the induction step, observe that Chi (D0 , R) has exactly two active triggers: one for ρ1 and one for ρ2 , both mapping the body atom to the last edge E(ti , ti+1 ). All other triggers for ρ1 , ρ2 and ρ3 are already satisfied. Applying the two active triggers yields Chi+1 (D0 , R) of the required form. The full proof is in Section A.1. It should come as no surprise that the query q does not hold in Ch(D0 , R). Lemma 6. Ch(D0 , R) ̸|= q. Proof. By Theorem 5, the only Same-atoms of Ch(D0 , R) are Same(tj , tj ), and a = t0 has no incoming E-edge. Suppose h is a homomorphism from q to Ch(D0 , R). As a is the only term satisfying A, we have h(x) = a, hence h(y) = a, and so E(h(z), a) ∈ Ch(D0 , R), a contradiction. As Ch(D0 , R) is a model of ⟨D0 , R⟩, we know that q is not entailed in general. We now show that, in contrast, q holds in every finite model of ⟨D0 , R⟩. Finite Entailment Consider any finite model M of ⟨D0 , R⟩. As Ch(D0 , R) is a universal model, there exists a homomorphism h from Ch(D0 , R) to M . For each natural i denote h(ti ) as mi . Note the following trivial lemma: Lemma 7. For all naturals i, j > 0, if M Same(mi , mj ), then M |= Same(mi−1 , mj−1 ).

|=

Proof. As h is a homomorphism and E(ti−1 , ti ), E(tj−1 , tj ) ∈ Ch(D0 , R) by Theorem 5, we have M |= E(mi−1 , mi ) ∧ E(mj−1 , mj ). Together with Same(mi , mj ), this matches the body of ρ3 , so M |= Same(mi−1 , mj−1 ) as M satisfies ρ3 . As M is finite, there exist naturals c < c′ such that mc = mc′ . Note that M |= Same(mc′ , mc ), as Same(tc , tc ) ∈ Ch(D0 , R) is mapped by h to Same(mc , mc ) = Same(mc′ , mc ). Recall that c < c′ and let d = c′ − c > 0. We show that M |= Same(md , m0 ). If c > 0, then applying 2

We use D0 in the formula only for notational convenience; it can be freely replaced by {A(a)}.

Theorem 7 c times yields M |= Same(mc′ −c , mc−c ) = Same(md , m0 ). Assume now c = 0, so d = c′ , and thus M |= Same(md , m0 ). Since h(a) = a, we have m0 = a, and since E(td−1 , td ) ∈ Ch(D0 , R), we have M |= E(md−1 , md ). Hence M |= A(a) ∧ Same(md , a) ∧ E(md−1 , md ), and thus M |= q. Hence ⟨D0 , R⟩ ̸|= q, yet q holds in every finite model of ⟨D0 , R⟩, which by definition gives the following. Corollary 8. R is not fc.

4

Why R Is Pieceful

Rules (ρ1 ) and (ρ2 ) have a single frontier variable, so the only threat to piecefulness is (ρ3 ), whose frontier is mapped to E-predecessors of two Same-related terms. These terms may be distinct, as md and m0 in the finite-entailment argument of Section 3. We show that in a derivation, this only happens on constants: Same relates a null only to itself (Theorem 9). Fix a derivation D = I0 ⊆ I1 ⊆ · · · from a database D with R, with the notation of Section 2. Lemma 9. For every k: (I1) Every E-atom of Ik whose second argument is a constant belongs to D. Every null n of Ik is the second argument of exactly one E-atom of Ik , written E(π(n), n). (I2) Every Same-atom of Ik is either a loop Same(t, t), or Same(c, c′ ) with c, c′ ∈ adom(D). (I3) If step k applies (ρ3 ), then either hk (x), hk (x′ ) ∈ adom(D), or hk (x) = hk (x′ ). Proof. (I1): Only (ρ1 ) produces E-atoms or creates nulls, and each step applying it produces a single atom E(t, n), where n is the null it creates. Since D contains no null, the E-atoms of Ik with a constant as second argument are those of D, and the only one with a null n as second argument is produced by the step creating n. (I2) and (I3): We proceed by simultaneous induction on k. For k = 0, (I2) holds since I0 = D, and (I3) is void. Let k ≥ 1. If step k applies (ρ1 ) or (ρ2 ), (I3) is void and (I2) is preserved: (ρ1 ) produces no Same-atom, and (ρ2 ) only produces loops. Assume now that step k applies (ρ3 ). The atom Same(hk (y), hk (y ′ )) belongs to Ik−1 , so by (I2) for Ik−1 , one of the following holds: • hk (y) and hk (y ′ ) are constants (this includes loops on constants). By (I1), the body atoms E(hk (x), hk (y)) and E(hk (x′ ), hk (y ′ )) belong to D, so hk (x), hk (x′ ) ∈ adom(D). • hk (y) = hk (y ′ ) = n for a null n. By (I1), the body atoms E(hk (x), n) and E(hk (x′ ), n) are the same atom, so hk (x) = hk (x′ ) = π(n). This proves (I3) for step k. The produced atom Same(hk (x), hk (x′ )) is over adom(D) in the first case and a loop in the second, so (I2) holds for Ik . Proposition 10. R is pieceful, hence gbts, hence bts. Proof. By the discussion following Theorem 2, it suffices to show that this derivation is pieceful. Fix a step i ≥ 1. It suffices to show that hi (fr(ρi )) is either contained in adom(D)

or a singleton {t}. Rules (ρ1 ) and (ρ2 ) have a single frontier variable, so hi (fr(ρi )) is a singleton. Rule (ρ3 ) has frontier {x, x′ }, and (I3) of Theorem 9 gives exactly the required dichotomy. Proof of Theorem 4. By Theorems 8 and 10, the ruleset R over the binary signature {E, Same} is bts and not fc.

5

Conclusion

We have shown that bounded treewidth, on its own, does not buy finite controllability. Strikingly, the counterexample is tiny: the ruleset R of Section 3 consists of just three rules over a binary signature, it is pieceful, and hence gbts and bts, yet it is not fc. A single ruleset thus settles the question negatively not only for bts, but already for its far more restrictive subclasses gbts and pieceful. The counterexample also shows where finite controllability breaks: rule ρ3 propagates information over unbounded distances, which is harmless in the chase but fatal in every finite model. A natural remedy is to restrict such longdistance propagation, for instance by requiring the ruleset to be local: there is ℓ ∈ N such that for every database D, every atom of Ch(D, R) belongs to Ch(D′ , R) for some D′ ⊆ D with |D′ | ≤ ℓ (Ostropolski-Nalewaja et al. 2022). Whether locality itslef implies fc is open, and so is the relationships between local bts rulesets and fc.

6

AI Use Disclaimer

LLMs have been used for drafting and editorial purposes. Authors obviously retain full responsability of the submitted content.

References Abiteboul, S.; Hull, R.; and Vianu, V. 1995. Foundations of Databases. Baget, J.-F.; Leclère, M.; Mugnier, M.-L.; and Salvat, E. 2011a. On rules with existential variables: Walking the decidability line. Artif. Intell. 175(9–10):1620–1654. Baget, J.-F.; Mugnier, M.-L.; Rudolph, S.; and Thomazo, M. 2011b. Walking the complexity lines for generalized guarded existential rules. In Proceedings of the TwentySecond International Joint Conference on Artificial Intelligence - Volume Volume Two, IJCAI’11, 712–717. AAAI Press. Baget, J.-F.; Leclère, M.; Mugnier, M.-L.; Rocher, S.; and Sipieter, C. 2015. Graal: A toolkit for query answering with existential rules. In Bassiliades, N.; Gottlob, G.; Sadri, F.; Paschke, A.; and Roman, D., eds., Rule Technologies: Foundations, Tools, and Applications, 328–344. Cham: Springer International Publishing. Baget, J.-F.; Bisquert, P.; Leclère, M.; Mugnier, M.-L.; Pérution-Kihli, G.; Tornil, F.; and Ulliana, F. 2023. InteGraal: a Tool for Data-Integration and Reasoning on Heterogeneous and Federated Sources. In Proceedings of the conference BDA’2023. Montpellier, France: LIRMM.

Baget, J.-F.; Mugnier, M.-L.; and Rudolph, S. 2023. Bounded treewidth and the infinite core chase: Complications and workarounds toward decidable querying. In Proceedings of the 42nd ACM SIGMOD-SIGACT-SIGAI Symposium on Principles of Database Systems, PODS ’23, 291–302. New York, NY, USA: Association for Computing Machinery. Barceló, P.; Dalmau, V.; Feier, C.; Lutz, C.; and Pieris, A. 2020. The limits of efficiency for open- and closed-world query evaluation under guarded tgds. In Proceedings of the 39th ACM SIGMOD-SIGACT-SIGAI Symposium on Principles of Database Systems (PODS 20), 259–270. United States: Association for Computing Machinery (ACM). 2020 ACM SIGMOD/PODS International Conference on Management of Data, SIGMOD/PODS 2020 ; Conference date: 14-06-2020 Through 19-06-2020. Beeri, C., and Vardi, M. Y. 1984. A proof procedure for data dependencies. J. ACM 31(4):718–741. Bellomarini, L.; Sallinger, E.; and Gottlob, G. 2018. The vadalog system: datalog-based reasoning for knowledge graphs. Proc. VLDB Endow. 11(9):975–987. Buron, M.; Mugnier, M.-L.; and Thomazo, M. 2021. Parallelisable Existential Rules: a Story of Pieces. In Proceedings of the 18th International Conference on Principles of Knowledge Representation and Reasoning, 163–173. Bárány, V.; Gottlob, G.; and Otto, M. 2014. Querying the guarded fragment. Logical Methods in Computer Science Volume 10, Issue 2. Calı̀, A.; Gottlob, G.; and Lukasiewicz, T. 2009. A general datalog-based framework for tractable query answering over ontologies. In Proceedings of the Twenty-Eighth ACM SIGMOD-SIGACT-SIGART Symposium on Principles of Database Systems, PODS ’09, 77–86. New York, NY, USA: Association for Computing Machinery. Deutsch, A.; Nash, A.; and Remmel, J. 2008. The chase revisited. In Proceedings of the Twenty-Seventh ACM SIGMOD-SIGACT-SIGART Symposium on Principles of Database Systems, PODS ’08, 149–158. New York, NY, USA: Association for Computing Machinery. Feller, T.; Lyon, T. S.; Ostropolski-Nalewaja, P.; and Rudolph, S. 2023. Finite-Cliquewidth Sets of Existential Rules: Toward a General Criterion for Decidable yet Highly Expressive Querying. In Geerts, F., and Vandevoort, B., eds., 26th International Conference on Database Theory (ICDT 2023), volume 255 of Leibniz International Proceedings in Informatics (LIPIcs), 18:1–18:18. Dagstuhl, Germany: Schloss Dagstuhl – Leibniz-Zentrum für Informatik. Feller, T.; Lyon, T. S.; Ostropolski-Nalewaja, P.; and Rudolph, S. 2025. Decidability of querying first-order theories via countermodels of finite width. Logical Methods in Computer Science Volume 21, Issue 2. Gogacz, T., and Marcinkowski, J. 2013. On the bdd/fc conjecture. In Proceedings of the 32nd ACM SIGMODSIGACT-SIGAI Symposium on Principles of Database Systems, PODS ’13, 127–138. New York, NY, USA: Association for Computing Machinery.

Gogacz, T., and Marcinkowski, J. 2017. Converging to the chase – a tool for finite controllability. Journal of Computer and System Sciences 83(1):180–206. Ivliev, A.; Gerlach, L.; Meusel, S.; Steinberg, J.; and Krötzsch, M. 2024. Nemo: Your Friendly and Versatile Rule Reasoning Toolkit. In Proceedings of the 21st International Conference on Principles of Knowledge Representation and Reasoning, 743–754. Johnson, D. S., and Klug, A. C. 1984. Testing containment of conjunctive queries under functional and inclusion dependencies. J. Comput. Syst. Sci. 28(1):167–189. Larroque, L.; Ostropolski-Nalewaja, P.; and Thomazo, M. 2025. No cliques allowed: The next step towards bdd/fc conjecture. Proc. ACM Manag. Data 3(2). Libkin, L. 2004. Elements of Finite Model Theory. Springer. Maier, D.; Mendelzon, A. O.; and Sagiv, Y. 1979. Testing implications of data dependencies. ACM Trans. Database Syst. 4(4):455–469. Ostropolski-Nalewaja, P.; Marcinkowski, J.; Carral, D.; and Rudolph, S. 2022. A journey to the frontiers of query rewritability. In Proceedings of the 41st Symposium on Principles of Database Systems (PODS), 359–367. Rosati, R. 2011. On the finite controllability of conjunctive query answering in databases under open-world assumption. Journal of Computer and System Sciences 77(3):572–594. Database Theory. Urbani, J.; Krötzsch, M.; Jacobs, C.; Dragoste, I.; and Carral, D. 2018. Efficient model construction for horn logic with VLog. In Galmiche, D.; Schulz, S.; and Sebastiani, R., eds., Proceedings of the 8th International Joint Conference on Automated Reasoning (IJCAR 2018), volume 10900 of LNCS, 680–688. Springer.

A A.1

Full Proofs

The Proof of Theorem 5

Proof. By induction on i. For i = 0 the instance in Theorem 5 equals D0 = Ch0 (D0 , R). Assume the claim holds for i and let I = Chi (D0 , R). The E-atoms of I are E(tj , tj+1 ) and the Same-atoms are Same(tj , tj ), for j ≤ i. In particular, t0 has no E-predecessor in I, and each tj with 1 ≤ j ≤ i + 1 has the unique E-predecessor tj−1 . We consider the triggers (ρ, h) for I: • ρ = ρ1 , h(x) = tj , h(y) = tj+1 with j ≤ i: inactive for j < i as E(tj+1 , tj+2 ) ∈ I; active for j = i. • ρ = ρ2 , h(x) = tj , h(y) = tj+1 with j ≤ i: inactive for j < i as Same(tj+1 , tj+1 ) ∈ I; active for j = i. • ρ = ρ3 : then h(y) = h(y ′ ) = tj for some 1 ≤ j ≤ i, so h(x) = h(x′ ) = tj−1 by uniqueness of E-predecessors; inactive as Same(tj−1 , tj−1 ) ∈ I. Hence Chi+1 (D0 , R) = NextR (I) = I ∪ {E(ti+1 , ti+2 ), Same(ti+1 , ti+1 )}, where ti+2 is the fresh null introduced by ρ1 . This is the required form for i + 1.

Related documents

Record · ID 1767930 · SHA-256 975b0e12383e7fe6
Retrieved via Conceptio: every document is proof-bundled with source, license, and retrieval metadata.
Bring this data into your agent: Connect via MCP or API · 20 free credits to start · no card required
Read the Docs → · View CLI source on GitHub · Conceptio Open Knowledge Archive