pyhornedowl

Functions

get_ancestors

@deprecated("please use PyIndexedOntology.get_ancestors instead") get_ancestors(onto: PyIndexedOntology, child: str) -> Set[str]

get_descendants

@deprecated("please use PyIndexedOntology.get_descendants instead") get_descendants(onto: PyIndexedOntology, parent: str) -> Set[str]

open_ontology

Opens an ontology from a path or plain text.

open_ontology_from_file

Opens an ontology from a file

open_ontology_from_string

Opens an ontology from plain text.

Classes

IndexCreationStrategy

Values to indicate when to build the additional indexes.

PrefixMapping

PyIndexedOntology

Represents a loaded ontology.

Module aliases