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 emitsh:NodeShapegraphs for the Webizen Sentinel, preserving the agency invariant (aq42:Principalmay haveq42:Thingpossessions 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 definesowl:Thingas the universal domain of all individuals admitted into an OWL interpretation, nodes inD_living(self:HumanBeing,values:NaturalPerson,idf:NaturalAgent,idf:LivingFloraFauna) are evaluated strictly underN3Logic/living-SHACLand 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§
- Domain
Partition - Partition of the semantic domain
D = D_living ⊔ D_artifact. - OwlDomain
Boundary Error - Routing boundary rejection when
D_livingnodes orowl:Thingsubsumptions 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_artifactbefore running the OWL 2 RL artifact reasoner. - is_
living_ domain_ class - True iff
class_hashnames aD_livingclass (self:HumanBeing,values:NaturalPerson,idf:NaturalAgent, oridf:LivingFloraFauna).