Recursive query?

You can use datalog rules to define a recursive query.

An example using the mbrainz dataset: https://github.com/Datomic/mbrainz-sample/blob/master/src/clj/datomic/samples/mbrainz/rules.clj#L37

There was also some prior discussion of this topic here: How to do graph traversal with rules (with a couple additional examples)

1 Like