Liking cljdoc? Tell your friends :D

com.yetanalytics.flint.axiom.protocol


BlankNodeclj/sprotocol

A SPARQL blank node (e.g. _:b0).

A SPARQL blank node (e.g. `_:b0`).

-format-bnodeclj/s

(-format-bnode this)

Convert the blank node this into its string representation.

Convert the blank node `this` into its string representation.

-valid-bnode?clj/s

(-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.
sourceraw docstring

IRIclj/sprotocol

A SPARQL full IRI (e.g. <http://foo.org>).

A SPARQL full IRI (e.g. `<http://foo.org>`).

-format-iriclj/s

(-format-iri this)

Convert the full IRI this into its SPARQL string representation.

Convert the full IRI `this` into its SPARQL string representation.

-unwrap-iriclj/s

(-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?clj/s

(-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.
sourceraw docstring

Literalclj/sprotocol

A SPARQL literal (e.g. "foo", "bar"@en, 2, and true).

A SPARQL literal (e.g. `"foo"`, `"bar"@en`, `2`, and `true`).

-format-literalclj/s

(-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-tagclj/s

(-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-strvalclj/s

(-format-literal-strval this)

Return the string value reprentation of this literal.

Return the string value reprentation of `this` literal.

-format-literal-urlclj/s

(-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?clj/s

(-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.
sourceraw docstring

Prefixclj/sprotocol

A SPARQL prefix (e.g. foo in PREFIX foo).

A SPARQL prefix (e.g. `foo` in `PREFIX foo`).

-format-prefixclj/s

(-format-prefix this)

Convert the prefix this into its string representation.

Convert the prefix `this` into its string representation.

-valid-prefix?clj/s

(-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.
sourceraw docstring

PrefixedIRIclj/sprotocol

A SPARQL prefixed IRI (e.g. foo:bar).

A SPARQL prefixed IRI (e.g. `foo:bar`).

-format-prefix-iriclj/s

(-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?clj/s

(-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.
sourceraw docstring

RDFTypeclj/sprotocol

A SPARQL shorthand for rdf:type (i.e. a).

A SPARQL shorthand for `rdf:type` (i.e. `a`).

-format-rdf-typeclj/s

(-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?clj/s

(-valid-rdf-type? this)

Return true if this is a valid rdf:type shorthand.

Return `true` if `this` is a valid `rdf:type` shorthand.
sourceraw docstring

Variableclj/sprotocol

A SPARQL variable (e.g. ?var).

A SPARQL variable (e.g. `?var`).

-format-variableclj/s

(-format-variable this)

Convert the variable this into its string representation.

Convert the variable `this` into its string representation.

-valid-variable?clj/s

(-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.
sourceraw docstring

Wildcardclj/sprotocol

A SPARQL wildcard representation (i.e. *).

A SPARQL wildcard representation (i.e. `*`).

-format-wildcardclj/s

(-format-wildcard this)

Convert the wildcard this into its string representation.

Convert the wildcard `this` into its string representation.

-valid-wildcard?clj/s

(-valid-wildcard? this)

Return true if this is a valid wildcard.

Return `true` if `this` is a valid wildcard.
sourceraw docstring

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

× close