Re: questions about datalog

2009-09-14 Thread Mark Engelberg
On Mon, Sep 14, 2009 at 10:02 PM, Tom Faulhaber wrote: > > Did you also read the overview that's part of contrib at > http://richhickey.github.com/clojure-contrib/doc/datalog.html. > So because of this thread, I just went and perused the description of the Clojure datalog library. Some things I

Re: questions about datalog

2009-09-14 Thread Tom Faulhaber
Did you also read the overview that's part of contrib at http://richhickey.github.com/clojure-contrib/doc/datalog.html. I don't know if you already saw that, but since you didn't mention it, I thought I'd be sure. Tom On Sep 12, 6:53 pm, Robert Luo wrote: > Thank you Josh for your answer. > >

Re: questions about datalog

2009-09-14 Thread Raoul Duke
> Much of the semantics of the query language is based on Prolog. as an aside, i was under the impression that Datalog was syntactically a subset of Prolog, but was not semantically so much so, since in Prolog order matters e.g. wrt termination. sincerely. --~--~-~--~~~-

Re: questions about datalog

2009-09-12 Thread Josh Smith
On Sep 12, 9:53 pm, Robert Luo wrote: > Thank you Josh for your answer. Thank you for being interested in the datalog library. :) > I have read the sources of datalog, however, literal.clj and the ideas > of the query language behind it is unknown for me, thus I can not > understand it qu

Re: questions about datalog

2009-09-12 Thread Robert Luo
Thank you Josh for your answer. I have read the sources of datalog, however, literal.clj and the ideas of the query language behind it is unknown for me, thus I can not understand it quite well. The same thing happens when I saw magic.clj, in which file I saw "magic transformation". I ran the ex

Re: questions about datalog

2009-09-12 Thread Josh Smith
On Sep 12, 6:21 am, Robert Luo wrote: > Two more questions: > 3. In datalog.database , it is required that every tuple must has > exactly same field as in database define, is that possible to just > define some necessary fields, and tuples appended can have additional > optional fields? > 4. What

Re: questions about datalog

2009-09-12 Thread Robert Luo
Two more questions: 3. In datalog.database , it is required that every tuple must has exactly same field as in database define, is that possible to just define some necessary fields, and tuples appended can have additional optional fields? 4. What is a magic transformation? I googled the term, but

questions about datalog

2009-09-12 Thread Robert Luo
I am trying to use datalog now, have the following questions: 1. How about the memory consumption of datalog? 2. There are examples of datalog, but can I find more detailed document about the query language? --~--~-~--~~~---~--~~ You received this message because yo