get_n2t_iri

get_n2t_iri(prefix, identifier)[source]

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

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