Liking cljdoc? Tell your friends :D

sparclj.core


ask-queryclj

(ask-query endpoint query)

Execute SPARQL ASK query on endpoint.

Execute SPARQL ASK `query` on `endpoint`.
sourceraw docstring

construct-queryclj

(construct-query endpoint
                 query
                 &
                 {:sparclj.core/keys [accept] :or {accept "text/turtle"}})

Execute SPARQL CONSTRUCT or DESCRIBE query on endpoint.

Execute SPARQL CONSTRUCT or DESCRIBE `query` on `endpoint`.
sourceraw docstring

format-bindingcljmultimethod

Format a SPARQL variable binding

Format a SPARQL variable binding
sourceraw docstring

format-literalcljmultimethod

Format a SPARQL result literal

Format a SPARQL result literal
sourceraw docstring

get-bindingclj

(get-binding result)

Get binding from result.

Get binding from `result`.
sourceraw docstring

init-endpointclj

(init-endpoint {:sparclj.core/keys [auth url] :as endpoint})

Initialize SPARQL endpoint to test if it is up and accessible.

Initialize SPARQL endpoint to test if it is up and accessible.
sourceraw docstring

render-templateclj

(render-template template data)

Render a Mustache template using data.

Render a Mustache template using data.
sourceraw docstring

select-pagedclj

(select-paged {:sparclj.core/keys [page-size] :as endpoint}
              get-query-fn
              &
              {:sparclj.core/keys [parallel? start-from]})

Lazily execute paged SPARQL SELECT queries that are rendered from get-query-fn, which is passed page-size (LIMIT) and increasing OFFSET as [page-size offset]. Queries will be executed in parallel if the ::parallel? parameter is set to true. Can start from the offset given by ::start-from (default = 0).

Lazily execute paged SPARQL SELECT queries that are rendered from `get-query-fn`,
which is passed `page-size` (LIMIT) and increasing OFFSET as [page-size offset].
Queries will be executed in parallel if the ::parallel? parameter is set to true.
Can start from the offset given by ::start-from (default = 0).
sourceraw docstring

select-querycljmultimethod

Execute SPARQL SELECT query on endpoint.

Execute SPARQL SELECT `query` on `endpoint`.
sourceraw docstring

select-templateclj

(select-template endpoint template)
(select-template endpoint template data)

Execute SPARQL SELECT query rendered from Mustache template file using data.

Execute SPARQL SELECT query rendered from Mustache `template` file using `data`.
sourceraw docstring

sparql-xml-mimeclj

source

update-operationclj

(update-operation endpoint operation)

Execute SPARQL Update operation on endpoint.

Execute SPARQL Update `operation` on `endpoint`.
sourceraw docstring

xml-schema->data-typeclj

(xml-schema->data-type data-type)

Coerce a XML Schema data-type.

Coerce a XML Schema `data-type`.
sourceraw docstring

xsd-nsclj

source

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

× close