get_n2t_iri

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

Get the name-to-thing 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 N2T resolve, if the prefix exists and is mapped to N2T.

>>> get_n2t_iri('chebi', '24867')
'https://n2t.net/chebi:24867'