Query the https://github.com/logseq/docs graph

Queries are written in the Datomic dialect of Datalog. Queries use the same datalog rules as the Logseq app. To learn more about datalog, see this tutorial.

Source