Skip to main content

emit_ontology

Function emit_ontology 

Source
pub fn emit_ontology(
    concepts: &[OntologyConcept],
    hier: &Bp3dHierarchy,
    isa: &HashMap<String, String>,
) -> (Vec<NQuin>, HashMap<u64, String>)
Expand description

Emit the ontology graph (quins + object-lexicon) for a set of meshed concepts. The concepts’ is-a (isa) and part-of (hier) come from the BodyParts3D tables; each concept’s OBO IRI is the canonical identity, with q42:/geo: aliases emitted alongside.