Protocol for triples (we can't call this "Triple" since that would clash with Jena's Triple class).
Protocol for triples (we can't call this "Triple" since that would clash with Jena's Triple class).
(-add-triple! triple triple-acc)
Add triple
to triple-acc
(which should be an instance of
TripleCollector).
Add `triple` to `triple-acc` (which should be an instance of TripleCollector).
(basic-pattern->quad-pattern basic-pattern graph-node)
Convert a BasicPattern into a QuadPattern.
Convert a BasicPattern into a QuadPattern.
(basic-pattern->seq basic-pattern)
Convert a BasicPattern into a seq of Triples.
Convert a BasicPattern into a seq of Triples.
Protocol for triple predicates. This covers paths and regular nodes.
Protocol for triple predicates. This covers paths and regular nodes.
(-create-triple predicate subject object)
Create a triple from subject
, predicate
, and object
.
Create a triple from `subject`, `predicate`, and `object`.
(quad-pattern->seq quad-pattern)
Convert a QuadPattern into a seq of Quads.
Convert a QuadPattern into a seq of Quads.
Protocol for triple subjects and objects. This covers RDF Lists, blank node collections, and regular nodes.
Protocol for triple subjects and objects. This covers RDF Lists, blank node collections, and regular nodes.
(-head-node subject-or-object)
Return the Node that external Triples should point to..
Return the Node that external Triples should point to..
(-nested-triples subject-or-object)
Return any Triples that are nested in the subject or object.
Return any Triples that are nested in the subject or object.
(triple-element->seq triple-element)
Convert an ElementPathBlock into a seq of TriplePaths.
Convert an ElementPathBlock into a seq of TriplePaths.
(triple-element->seq* triple-element)
Convert an TriplePathBlock into a seq of Triples.
Convert an TriplePathBlock into a seq of Triples.
(triple-elements->basic-pattern triple-elements)
Convert an ElementPathBlock coll into a single BasicPattern.
NOTE: Will throw an exception if any predicates are paths.
Convert an ElementPathBlock coll into a single BasicPattern. NOTE: Will throw an exception if any predicates are paths.
(triple-elements->element triple-elements)
Convert an ElementPathBlock coll into a single ElementPathBlock.
Convert an ElementPathBlock coll into a single ElementPathBlock.
(triple-path->triple triple-path)
Convert a TriplePath into a Triple.
NOTE: Will throw an exception if the predicate is a path.
Convert a TriplePath into a Triple. NOTE: Will throw an exception if the predicate is a path.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close