Tools for mapping between IRIs and keywords
Tools for mapping between IRIs and keywords
(add-alias registry prevent-overrides? kw iri)
(add-prefix registry prevent-overrides? namespace prefix)
Return an updated registry map with the given prefix mapping.
Return an updated registry map with the given prefix mapping.
(alias kw iri)
Register a mapping between a keyword and a specific IRI
Register a mapping between a keyword and a specific IRI
(install-prefix prefix)
Install a prefix in the thread-local data reader
Install a prefix in the thread-local data reader
(iri kw)
Given a keyword, build a corresponding IRI, throwing an exception if this is not possible.
Given a keyword, build a corresponding IRI, throwing an exception if this is not possible.
(kw iri)
Return a keyword representing the given IRI. Returns nil if no matching keyword or namespace could be found in the registry.
Return a keyword representing the given IRI. Returns nil if no matching keyword or namespace could be found in the registry.
(prefix namespace iri-prefix)
Register a namespace as an RDF IRI prefix.
Register a namespace as an RDF IRI prefix.
(read-prefix [prefix iri])
Constructor for a prefix, called by data reader.
Constructor for a prefix, called by data reader.
(with prefix-map & body)
Execute the supplied function with the specified prefix map in the thread-local registry
Execute the supplied function with the specified prefix map in the thread-local registry
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close