open_ontology_from_file¶
- pyhornedowl.open_ontology_from_file(path: str, serialization: Literal2['owl', 'rdf', 'ofn', 'owx', 'omn', 'obo'] | None = None, index_strategy: IndexCreationStrategy = ...) Ontology¶
Opens an ontology from a file
If the serialization is not specified it is guessed from the file extension. Defaults to OWL/XML.