get_primary_identifier
- get_primary_identifier(reference, /, **kwargs)[source]
Get the primary identifier for an entity.
- Parameters:
reference (str | Reference | ReferenceTuple) – The name of the resource
kwargs (Unpack[GetOntologyKwargs])
- Returns:
the canonical identifier based on alt id lookup
- Return type:
Returns the original identifier if there are no alts available or if there’s no mapping.