get_default_iri

get_default_iri(prefix, identifier)[source]

Get the default URL for the given CURIE.

Parameters
  • prefix (str) – The prefix in the CURIE

  • identifier (str) – The identifier in the CURIE

Return type

Optional[str]

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'