Expand description
Startup ontology loader โ parses bundled Turtle/N-Triples ontology files into NQuins and seeds the daemon graph at startup.
Ontology files are resolved in priority order:
$QUALIA_ONTOLOGY_PATH/environment variable if setontologies/relative to the current working directory (dev / workspace layout)- Alongside the binary:
<exe-dir>/ontologies/
Any file that cannot be read or parsed emits a log warning and is skipped โ the daemon starts successfully even if ontology files are absent.
Functionsยง
- load_
q42_ file - Load a unified
.q42volume ontology file. - load_
startup_ ontologies - Load all startup ontologies into the daemon graph.
- ontology_
dir_ path - Resolved ontologies directory, if present on disk.
- parse_
ttl_ to_ quins - Parse a single Turtle file into NQuins, all placed in
graph_context. - startup_
ontology_ catalog - Startup ontology catalog:
(filename, named_graph_context_hash).