Liking cljdoc? Tell your friends :D

grafter.rdf.formats

Symbols used to specify different Linked Data Serializations.

Symbols used to specify different Linked Data Serializations.
raw docstring

->rdf-formatcljmultimethod

Extensible multi-method that coerces mime-type strings, or strings or keys representing file extensions for RDF types into RDFFormat objects for use with Sesame.

e.g. it can coerce :nt, "nt" or "application/n-triples" into the appropriate RDFFormat object.

Extensible multi-method that coerces mime-type strings, or strings
or keys representing file extensions for RDF types into RDFFormat
objects for use with Sesame.

e.g. it can coerce :nt, "nt" or "application/n-triples" into the
appropriate RDFFormat object.
raw docstring

def-formatcljmacro

(def-format sym docstr format)

Define a bunch of format coercions from mime-type and file extension to RDFFormat. This macro inspects the RDFFormat object it is given and generates appropriate multi-methods to do the coercion for you.

If you want to define new coercions custom coercions (not baked into sesame) you can extend the ->rdf-format multimethod directly.

Define a bunch of format coercions from mime-type and file
extension to RDFFormat.  This macro inspects the RDFFormat object it
is given and generates appropriate multi-methods to do the coercion
for you.

If you want to define new coercions custom coercions (not baked into
sesame) you can extend the ->rdf-format multimethod directly.
raw docstring

filename->rdf-formatclj

(filename->rdf-format fname)

Given a filename we attempt to return an appropriate RDFFormat object based on the files extension.

Given a filename we attempt to return an appropriate RDFFormat
object based on the files extension.
raw docstring

mimetype->rdf-formatcljmultimethod

Extensible multimethod that accepts a mime-type string and returns the appropriate sesame RDFFormat object.

NOTE: the ->rdf-format function also uses this, and supports both mime-types and file extensions.

Extensible multimethod that accepts a mime-type string and returns
the appropriate sesame RDFFormat object.

NOTE: the ->rdf-format function also uses this, and supports both
mime-types and file extensions.
raw docstring

rdf-binarycljdeprecated

Deprecated. 0.8.0: Sesame's Binary RDFFormat

Deprecated. 0.8.0: Sesame's Binary RDFFormat
raw docstring

rdf-format->parsercljmultimethod


rdf-jsoncljdeprecated

Deprecated. JSON RDF Format

Deprecated. JSON RDF Format
raw docstring

rdf-jsonldcljdeprecated

Deprecated. JSONLD RDF Format

Deprecated. JSONLD RDF Format
raw docstring

rdf-n3cljdeprecated

Deprecated. N3 RDF Format

Deprecated. N3 RDF Format
raw docstring

rdf-nquadscljdeprecated

Deprecated. NQuads RDFFormat

Deprecated. NQuads RDFFormat
raw docstring

rdf-ntriplescljdeprecated

Deprecated. NTriples RDFFormat

Deprecated. NTriples RDFFormat
raw docstring

rdf-trigcljdeprecated

Deprecated. Trig RDFFormat

Deprecated. Trig RDFFormat
raw docstring

rdf-trixcljdeprecated

Deprecated. Trix RDFFormat

Deprecated. Trix RDFFormat
raw docstring

rdf-turtlecljdeprecated

Deprecated. Turtle RDFFormat

Deprecated. Turtle RDFFormat
raw docstring

rdf-xmlcljdeprecated

Deprecated. RDF-XML RDFFormat

Deprecated. RDF-XML RDFFormat
raw docstring

url->rdf-formatclj

(url->rdf-format url)

Parse a URL for the file extension of its last path segment, ignoring query string and other URL parts.

Parse a URL for the file extension of its last path segment,
ignoring query string and other URL parts.
raw docstring

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

× close