The graph index API.
The graph index API.
(count-pattern graph [s p o :as pattern])
Convenience function to extract elements out of a pattern to count the resolution
Convenience function to extract elements out of a pattern to count the resolution
(count-triple this subj pred obj)
Resolves patterns from the graph, and returns the size of the resolution
Resolves patterns from the graph, and returns the size of the resolution
(graph-add this subj pred obj tx)
Adds triples to the graph
Adds triples to the graph
(graph-delete this subj pred obj)
Removes triples from the graph
Removes triples from the graph
(graph-diff this other)
Returns all subjects that have changed in this graph, compared to other
Returns all subjects that have changed in this graph, compared to other
(graph-transact this tx-id assertions retractions)
Bulk operation to add and remove multiple statements in a single operation
Bulk operation to add and remove multiple statements in a single operation
(new-graph this)
Creates an empty graph of the same type
Creates an empty graph of the same type
(resolve-triple this subj pred obj)
Resolves patterns from the graph, and returns unbound columns only
Resolves patterns from the graph, and returns unbound columns only
(node-label n)
Returns a keyword label for a node
Returns a keyword label for a node
(resolve-pattern graph [s p o :as pattern])
Convenience function to extract elements out of a pattern to query for it
Convenience function to extract elements out of a pattern to query for it
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close