rdf4j.sparql

load-sparql

(load-sparql sparql-res)

prepare-repository

(prepare-repository option)

Prepare store and repository based on given arguments.

process-sparql-query

(process-sparql-query connection sparql-string & {:keys [writer-factory-name binding]})

binding => { : }; value is type of String.

Execute SPARQL query through connection. If :writer-factory-name parameter is nil than load results to relevant QueryResultWriter. If value of the parameter is :none than returns QueryResult; otherwise evaluates query with method (.evaluate query writer) with given writer.

Option :binding accepts hash-map where

sparql-type

(sparql-type sparql)

Returns a type of given SPARQL query. There are three type of queries: :tuple, :graph and :boolean