by x775 on 3/18/19, 4:55 PM with 38 comments
by JoelMcCracken on 3/18/19, 7:00 PM
I haven't tried datascript, which appears to support negation. Maybe I will try that if/when I revisit this interest someday.
by sdbrady on 3/18/19, 6:32 PM
by hombre_fatal on 3/18/19, 5:48 PM
The interactive tutorials on http://www.learndatalogtoday.org (Datomic's dialect) quickly sold me on the idea.
Though coming from Datomic, I'm curious how much of my knowledge is Datomic-specific rather than how you'd generally approach a database queryable with Datalog. For example, do you need four indexes like Datomic (https://docs.datomic.com/on-prem/indexes.html) to make Datalog queries fast?
by nmadden on 3/18/19, 7:28 PM
by burakemir on 3/18/19, 8:02 PM
by radomir_cernoch on 3/18/19, 6:27 PM
Is it really the case?
Human("Socrates").
Animal("Turtle").
Mortal(x) :- Human(x).
Mortal(x) :- Animal(x).
Suppose :- means iff. Turtle is Mortal (lines 2+4, implication to the left). Because Turtle is Mortal, it must be a Human (line 3, implication to the right).Is it really valid according to Datalog semantics?
by bobjordan on 3/19/19, 4:21 AM
by ComNik on 3/18/19, 10:03 PM
In particular: https://www.youtube.com/watch?v=R2Aa4PivG0g
by fspeech on 3/18/19, 5:32 PM
by slifin on 3/18/19, 5:54 PM