Stratified Negation in RDF Rules: A Correct Approach (Extended Version)

Nils Küchenmeister, Alex Ivliev, Dörthe Arndt, Markus Krötzsch
7/30/2026
cs.LOcs.AIcs.DB

No confident code implementation found for this paper.

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.

Show full abstract

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.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{kchenmeister2026stratified,
  title  = {Stratified Negation in RDF Rules: A Correct Approach (Extended Version)},
  author = {Nils Küchenmeister and Alex Ivliev and Dörthe Arndt and Markus Krötzsch},
  year   = {2026},
  eprint = {2607.28778},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2607.28778v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2607.28778.svg)](https://codeofpaper.com/paper/2607.28778)

Discussion