build_lookup
: Creates a lookup from the ontologyrefresh_lookup
: Updates lookup with the latest ontology changesfind_closest_match
: Finds the closest ontology node to the parameter (entity — individual, entity_type — class)get_subgraph
: Collects the subgraph starting from the closest ontology node matchOntologyResolver
class, and merges the structure of the matching ontology subgraphs with the LLM generated structures.