Retrieves the IRI of a namespace.
Returns the absolute IRI the namespace was created with, which prefixes every term it mints. The accessor offers a named alternative to the empty string key (namespace[""]), returning the same IRI under a self-describing call.
namespace[""]
The namespace to retrieve the IRI from
The absolute IRI of namespace
namespace
getNamespaceIRI(base); // "base:/#"getNamespaceIRI(createNamespace("urn:example:")); // "urn:example:" Copy
getNamespaceIRI(base); // "base:/#"getNamespaceIRI(createNamespace("urn:example:")); // "urn:example:"
Retrieves the IRI of a namespace.
Returns the absolute IRI the namespace was created with, which prefixes every term it mints. The accessor offers a named alternative to the empty string key (
namespace[""]), returning the same IRI under a self-describing call.