open_ontology_from_string¶
- pyhornedowl.open_ontology_from_string(ontology: str, serialization: Literal2['owl', 'rdf', 'ofn', 'owx', 'omn', 'obo'] | None = None, index_strategy: IndexCreationStrategy = ...) Ontology¶
Opens an ontology from plain text.
If no serialization is specified, it is detected from the content. Raises ValueError if it cannot be detected.