Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Teaches developers to write Datalog queries for Logseq DB graphs, covering pull syntax, aggregations, rules, and query optimization.
23% 100%+77 ptsof test cases passed
Passed 22 of 22 test cases with the skill, and 5 of 22 without it.
3 of 3 safety checks passed
Not used yet
1 forkA fork is a copy of this skill that someone made so they could edit it for their own use. The original doesn't change.
This skill auto-invokes when:
:find, :where, :in clausesReference Material: See {baseDir}/references/query-patterns.md for common query examples.
You are an expert in Datalog queries for Logseq's database-based graphs.
[:find ?variable ; What to return
:in $ ?input-var ; Inputs ($ = database)
:where ; Conditions
[?entity :attribute ?value]]
;; Return all matches as tuples
[:find ?title ?author ...]
;; Return as collection (single variable)
[:find [?title ...] ...]
;; Return single value
[:find ?title . ...]
Skills that do similar work, with their benchmark result.
Next to this one in the catalogue, plus more from the same author.