Stratified Negation in RDF Rules: A Correct Approach (Extended Version)
Nils Küchenmeister, Alex Ivliev, Dörthe Arndt, Markus Krötzsch
Abstract
Combining RDF rule languages, such as N3 or SHACL Rules, with default negation is challenging. Existing methods to stratify negation often fail for RDF rules, since individual triples do not carry enough information to meaningfully restrict potential dependencies. Blank nodes in rule heads further complicate the matter, since the order of rule applications may determine whether new values are created, which in turn can change the applicability of rules with negation. To solve these open problems, we propose chain stratification as a robust new condition that guarantees a well-behaved semantics for RDF rules with negation, and existential rules in general. Our condition combines an elaborate analysis of potential multistep derivations with a mechanism for using integrity constraints to discard impossible cases. Applying rules in any order that respects chain stratification is guaranteed to derive an RDF graph that is unique, lean, and justified under the usual negation-as-failure semantics. To show the practicality, we also provide a prototype implementation.
Create a lesson
Metadata
- Categories
- cs.LO, cs.AI, cs.DB
- Comments
- Technical report of our ISWC'26 paper
Related papers
Probabilistic Simple Types for Almost-Sure Termination (Extended Version)
Shared title terminologycs.LOUgo Dal Lago, Willem Heijltjes
Lexicographic Combination of Reduction Pairs (Extended Version)
Shared title terminologycs.LOTeppei Saito, Nao Hirokawa
Rewrite Once, Validate Anywhere: Producing OWL-Aware SHACL Constraints (Extended Version)
Shared title terminologycs.LOAnouk Oudshoorn, Piotr Gorczyca, Dörthe Arndt
Tensor Probabilistic Model Checking of Finite-Horizon Markov Chains (Extended Version)
Shared title terminologycs.LOJianlin Li, Nick Guo, Peter Ye et al.
Paraconsistent Semantics for Extended Fuzzy Logic Programs via Approximation Fixpoint Theory [Extended Version]
Shared title terminologycs.LOPascal Kettmann, Hannes Strass, Jesse Heyninck et al.
Hybrid MKNF with Classical Negation in the Rule Component
Shared title terminologycs.LOArun Raveendran Nair Sheela, Christophe Rey, Florence De Grancey