get_bioportal_iri

get_bioportal_iri(prefix: str, identifier: str) str | None[source]

Get the Bioportal URL for the given CURIE.

Parameters:
  • prefix – The prefix in the CURIE

  • identifier – The identifier in the CURIE

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'