Expand description
Catalog ontology download → .q42 import pipeline (in-process, no subprocess).
Mirrors qualia-cli resources import-ontology but writes under {storage}/Index/.
After a successful compile the raw RDF/OWL source file is removed by default so only
{ontology_id}.q42 (+ .q42.meta.json sidecar) remain under Index/.
Structs§
- Import
Progress Ctx - Optional download/import progress sink (shared with LLM Hub via
get_active_downloads). - Ontology
Import Result
Enums§
Functions§
- import_
catalog_ ontology - Download a catalog ontology and compile it to
.q42under{storage}/Index/. - import_
catalog_ ontology_ with_ options - Download + compile with optional progress reporting and post-ingest source cleanup.
- index_
dir - ingest_
local_ rdf - Ingest a local RDF file into
{storage}/Index/{ontology_id}.q42. - stream_
download - stream_
download_ with_ progress