Fork me on GitHub
#datascript
<
2020-03-04
>
lilactown21:03:39

looking for info on a sort of nuanced datalog question… say I am using datascript (or some other datalog engine) as a cache of some data from several difference sources. Something akin to: • :person/name, :person/age, :person/id all come from one data source • :person/order-history comes from another data source • :order/id, :order/contents, and :order/owner-id all come from yet another data source etc. is it possible to always know which data sources a particular query depends on by simply inspecting the query as data?

lilactown21:03:39

put another way, is it possible to construct a datalog query where an attribute that it depends on is ambiguous?