Have you guys taken a look at Cascalog? ( https://github.com/nathanmarz/cascalog) It's a datalog implementation in Clojure that compiles down to MapReduce jobs. Cascalog's host, Cascading, allows you to pull information from a wide range of datasources (mySQL, HDFS, ElasticSearch, etc) and might fit your use case.
On Sun, Nov 27, 2011 at 11:40 PM, Tassilo Horn <tass...@member.fsf.org>wrote: > David Nolen <dnolen.li...@gmail.com> writes: > > Hi David, > > > As Mark said you can avoid the graph issue with tabling. core.logic > > has tabling. If you look at the tabling section here - > > https://github.com/clojure/core.logic, you should see something > > related to your problem. > > Thanks, I'll have a look. > > > If you do then you should probably just write you own goals that can > > source data from your graph. This can easily be done by returning a > > Choice from your custom goal. > > > > (defn custom-goal [x y z] > > ... > > (choice a (fn [] ...)) > > > > choice is like a lazy sequence, you have your first value, and then a > > thunk to produce the remainder of the sequence. You can do whatever > > you want in the body of the custom-goal to make sure the optimal > > resultset is operated on. > > Great, that looks exactly what I need. > > Bye, > Tassilo > -- > (What the world needs (I think) is not > (a Lisp (with fewer parentheses)) > but (an English (with more.))) > Brian Hayes, http://tinyurl.com/3y9l2kf > > -- > You received this message because you are subscribed to the Google > Groups "Clojure" group. > To post to this group, send email to clojure@googlegroups.com > Note that posts from new members are moderated - please be patient with > your first post. > To unsubscribe from this group, send email to > clojure+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/clojure?hl=en > -- Sam Ritchie, Twitter Inc 703.662.1337 @sritchie09 (Too brief? Here's why! http://emailcharter.org) -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en