Add Datomic queries