Liking cljdoc? Tell your friends :D

grafter.matcha.alpha


askcljmacro

(ask bgps)

constructcljmacro

(construct construct-pattern bgps)

construct-1cljmacro

(construct-1 construct-pattern bgps)

find-vars-in-treeclj

(find-vars-in-tree tree)

group-subjectsclj

(group-subjects solutions)

index-triplesclj

(index-triples db)

Return an indexed database of triples. Indexing a database will result in better performance if you want to run multiple queries over the same database.

All query functions should accept either a sequence of triples or an indexed database.

Return an indexed database of triples. Indexing a database will
result in better performance if you want to run multiple queries
over the same database.

All query functions should accept either a sequence of triples or an
indexed database.
raw docstring

merge-dbsclj

(merge-dbs & dbs)

Merges all supplied Matcha databases together into one. Any individual database form can either be indexed already with index-triples, or a sequence of triples, in which case the triples will be indexed before being combined with any other databases.

Merges all supplied Matcha databases together into one.  Any
individual database form can either be indexed already with
index-triples, or a sequence of triples, in which case the triples
will be indexed before being combined with any other databases.
raw docstring

query-var?clj

(query-var? sym)

Test whether supplied sym is a query variable. Query variables are symbols who's name begin with a ?.

Test whether supplied sym is a query variable.  Query variables are
symbols who's name begin with a ?.
raw docstring

replace-vars-with-valsclj

(replace-vars-with-vals construct-pattern binding-maps)

selectcljmacro

(select bgps)
(select project-vars bgps)

select-1cljmacro

(select-1 bgps)
(select-1 project-vars bgps)

tripleclj


triple-vector->idx-tripleclj

(triple-vector->idx-triple [s p o])

Assume triples are either 3/tuple vectors or can be destructured as such. Grafter Quad objects can be destructured in this manner.

Assume triples are either 3/tuple vectors or can be destructured as
such.  Grafter Quad objects can be destructured in this manner.
raw docstring

unify-solutionsclj

(unify-solutions projected-vars solutions)

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close