pyhornedowl.open_ontology_from_string

pyhornedowl.open_ontology_from_string(ontology: str, serialization: Literal['owl', 'rdf', 'ofn', 'owx'] | None = None, index_strategy=IndexCreationStrategy.OnQuery) PyIndexedOntology

Opens an ontology from plain text.

If no serialization is specified, all parsers are tried until one succeeds