If it's ok, Id like to cross post this question from #datahike to here seeing as there's almost 3x as many folks in here. https://clojurians.slack.com/archives/CB7GJAN0L/p1614271282028900
no expert but obviously your calling ?owns as a functions but in the above code its not defined does the function exists its also not passed in as param in the :in clause
owns?
isn't a function, it's https://docs.datomic.com/on-prem/query/query.html#rules and is defined in the rules var.
the bracket (means fn normally and page 56 in the presentation they define a defn called owns? but I dont know anything about rules so i could be wrong
not much info out there on rules 😞