Expand description
Epistemic Ontology Substrate: Open English WordNet (OEWN) & CILI Integration
Provides zero-heap, ontologically grounded epistemic stances for QualiaDB assertions, sessions, and reasoning frames. Replaces ad-hoc string enums with formal RDF synsets from Open English WordNet (OEWN 2025-plus) and the Collaborative Interlingual Index (CILI).
Architectural Invariants:
- Tier-1 zero-heap evaluator loops: Caller supplies fixed-size
&mut [T]output buffers. - 60-bit token space: All synset and CILI tokens fit into the 60-bit payload of
NQuin. - Hierarchical subsumption: Integrates with
modalities::dl::check_subsumption_quinto resolve hypernym/hyponym trees (e.g. conjecture ⊑ hypothesis).
Structs§
- Epistemic
Stance Record - Zero-copy representation of an evaluated epistemic stance.
Enums§
Constants§
- CILI_
CIVICS - CILI i69420: Language-independent civics concept.
- CILI_
CONJECTURE - CILI i68345: Language-independent conjecture concept.
- CILI_
FACT - CILI i68339: Language-independent fact concept.
- CILI_
FICTION - CILI i71201: Language-independent fiction concept.
- CILI_
HYPOTHESIS - CILI i68341: Language-independent hypothesis concept.
- CILI_
OBSERVATION - CILI i70110: Language-independent observation concept.
- CILI_
SIMULATION - CILI i68212: Language-independent simulation concept.
- PRED_
CILI_ CONCEPT q42:hasCiliConcept— Links a stance to a language-independent CILI concept ID.- PRED_
EPISTEMIC_ STANCE q42:hasEpistemicStance— Links an assertion, statement, or session to a synset stance.- PRED_
SUB_ CLASS_ OF rdfs:subClassOf— Standard subsumption / hypernym relationship.- PRED_
WN_ HYPERNYM wn:hypernym— WordNet lexical hypernym relation.- PRED_
WORDNET_ SYNSET q42:hasWordNetSynset— Links a concept to an explicit OEWN synset URI.- SYNSET_
BELIEF synset-belief-noun-1: Doxastic belief without definitive proof.- SYNSET_
CIVICS synset-civics-noun-1: Social commons, participatory governance, civic duty.- SYNSET_
CONJECTURE synset-conjecture-noun-1: Mathematical/logical conjecture, speculation without proof.- SYNSET_
COUNTERFACTUAL synset-counterfactual_conditional-noun-1: Thought experiment, counter-to-fact inquiry.- SYNSET_
FACT synset-fact-noun-1: Empirical observation, objective reality, ground truth.- SYNSET_
FICTION synset-fiction-noun-1: Speculative narrative, literary worldbuilding, fictional world.- SYNSET_
HYPOTHESIS synset-hypothesis-noun-1: Tentative proposition, testable scientific supposition.- SYNSET_
KNOWLEDGE synset-knowledge-noun-1: Justified, verified true belief / confirmed knowledge.- SYNSET_
OBSERVATION synset-observation-noun-1: Sensory datum, empirical field observation.- SYNSET_
SIMULATION synset-simulation-noun-1: Computational representation, physical digital twin model.
Functions§
- compile_
epistemic_ stance_ quin - Synthesizes a valid zero-allocation
NQuinencoding an epistemic stance assertion. - evaluate_
epistemic_ stances - Evaluates a slice of input
NQuinstatements against an expected epistemic stance. - is_
epistemic_ subsumed - Verifies whether an active stance synset matches or is subsumed by an expected category synset.
- lookup_
epistemic_ lemma - Resolves a localized lemma for a given CILI concept token. Supports English (“en”), Spanish (“es”), French (“fr”), and German (“de”). Completely zero-heap, compile-time static lookup.
- parse_
epistemic_ mode_ to_ synset - Parses an epistemic mode string (e.g. legacy descriptors or configs) into its canonical OEWN synset token. Completely zero-heap matching over static string slices.
- synset_
to_ canonical_ label - Maps a canonical synset token to its primary English canonical display label.
- synset_
to_ cili - Resolves the canonical CILI concept identifier for a known OEWN synset token. Pure, deterministic, zero-heap mapping.