ground

ground(prefix: str | Iterable[str], query: str, *, strict_match: Literal[True] = False, **kwargs: Unpack[GetOntologyKwargs]) NormalizedNamableReference[source]
ground(prefix: str | Iterable[str], query: str, *, strict_match: Literal[False] = False, **kwargs: Unpack[GetOntologyKwargs]) NormalizedNamableReference | None

Normalize a string given the prefix’s labels and synonyms.

Parameters:
  • prefix – If a string, only grounds against that namespace. If a list, will try grounding against all in that order

  • query – The string to try grounding