Cascalog is an implementation of datalog on clojure. In the datalog wiki
page: http://en.wikipedia.org/wiki/Datalog, there is an example
Example Datalog program:
These two lines define two facts, i.e. things that always hold. They can be
intuitively understood as: *the parent of mary is bill* and *the parent of
john is mary*.
ancestor(X,Y) :- parent(X,Y).
ancestor(X,Y) :- parent(X,Z),ancestor(Z,Y).
Let's assume the input of the cascalog program is the "parent relationship"
[[parent, child]], is it possible to implement the ancestor function in
cascalog in a easy way? (in SQL it rely on multiple self-join).
You received this message because you are subscribed to the Google Groups "cascalog-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firstname.lastname@example.org.
For more options, visit https://groups.google.com/groups/opt_out.