Focused N3 + SHACL demos. For all 21 logic modalities see Modalities Observatory.
Open full Modalities ObservatoryStrict, defeasible, defeater, and linear rule types parsed by n3_parser.rs and compiled to Webizen norms.
shacl_compiler.rs emits CheckNodeShape, datatype checks, and Qualia extension opcodes executed in the Webizen VM.
Obligate / permit / forbid norms with DEFEATER_BIT and temporal expiry — guardianship and NDA shapes in deontic_logic.rs.
Knowledge, belief, and common-knowledge opcodes plus ACT-R chunk retrieval shapes for neuro-symbolic governance.
; awaiting N3 input…
WASM path exercises ShaclCompiler::compile + numeric evaluation for standard SHACL facets.
@prefix sh: <http://www.w3.org/ns/shacl#> .
@prefix q42: <https://webizen.org/q42#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
q42:AdultShape a sh:NodeShape ;
sh:targetClass q42:Person ;
sh:property [
sh:path q42:age ;
sh:datatype xsd:integer ;
sh:minInclusive 18 ;
sh:maxInclusive 120 ;
] ;
sh:property [
sh:path q42:obligated ;
sh:minCount 1 ;
sh:severity sh:Violation ;
] .
Full shape enforcement runs on the native daemon after ingest. Browser WASM validates individual constraint facets.
Documentation: SHACL coverage summary · Client extensions · Library shapes · Extension vocabulary · WASM test suite
Native daemon: qualia-cli daemon --dev → shape validation on ingested graphs via POST :4242/query and orchestrator pre/post-flight gates.