Guarded Disjunctive Existential Rules
- The paper establishes that guarded rule sets preserve decidability by requiring a guard atom to cover all universally quantified variables, even when allowing disjunctive conclusions.
- Key methodology focuses on using diagrammatic compatibility and repairable direct products to precisely characterize finite axiomatizability and manage semantic branching.
- The work highlights algorithmic techniques such as bounded linearization, enabling the rewriting of guarded rules into equivalent linear forms to support efficient query answering.
Searching arXiv for recent and foundational papers on guarded disjunctive existential rules, DTGDs, and related finite axiomatizability/reasoning complexity. Guarded disjunctive existential rules are a syntactically restricted class of disjunctive existential rules in which the rule body is empty or contains an atom that mentions all universally quantified variables. In the database literature, disjunctive existential rules are also called disjunctive tuple-generating dependencies, and they extend existential-rule languages by allowing a disjunctive head rather than a single existentially quantified consequence. Recent work gives an exact model-theoretic characterization of finite axiomatizability for the guarded fragment in terms of criticality, closure under repairable direct products, and guarded-diagrammatic compatibility, and also studies when guarded rule sets can be rewritten into equivalent linear ones (Calautti et al., 16 Aug 2025). Earlier work on reasoning established that guardedness preserves decidability in the presence of head disjunction, but that query answering incurs a substantial complexity increase, reaching $2$EXPTIME-completeness in combined complexity for guarded disjunctive tuple-generating dependencies (Morak, 2014).
1. Formal definition and syntactic position
A disjunctive existential rule over a schema is defined as a constant-free first-order sentence of the form
where , are tuples of variables, each variable of occurs in , each variable of occurs in some , is a possibly empty conjunction of atoms, and each 0 is a non-empty conjunction of atoms (Calautti et al., 16 Aug 2025). The body is 1, and the head is 2 (Calautti et al., 16 Aug 2025).
Semantically, 3 means that whenever the body is matched in 4, at least one disjunct in the head can be satisfied by extending the match (Calautti et al., 16 Aug 2025). In the alternative notation used for disjunctive tuple-generating dependencies,
5
the same idea is emphasized: one body match forces a choice among several existential consequences (Morak, 2014).
A disjunctive existential rule is guarded if its body is empty or has an atom that mentions all the universally quantified variables (Calautti et al., 16 Aug 2025). In the guarded-tuple-generating-dependency presentation, this body atom is called the guard, and guardedness is the standard structural condition requiring that the body contain an atom with all universally quantified variables of the rule (Morak, 2014). Linear rules form a closely related subclass: they are explicitly described as another main member of the guarded family of disjunctive existential rules (Calautti et al., 16 Aug 2025).
This guardedness condition is purely syntactic, but it has substantial semantic and algorithmic consequences. The 2025 characterization work treats guarded rules as a robust specialization of the general disjunctive existential-rule framework (Calautti et al., 16 Aug 2025), while the 2014 reasoning study treats guarded disjunctive tuple-generating dependencies as one of the central decidable Datalog6 fragments after disjunction is added (Morak, 2014).
2. Semantics, model classes, and query answering
The model-theoretic viewpoint studies classes 7 of relational structures and asks when such a class is exactly the set of models of a finite set of guarded disjunctive existential rules (Calautti et al., 16 Aug 2025). This shifts attention from derivational procedures to semantic invariants of model classes. The main result for the guarded setting is a finite-axiomatizability theorem parameterized by bounds on the numbers of universal variables, existential variables, and head disjuncts (Calautti et al., 16 Aug 2025).
The query-answering viewpoint starts from a database 8 and a theory 9, and uses certain-answer semantics: 0 For boolean conjunctive queries, the decision problem is whether 1 (Morak, 2014). Under this semantics, disjunction in the rule head is significant because it creates branching in the model space: instead of a single existential consequence, at least one of several alternatives must hold (Morak, 2014).
To capture that branching operationally, the disjunctive setting uses a disjunctive chase. A disjunctive tuple-generating dependency 2 is applicable to an instance 3 if the body matches under some homomorphism 4, but none of the disjuncts is already satisfied under an extension 5. Applying 6 yields a set of successor instances,
7
where each 8 is obtained by adding the 9-th disjunct with fresh nulls (Morak, 2014). Repeated fair applications generate a disjunctive chase tree whose leaves define 0, and this set of leaves is a universal set model: for every model 1, there exists 2 and a homomorphism 3 such that 4 (Morak, 2014). Consequently,
5
for conjunctive query answering (Morak, 2014).
This division between semantic model classes and operational branching semantics is central to the topic. The former explains which classes can be axiomatized by finite guarded disjunctive rule sets; the latter explains why even guarded reasoning becomes substantially harder once head disjunction is present.
3. Finite axiomatizability and the guarded characterization
The central semantic theorem for guarded disjunctive existential rules states that for a collection 6 of structures and 7, with 8, and 9, the following are equivalent:
- 0 is finitely axiomatizable by guarded 1-dexrs.
- 2 is critical, closed under repairable direct products, and guarded-diagrammatically 3-compatible (Calautti et al., 16 Aug 2025).
This is an exact semantic characterization of finite axiomatizability by finite sets of guarded disjunctive existential rules with bounded numbers of universal variables, existential variables, and head disjuncts (Calautti et al., 16 Aug 2025). The theorem is a guarded refinement of a more general characterization for unrestricted disjunctive existential rules, and the paper presents it as evidence for the robustness of the diagrammatic-compatibility method (Calautti et al., 16 Aug 2025).
Three ingredients are indispensable. First, criticality is inherited from the unrestricted setting. A structure 4 is 5-critical if 6 and every relation is full, i.e. 7. A collection 8 is critical if it contains a 9-critical structure for every 0. The relevant lemma states that a collection of structures finitely axiomatizable by disjunctive existential rules is critical (Calautti et al., 16 Aug 2025).
Second, the appropriate product closure is not ordinary direct-product closure but closure under repairable direct products. Given 1, their direct product 2 is defined as usual. A structure 3 is a repairable direct product of 4 and 5 if 6 and the projective homomorphism 7 extends to a homomorphism 8 (Calautti et al., 16 Aug 2025). A corresponding lemma states that any class finitely axiomatizable by disjunctive existential rules is closed under repairable direct products (Calautti et al., 16 Aug 2025).
Third, the new ingredient is guarded-diagrammatic compatibility. The general notion of diagrammatic compatibility is based on 9-diagrams 0 for finite substructures 1, and roughly ensures that if a structure 2 violates a bounded disjunctive existential rule, then the collection 3 contains some structure witnessing the same violation (Calautti et al., 16 Aug 2025). In the guarded case, the notion is specialized to guarded local configurations. A structure 4 is guarded if either 5, or there is 6 such that 7 (Calautti et al., 16 Aug 2025). Then 8 is guarded-diagrammatically 9-compatible with 0 if, for every guarded substructure 1 of 2 with 3 and 4, and every 5-diagram 6 of 7 relative to 8, there exists 9 such that 0 (Calautti et al., 16 Aug 2025).
The paper explicitly notes that guarded-diagrammatic 1-compatibility implies diagrammatic 2-compatibility (Calautti et al., 16 Aug 2025). The guarded variant is therefore stronger and more specialized: it restricts the local tests to substructures whose active domain is covered by a single fact, matching the syntactic role of the guard in rule bodies (Calautti et al., 16 Aug 2025). This suggests that guardedness is reflected semantically not through a different global closure principle, but through a filtered notion of local configurational simulation.
4. Closure phenomena, locality, and why repairable products are needed
Ordinary direct products are insufficient for disjunctive existential rules. The paper gives a counterexample using the disjunctive existential rule
3
Let 4 have facts 5, and 6 have facts 7. Then both 8 and 9, but
0
and 1 (Calautti et al., 16 Aug 2025). This example motivates the replacement of standard direct-product closure by closure under repairable direct products (Calautti et al., 16 Aug 2025).
The same example also clarifies the distinctive semantic burden introduced by disjunction. Each factor satisfies the rule by realizing a different disjunct, but the direct product need not realize any one disjunct coherently. A plausible implication is that the model-theoretic behavior of guarded disjunctive existential rules is governed not just by local guardedness, but also by how alternative head realizations interact under products.
The 2025 paper also situates diagrammatic compatibility with respect to older locality notions. It proves that diagrammatic 2-compatibility implies 3-locality (Calautti et al., 16 Aug 2025). The inclusion is strict in informational terms, because diagrammatic compatibility tracks the number of head disjuncts 4, while locality does not (Calautti et al., 16 Aug 2025). The same rule 5 is used to illustrate the distinction: if 6 is its model class, then 7 is finitely axiomatizable by 8-disjunctive existential rules, hence diagrammatically 9-compatible and 00-local, but it is not finitely axiomatizable by 01-disjunctive existential rules (Calautti et al., 16 Aug 2025). This shows that locality alone cannot distinguish one-disjunct from two-disjunct classes, whereas diagrammatic compatibility can (Calautti et al., 16 Aug 2025).
For the guarded fragment, the same lesson persists with the restriction to guarded substructures. The guarded characterization does not merely inherit unrestricted semantic criteria; it sharpens the local compatibility condition so that it respects the guard atom’s coverage of universal variables (Calautti et al., 16 Aug 2025).
5. Reasoning complexity for guarded disjunctive tuple-generating dependencies
The main complexity result for guarded disjunctive tuple-generating dependencies is that disjunction does not destroy decidability for guarded theories, but it causes a significant complexity jump (Morak, 2014). For guarded theories with disjunction, the paper states a strong 02EXPTIME lower bound in combined complexity, even for very restricted formalisms such as fixed sets of disjunctive inclusion dependencies (Morak, 2014). Its later summary reports for guarded DTGDs that combined complexity is 03EXPTIME-complete and data complexity is co-complete for arbitrary queries; for atomic queries, guarded DTGDs remain 04EXPTIME-complete in combined complexity and co-complete in data complexity (Morak, 2014).
The guardedness notion used there is the standard one: a rule is guarded if the body contains an atom mentioning all universally quantified variables, and that atom is the guard (Morak, 2014). Linear TGDs and inclusion dependencies are noted to be trivially guarded because they have only one body atom (Morak, 2014). Guarded DTGDs therefore inherit the same structural discipline as ordinary guarded existential rules, but the presence of disjunctive heads changes the complexity landscape dramatically.
The lower bound is robust under strong syntactic simplification. The paper states that the 05EXPTIME lower bound already holds for fixed sets of disjunctive inclusion dependencies, with either fixed sets of DIDs of arity at most 06, or non-fixed sets of DIDs of arity at most 07 (Morak, 2014). This shows that the complexity blow-up is not due to elaborate body syntax. Rather, it is caused by branching choice in the rule head (Morak, 2014).
The proof ideas described in the research summary align with this interpretation. For arbitrary queries, the 08EXPTIME lower bound is obtained via a Büchi tree automaton simulation (Morak, 2014). The upper bounds for guarded DTGDs are connected to expressive fragments of first-order logic such as the Guarded Fragment and Guarded-Negation First-Order Logic (Morak, 2014). This suggests that guarded disjunctive existential rules occupy a boundary where guarded tree-likeness is still sufficient for decidability, but no longer sufficient for moderate combined complexity.
6. Rewriting guarded rules into equivalent linear rules
The 2025 paper studies a specific transformation problem for guarded disjunctive existential rules: whether a finite guarded rule set can be rewritten into an equivalent finite set of linear disjunctive existential rules (Calautti et al., 16 Aug 2025). It defines the problem 09 as follows: the input is a finite set 10 of guarded dexrs, and the output is a finite set 11 of linear dexrs such that 12, if one exists; otherwise 13 (Calautti et al., 16 Aug 2025).
The main theorem states that 14 is computable in elementary time (Calautti et al., 16 Aug 2025). The key technical tool is the Bounded Linearization Lemma. If a collection 15 of structures over a schema 16 is finitely axiomatizable by 17-dexrs and
18
then the following are equivalent:
- 19 is finitely axiomatizable by linear dexrs.
- 20 is linear-diagrammatically 21-compatible (Calautti et al., 16 Aug 2025).
This bounded characterization makes an exhaustive search possible. The algorithm 22 computes the bound 23, enumerates all linear 24-dexrs entailed by the input guarded set, and returns them if they are non-empty and entail the input; otherwise it returns 25 (Calautti et al., 16 Aug 2025). The paper states that the algorithm runs in elementary time and refines this to triple-exponential time; it also remarks that an optimal double-exponential bound would follow from a stronger polynomial bound on the number of disjuncts, but this remains open (Calautti et al., 16 Aug 2025).
The significance of this result is methodological. The guarded fragment is strictly more general syntactically than the linear fragment, but not every guarded theory needs genuinely guarded interaction in its body. The rewriting theorem provides an exact algorithmic route for detecting when guardedness is eliminable in favor of linearity (Calautti et al., 16 Aug 2025). A plausible implication is that the semantic notion of guarded-diagrammatic compatibility is not only classificatory, but also constructive enough to support rule synthesis.
7. Related semantics with negation and inconsistency handling
A related line of work studies guarded existential rules under stable model semantics with inconsistency handled by repairing the rule set rather than the database (Wan et al., 2016). This setting does not use head disjunction in the same formal sense as disjunctive tuple-generating dependencies; the rules are normal existential rules with possibly multiple head atoms, but not head disjunction (Wan et al., 2016). Nevertheless, it is relevant to the broader guarded existential-rule landscape because it shows how guardedness continues to control complexity when nonmonotonicity and inconsistency management are added.
In that framework, a normal rule is guarded if one positive body atom contains all universally quantified variables of the rule (Wan et al., 2016). A preferred rule repair is a subset 26 such that 27 has at least one stable model and every strictly preferred superset has none (Wan et al., 2016). Query answering under repair semantics requires a query to hold under all preferred rule repairs (Wan et al., 2016).
For guarded and stratified rule sets, and preferences 28, deciding whether 29 for a covered NBCQ 30 is PTime-complete for data complexity and 31ExpTime-complete for combined complexity (Wan et al., 2016). If 32 is guarded with full negation, then for a covered NBCQ 33, query answering is in BH for data complexity and 34ExpTime-complete for combined complexity (Wan et al., 2016). The paper’s stated message is that rule repair semantics does not increase complexity beyond the baseline guarded query-answering problem in these cases (Wan et al., 2016).
This line of work should not be conflated with guarded disjunctive existential rules in the strict sense. The formal language differs, because the “disjunctive” aspect there is not explicit head disjunction (Wan et al., 2016). Even so, the comparison is instructive. It suggests that guardedness is a robust structural discipline across several extensions of existential rules, but the source of hardness differs: in guarded DTGDs, branching is induced directly by head disjunction (Morak, 2014), whereas in stable-model repair semantics it is induced by nonmonotonicity and repair selection (Wan et al., 2016).
8. Conceptual significance and common points of confusion
A recurring misconception is that guardedness by itself keeps reasoning low-complexity. The guarded-disjunctive results show otherwise. Guardedness preserves decidability in the presence of disjunction, but combined complexity still rises to 35EXPTIME, and this hardness already appears in fixed sets of disjunctive inclusion dependencies (Morak, 2014). The correct conclusion is therefore more limited: guardedness is a safeguard against undecidability in this setting, not a guarantee of modest complexity.
A second point of confusion concerns products. For many rule languages, closure under direct products is a natural semantic invariant. For disjunctive existential rules, ordinary direct products fail, and the correct invariant is closure under repairable direct products (Calautti et al., 16 Aug 2025). This refinement is not technical ornamentation; it is forced by the semantics of disjunctive heads.
A third point concerns the relationship between guardedness and locality. The 2025 characterization makes clear that locality is too coarse because it does not encode the number of head disjuncts, whereas diagrammatic compatibility does (Calautti et al., 16 Aug 2025). In the guarded case, the appropriate notion is not general diagrammatic compatibility but guarded-diagrammatic compatibility, which restricts attention to guarded substructures (Calautti et al., 16 Aug 2025).
Taken together, these results place guarded disjunctive existential rules at the intersection of finite axiomatizability theory, guarded-fragment model theory, and high-complexity ontology-based reasoning. Their defining syntactic restriction is simple: one body atom must guard all universal variables, or the body is empty (Calautti et al., 16 Aug 2025). Yet the resulting theory is rich enough to require specialized semantic invariants, a branching chase semantics, exact finite-axiomatizability theorems, and nontrivial rewriting algorithms [(Calautti et al., 16 Aug 2025); (Morak, 2014)].