Liking cljdoc? Tell your friends :D

quoll.rdf

RDF datatypes

RDF datatypes
raw docstring

as-strclj/s

(as-str u)

Returns the string form of an IRI, not the serialization form. This means that the raw IRI is returned, and not an abbreviated form, nor is it wrapped in angle brackets.

Returns the string form of an IRI, not the serialization form.
This means that the raw IRI is returned, and not an abbreviated form, nor is it wrapped in angle brackets.
raw docstring

blank-nodeclj/s

(blank-node)
(blank-node label)

Create a blank node, using an optional label. The same label will always return the same blank node.

Create a blank node, using an optional label. The same label will always return the same blank node.
raw docstring

common-prefixesclj/s

Common prefixes used in many datasets

Common prefixes used in many datasets
raw docstring

curieclj/s

(curie kw)
(curie context kw)
(curie context prefix local)

Create an IRI in Compact URI form, based on a keyword namespace/name. Since IRIs must always have the full form available then the IRI must appear in a common namespace, or else a context map containing the prefix must be provided.

Create an IRI in Compact URI form, based on a keyword namespace/name.
Since IRIs must always have the full form available then the IRI must appear in a common namespace,
or else a context map containing the prefix must be provided.
raw docstring

echar-mapclj/s


FIRSTclj/s


iriclj/s

(iri i)
(iri i kw)
(iri i p l)

Create an iri. If no prefix/namespace is available, then the prefix and local values may be nil. The full form of the IRI must always be available. (iri i): uses i as a full IRI string. Prefix and local are nil. (iri ctx p l): ctx is a map of prefixes as keywords to namespace strings. p and l are the prefix and local values for the iri. The keyword for p must appear as a key in the ctx map. (iri i p l): i is the full IRI string for the IRI, and p and l are the prefix:local pair for the CURIE form. l must match the tail of the IRI.

Create an iri. If no prefix/namespace is available, then the prefix and local values may be nil.
The full form of the IRI must always be available.
(iri i): uses i as a full IRI string. Prefix and local are nil.
(iri ctx p l): ctx is a map of prefixes as keywords to namespace strings.
               p and l are the prefix and local values for the iri.
               The keyword for p must appear as a key in the ctx map.
(iri i p l): i is the full IRI string for the IRI, and p and l are the
             prefix:local pair for the CURIE form. l must match the tail of the IRI.
raw docstring

known-typesclj/s


lang-literalclj/s

(lang-literal value lang)

Create a language coded literal. e.g. 'data'@en

Create a language coded literal. e.g. 'data'@en
raw docstring

NILclj/s


Nodeclj/sprotocol

blank?clj/s

(blank? this)

Returns true if the node is a blank node

Returns true if the node is a blank node

get-typeclj/s

(get-type this)

Returns a keyword indicating the type of the node.

Returns a keyword indicating the type of the node.

iri?clj/s

(iri? this)

Returns true if the node is an iri

Returns true if the node is an iri

lang-literal?clj/s

(lang-literal? this)

Returns true if the node is a language coded literal

Returns true if the node is a language coded literal

literal?clj/s

(literal? this)

Returns true if the node is a literal

Returns true if the node is a literal

typed-literal?clj/s

(typed-literal? this)

Returns true if the node is a typed literal

Returns true if the node is a typed literal

(print-escape s)

Escapes a string for printing

Escapes a string for printing
raw docstring

RDF-FIRSTclj/s


RDF-LANGSTRINGclj/s


RDF-NILclj/s


RDF-RESTclj/s


RDF-TYPEclj/s


RESTclj/s


to-cljclj/s

(to-clj {:keys [value datatype] :as literal})

Converts an RDF Literal with a datatype into a native Clojure value

Converts an RDF Literal with a datatype into a native Clojure value
raw docstring

TYPEclj/s


typed-literalclj/s

(typed-literal value)
(typed-literal value datatype)

Converts a Clojure value into an RDF Literal. The datatype will be inferred if none is available.

Converts a Clojure value into an RDF Literal. The datatype will be inferred if none is available.
raw docstring

unsafe-blank-nodeclj/s

(unsafe-blank-node label)

Return a new blank node object for a provided label. Reuse of a label will return a new blank node. This is for code that needs to manage its own blank node allocation.

Return a new blank node object for a provided label. Reuse of a label *will* return a new blank node.
This is for code that needs to manage its own blank node allocation.
raw docstring

xsdclj/s


XSD-ANYURIclj/s


XSD-BOOLEANclj/s


XSD-DATETIMEclj/s


XSD-FLOATclj/s


XSD-INTEGERclj/s


XSD-LONGclj/s


XSD-QNAMEclj/s


XSD-STRINGclj/s

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close