A SPARQL blank node (e.g. _:b0
).
A SPARQL blank node (e.g. `_:b0`).
(-format-bnode this)
Convert the blank node this
into its string representation.
Convert the blank node `this` into its string representation.
(-valid-bnode? this)
Return true
if this
is a valid blank node of its type.
Return `true` if `this` is a valid blank node of its type.
A SPARQL full IRI (e.g. <http://foo.org>
).
A SPARQL full IRI (e.g. `<http://foo.org>`).
(-format-iri this)
Convert the full IRI this
into its SPARQL string representation.
Convert the full IRI `this` into its SPARQL string representation.
(-unwrap-iri this)
Return the underlying IRI string of this
, without angle bracket
wrapping.
Return the underlying IRI string of `this`, without angle bracket wrapping.
(-valid-iri? this)
Return true
if this
is a valid full IRI of its type.
Return `true` if `this` is a valid full IRI of its type.
A SPARQL literal (e.g. "foo"
, "bar"@en
, 2
, and true
).
A SPARQL literal (e.g. `"foo"`, `"bar"@en`, `2`, and `true`).
(-format-literal this)
(-format-literal this opts)
Convert the literal this
into its string representation.
The opts
arg map is implementation-specific, but two common args
are :force-iri?
to force the appending of the datatype IRI suffix
and :iri-prefix-m
to map full datatype IRI strings to prefixes.
Convert the literal `this` into its string representation. The `opts` arg map is implementation-specific, but two common args are `:force-iri?` to force the appending of the datatype IRI suffix and `:iri-prefix-m` to map full datatype IRI strings to prefixes.
(-format-literal-lang-tag this)
Return the language tag string associated with this
literal.
Returns nil
if the literal does not have any language tags
or is a typed literal.
Return the language tag string associated with `this` literal. Returns `nil` if the literal does not have any language tags or is a typed literal.
(-format-literal-strval this)
Return the string value reprentation of this
literal.
Return the string value reprentation of `this` literal.
(-format-literal-url this)
(-format-literal-url this opts)
Return the RDF datatype URL associated with this
literal.
The opts
arg map is implementation-specific, but a common arg is
:iri-prefix-m
to map full datatype IRI strings to prefixes.
Return the RDF datatype URL associated with `this` literal. The `opts` arg map is implementation-specific, but a common arg is `:iri-prefix-m` to map full datatype IRI strings to prefixes.
(-valid-literal? this)
Return true
if this
is a valid literal of its type.
Return `true` if `this` is a valid literal of its type.
A SPARQL prefix (e.g. foo
in PREFIX foo
).
A SPARQL prefix (e.g. `foo` in `PREFIX foo`).
(-format-prefix this)
Convert the prefix this
into its string representation.
Convert the prefix `this` into its string representation.
(-valid-prefix? this)
Return true
if this
is a valid prefix of its type.
Return `true` if `this` is a valid prefix of its type.
A SPARQL prefixed IRI (e.g. foo:bar
).
A SPARQL prefixed IRI (e.g. `foo:bar`).
(-format-prefix-iri this)
Convert the prefixed IRI this
into its string representation.
Convert the prefixed IRI `this` into its string representation.
(-valid-prefix-iri? this)
Return true
if this
is a valid prefixed IRI of its type.
Return `true` if `this` is a valid prefixed IRI of its type.
A SPARQL shorthand for rdf:type
(i.e. a
).
A SPARQL shorthand for `rdf:type` (i.e. `a`).
(-format-rdf-type this)
Convert the rdf:type
shorthand this
into its string representation.
Convert the `rdf:type` shorthand `this` into its string representation.
(-valid-rdf-type? this)
Return true
if this
is a valid rdf:type
shorthand.
Return `true` if `this` is a valid `rdf:type` shorthand.
A SPARQL variable (e.g. ?var
).
A SPARQL variable (e.g. `?var`).
(-format-variable this)
Convert the variable this
into its string representation.
Convert the variable `this` into its string representation.
(-valid-variable? this)
Return true
if this
is a valid variable of its type.
Return `true` if `this` is a valid variable of its type.
A SPARQL wildcard representation (i.e. *
).
A SPARQL wildcard representation (i.e. `*`).
(-format-wildcard this)
Convert the wildcard this
into its string representation.
Convert the wildcard `this` into its string representation.
(-valid-wildcard? this)
Return true
if this
is a valid wildcard.
Return `true` if `this` is a valid wildcard.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close