Engine PackageΒΆ

The rdflib-reasoning-engine package provides the RDFLib-integrated reasoning core. Its current baseline centers on RDFLib-backed fixed-point materialization, dependency-aware retraction, contradiction diagnostics when contradiction rules are enabled, derivation logging, and RDFS plus OWL 2 RL rule support.

Use this package when you need:

  • forward-chaining rule execution over RDFLib-backed data;

  • RDFS or OWL 2 RL entailment support;

  • statement retraction through ordinary RDFLib Graph.remove(...) calls;

  • contradiction diagnostics through enabled OWL 2 RL contradiction rules or custom rules using ContradictionConsequent;

  • proof and derivation reconstruction primitives;

  • RDF 1.1 triple well-formedness enforcement at the engine boundary.

For a quick tour of the direct engine surface, see:

For focused tasks, see:

For conceptual background, see:

For generated API docs, see engine.