get_default_iri
- get_default_iri(prefix: str, identifier: str) str | None [source]
Get the default URL for the given CURIE.
- Parameters:
prefix – The prefix in the CURIE
identifier – The identifier in the CURIE
- Returns:
A IRI string corresponding to the default provider, if available.
>>> get_default_iri('chebi', '24867') 'https://www.ebi.ac.uk/chebi/searchId.do?chebiId=CHEBI:24867'