Skip to main content

Module owl

Module owl 

Source
Expand description

OWL support for QualiaDB.

Two distinct concerns, one per submodule, plus the disjoint domain boundary guard (D = D_living ⊔ D_artifact, Playbook v4 §6.2.2):

  • shacl_convert — vocabulary lowering: parse OWL (RadLex/DICOM healthcare ontologies in RDF/XML, Turtle, or N3) and emit sh:NodeShape graphs for the Webizen Sentinel, preserving the agency invariant (a q42:Principal may have q42:Thing possessions but is never itself a Thing).
  • materialize — reasoning: OWL 2 RL forward-chaining entailment closure over NQuin-style triples (zero-heap, datalog-style fixpoint), with disjointness contradiction isolation and property-chain unrolling.
  • Disjoint Domain Partition (D = D_living ⊔ D_artifact): Because W3C OWL 2 Direct Semantics defines owl:Thing as the universal domain of all individuals admitted into an OWL interpretation, nodes in D_living (self:HumanBeing, values:NaturalPerson, idf:NaturalAgent, idf:LivingFloraFauna) are evaluated strictly under N3Logic / living-SHACL and rejected at the evaluator routing boundary if routed into the OWL 2 artifact reasoner.

The public surface of both submodules is re-exported here so the historical module path crate::modalities::logic::owl::* is preserved.

Re-exports§

pub use materialize::*;
pub use shacl_convert::*;

Modules§

materialize
OWL 2 RL forward-chaining materialization over NQuin-style triples.
shacl_convert
OWL → SHACL conversion for QualiaDB ontology alignment.

Enums§

DomainPartition
Partition of the semantic domain D = D_living ⊔ D_artifact.
OwlDomainBoundaryError
Routing boundary rejection when D_living nodes or owl:Thing subsumptions are routed into the OWL 2 artifact reasoner.

Constants§

IDF_LIVING_FLORA_FAUNA
IDF_LIVING_FLORA_FAUNA_CURIE
IDF_NATURAL_AGENT
IDF_NATURAL_AGENT_CURIE
OWL_THING
OWL_THING_CURIE
SELF_HUMAN_BEING
SELF_HUMAN_BEING_CURIE
VALUES_NATURAL_PERSON
VALUES_NATURAL_PERSON_CURIE

Functions§

enforce_disjoint_artifact_domain
Enforce D = D_living ⊔ D_artifact before running the OWL 2 RL artifact reasoner.
is_living_domain_class
True iff class_hash names a D_living class (self:HumanBeing, values:NaturalPerson, idf:NaturalAgent, or idf:LivingFloraFauna).