get_bioportal_iri

get_bioportal_iri(prefix, identifier)[source]

Get the Bioportal 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 link to the Bioportal page

>>> get_bioportal_iri('chebi', '24431')
'https://bioportal.bioontology.org/ontologies/CHEBI/?p=classes&conceptid=http://purl.obolibrary.org/obo/CHEBI_24431'