(build query)
Build a Jena Operation object from the given query, represented as a Clojure data structure
Build a Jena Operation object from the given query, represented as a Clojure data structure
(parse query-str)
Parse a SPARQL query string into a Jena Operation
Parse a SPARQL query string into a Jena Operation
(pull graph subject pattern)
Get all the properties associated with a subject using syntax similar to Datomic's Pull.
Cardinality-1 properties will be returned as single values, otherwise property values will be wrapped in sets. Graph must support OWL inferencing to make this determination.
Get all the properties associated with a subject using syntax similar to Datomic's Pull. Cardinality-1 properties will be returned as single values, otherwise property values will be wrapped in sets. Graph must support OWL inferencing to make this determination.
(run & args)
Given a graph and a query (which may be either a precompiled instance of org.apache.sparql.algebra.Op, or a Query data structure), execute the query and return results.
Results will be returned as a sequence of maps of variable bindings, unless an optional binding vector is passed as the first argument. If it is, results are returned as a set of vectors.
Takes an optional final argument which is a map of initial variable bindings. This is how parameterized inputs are passed into the query.
Given a graph and a query (which may be either a precompiled instance of org.apache.sparql.algebra.Op, or a Query data structure), execute the query and return results. Results will be returned as a sequence of maps of variable bindings, unless an optional binding vector is passed as the first argument. If it is, results are returned as a set of vectors. Takes an optional final argument which is a map of initial variable bindings. This is how parameterized inputs are passed into the query.
(sparql op)
Return a SPARQL query string for the given Jena Operation (as returned from build
).
Useful mostly for debugging.
Return a SPARQL query string for the given Jena Operation (as returned from `build`). Useful mostly for debugging.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close