Existential Rules with Stratified Negation
- Existential rules with stratified negation are ontology-oriented rule systems combining existential rule heads with nonmonotonic negation in rule bodies to produce unique stable models.
- The approach leverages various chase variants, such as oblivious, restricted, and core chases, to ensure termination and manage derivations efficiently.
- Unified acyclicity and self-blocking techniques refine rule dependencies, ensuring safe propagation and accurate handling of negation in query answering.
Searching arXiv for the cited paper and closely related work on existential rules with stratified negation. Existential rules with stratified negation are a class of ontology-oriented rule systems in which existential rule heads are combined with nonmonotonic negation in rule bodies, typically under stable-model semantics. In the formulation studied by Baget, Leclère, Mugnier, and Salvat, a nonmonotonic existential rule has the form
with the safety condition for all , and a knowledge base is a pair with a finite ground atomset and a finite set of such rules (Baget et al., 2014). The central technical problem is that entailment with existential rules is undecidable, so practical reasoning relies on syntactic conditions that ensure termination of a breadth-first forward chaining procedure, the chase, and on semantics that remain well behaved when negation is introduced (Baget et al., 2014).
1. Formal setting and stable semantics
A positive existential rule is written as
where the frontier variables are the variables shared by body and head, the variables occur only in the body, and the variables occur only in the head (Baget et al., 2014). In practice, this is abbreviated as .
For nonmonotonic existential rules, the positive part of a rule is 0. Stable semantics is defined through a parameterized 1-chase, where 2 may be the oblivious, skolem, restricted, or core chase. A derivation applies 3 under a homomorphism 4, simplifies the resulting instance under criterion 5, and produces a limit atomset 6. The derivation is sound if, for every rule application, none of its negative bodies can be homomorphically found in 7; it is complete if no further unblocked application is possible without changing 8. An atomset 9 is then a 0-stable set, or 1-stable model, if there exists a complete, sound 2-chase derivation producing 3 (Baget et al., 2014).
Stratified negation is obtained when the rule set can be partitioned into strata 4 such that whenever 5 has 6 in its body and 7 overlaps the head of 8, then 9 (Baget et al., 2014). In that case, the stable semantics coincides with classical stratified semantics and yields a unique model (Baget et al., 2014). The long version further states that if an NME-program is stratified then it has a unique stable model and can be evaluated by a finite sequence of positive-only chases, one per stratum (Baget et al., 2014).
2. Chase variants and termination classes
A chase derivation starts from an atomset 0 and applies a rule 1 under a homomorphism 2 to produce
3
followed by simplification according to a criterion 4 (Baget et al., 2014). Several variants are relevant.
| Variant | Application policy | Locality |
|---|---|---|
| Oblivious chase | Apply every trigger 5 exactly once; no redundancy check | Local |
| Frontier chase | Block applications with identical restriction to the frontier | Local |
| Skolem chase | Skolemize existential variables, then run the oblivious chase | Local |
| Restricted chase | Apply 6 only if it is useful | Local |
| Core chase | After each application, compute the core of the instance | Non-local |
All chase variants listed above except the core chase are local, in the sense that 7 for 8 (Baget et al., 2014). Their universal-termination classes satisfy the strict containment
9
These distinctions matter because acyclicity conditions are formulated relative to a chosen chase variant. Theorems in the positive case are then transferred to the nonmonotonic case through the stable-chase construction (Baget et al., 2014). This suggests that the semantics of negation and the operational behavior of existential rule application cannot be separated cleanly: the relevant stable-model notion depends on the chase criterion that constructs it.
3. Unified acyclicity via position graphs
The 2014 framework unifies position-based and rule-dependency approaches through three increasingly refined graphs, denoted 0, 1, and 2 (Baget et al., 2014). For a rule 3, the basic position graph 4 has as nodes all positions 5 occurring in 6. There is an edge
7
iff 8 is a frontier position in 9 and either 0 or 1 is existential (Baget et al., 2014).
From these per-rule graphs, the framework builds:
- 2, augmented with transition edges between head-positions and body-positions of the same predicate symbol and same argument-slot, unconditionally.
- 3, where such transition edges are added only when the target rule depends on the source rule in the graph of rule dependencies 4.
- 5, which refines 6 further by requiring an explicit compatible piece-unifier with an agglomerated head along a dependency path (Baget et al., 2014).
Acyclicity properties are then expressed through a marking function 7 associated with a classical notion 8. A rule set satisfies 9 if, in 0, there is no marked cycle passing through an existential position (Baget et al., 2014). Proposition 3.6 states that for each classical notion 1 there is a marking 2 such that
3
and
4
The same line of work states that 5 strictly extends 6, and 7 further strictly extends 8 (Baget et al., 2014). Position-based notions satisfy the inclusions
9
and all embed as 0; the rule-dependency notion a-grd embeds as 1 when 2, and more generally as 3 for other 4 (Baget et al., 2014).
4. Stratified negation, self-blocking, and refined acyclicity
Negation changes the interpretation of cycles because some syntactic cycles are operationally harmless. The first refinement is the notion of a self-blocking rule: an NME-rule
5
is self-blocking if for some negative body 6 one already has
7
Such rules never fire soundly and can be dropped (Baget et al., 2014).
The same idea is lifted to dependencies. A unifier of 8 with 9 is self-blocking if composing 0 and 1 along that unifier yields a self-blocking rule. In 2 and 3, edges corresponding only to self-blocking unifiers are omitted (Baget et al., 2014). More generally, even when 4 contains a cycle through an existential position, the cycle may still be harmless if every compatible sequence of unifiers along that cycle is itself self-blocking. The refined notion 5 declares a rule set acyclic when every marked cycle for an existential position in 6 is self-blocking in that sense (Baget et al., 2014).
This refinement yields a negation-sensitive termination criterion. Proposition 5.3 states that if, in 7, every marked cycle for an existential position is self-blocking, then the stable-chase, skolem or core, on 8 always halts (Baget et al., 2014). The long version reformulates the same idea by defining a self-blocking unifier through the merged rule 9\Join0, whose negative body intersects its positive part, so that it can never fire, and defines 1 by ignoring marked cycles all of whose induced piece-unifier sequences are self-blocking (Baget et al., 2014).
A plausible implication is that stratified negation is not merely an ordering discipline over predicates; in existential-rule systems it also acts as a filter on which propagation cycles are semantically realizable during chase construction.
5. Termination theorems, complexity, and a worked stratified example
The main positive-case result is Theorem 3.12: if 2 is any acyclicity property that guarantees halting of some chase 3 on all positive rule sets in 4, then any 5 satisfying 6 is universally 7-terminating (Baget et al., 2014). The proof sketch associates any infinite 8-derivation with an infinite frontier-propagation path in 9; such a path must revisit an existential position along a marked cycle, contradicting 00 (Baget et al., 2014).
The associated complexity result is Theorem 3.14: if checking 01 on 02 is in class 03, then checking 04 or 05, and even 06, remains in 07; in particular there is no increase in worst-case complexity (Baget et al., 2014). The long version makes this explicit for the standard notions: checking WA, FD, AR, JA, and SWA on 08 is in PTIME; checking aGRD is co-NP-complete; and for every 09, checking 10 or 11 is co-NP-complete (Baget et al., 2014).
A small stratified example illustrates the mechanism. Let 12 and 13, with
14
and
15
16 is in a strictly higher stratum than 17 because 18-atoms occur negated in 19 (Baget et al., 2014). The program satisfies 20, since there is no marked cycle through an existential position under wa-marking (Baget et al., 2014). The chase starts with 21; 22 fires under 23 and produces 24; since 25 is not yet in the model, the step is sound; then in stratum 2, 26 fires and yields 27; this blocks any further application of 28 on 29 (Baget et al., 2014). The unique stable model is
30
6. Later developments: negative queries, rule repairs, and open problems
Later work extended the discussion in two directions. First, for query answering with negation, the 2021 study observes that stratification, as used for Datalog, is not enough for existential rules, since existential rules still admit multiple universal models that can differ on negative queries (Ellmauthaler et al., 2021). That work therefore proposes universal core models as a basis for a meaningful non-monotonic semantics for queries with negation, and identifies affection-safe, core-safe, and effectively core-safe classes of queries that can be evaluated over restricted or oblivious chase results instead of explicit cores (Ellmauthaler et al., 2021). A plausible implication is that rule-level stratified negation and query-level negation over universal models raise distinct semantic issues, even when both are formulated over the same existential-rule base.
Second, for inconsistent ontologies under stable-model semantics, rule repair semantics selects preferred subsets of rules that still admit stable models. For R-acyclic existential rules with R-stratified or guarded existential rules with stratified negations, both the data complexity and combined complexity of query answering under rule repair semantics remain the same as under the conventional query answering semantics (Wan et al., 2016). The same work states that, for R-acyclic plus R-stratified negation and for the preference relations 31, data complexity is PTime-complete and combined complexity is 2ExpTime-complete (Wan et al., 2016).
The original 2014 framework also identifies several open problems: tight complexity classification of query answering under the new acyclic classes; logical foundations relating core-stable sets to classical first-order or circumscription-based semantics for general NME-rules; and possible further refinements combining unifier-blocking with argument-restrictions or chasing under equality (Baget et al., 2014). These problems remain structurally central because the subject sits at the intersection of ontological expressivity, chase termination, and nonmonotonic semantics.