Skip to main content

load_owx_text

Function load_owx_text 

Source
pub fn load_owx_text(
    path: &Path,
    ontology_id: &str,
    source_text: &str,
    namespaces: &BTreeMap<String, String>,
) -> Result<OwlLoadResult>
Expand description

Load OWL/XML (.owx) source via Horned-OWL.

Horned’s OWX reader does not expose RDF IncompleteParse. After a successful OWX load we project the ontology to RDF for the SPARQL store and propagate incompleteness from that RDF round-trip (analogous to Turtle load_from_quads).