API Reference
Idiomatic conversion between URIs and compact URIs (CURIEs).
Functions
|
Chain several converters. |
|
Apply CURIE prefix remappings. |
|
Apply URI prefix remappings. |
|
Apply URI prefix upgrades. |
|
Convert a (potentially problematic) prefix map (i.e., not bijective) into a list of records. |
Get the |
|
|
Get a converter from a simple prefix map. |
|
Get a converter from a list of dictionaries by creating records out of them. |
|
Get a converter from a JSON-LD object, which contains a prefix map in its |
|
Get a converter from a JSON-LD object, which contains a prefix map in its |
|
Write an extended prefix map as JSON to a file. |
|
Write the converter's bijective map as a JSON-LD context to a file. |
|
Write the converter's bijective map as SHACL in turtle RDF to a file. |
|
Write a simple prefix map CSV file. |
Get the latest OBO Foundry context. |
|
Get a Prefix Commons-maintained context. |
|
Get the Prefix Commons-maintained Monarch context. |
|
Get the Prefix Commons-maintained GO context. |
|
|
Get the latest extended prefix map from the Bioregistry [hoyt2022]. |
|
Discover new URI prefixes and construct a converter with a unique dummy CURIE prefix for each. |
|
Discover new URI prefixes from RDF content via |
Classes
|
A cached prefix map data structure. |
|
A record of some prefixes and their associated URI prefixes. |
|
A list of records. |
|
A pair of a prefix (corresponding to a semantic space) and a local unique identifier in that semantic space. |
|
A reference to an entity in a given identifier space. |
|
A reference with a name. |
|
An error raised with constructing a converter with data containing duplicate values. |
|
An error raised with constructing a converter with data containing duplicate URI prefixes. |
|
An error raised with constructing a converter with data containing duplicate prefixes. |