(ask-query endpoint query)
Execute SPARQL ASK query
on endpoint
.
Execute SPARQL ASK `query` on `endpoint`.
(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`.
Format a SPARQL variable binding
Format a SPARQL variable binding
Format a SPARQL result literal
Format a SPARQL result literal
(get-binding result)
Get binding from result
.
Get binding from `result`.
(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.
(render-template template data)
Render a Mustache template using data.
Render a Mustache template using data.
(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).
Execute SPARQL SELECT query
on endpoint
.
Execute SPARQL SELECT `query` on `endpoint`.
(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`.
(update-operation endpoint operation)
Execute SPARQL Update operation
on endpoint
.
Execute SPARQL Update `operation` on `endpoint`.
(xml-schema->data-type data-type)
Coerce a XML Schema data-type
.
Coerce a XML Schema `data-type`.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close