2 ms·
Where are you seeing that it uses Datomic? The linked page says: Datalog based rules engine and The language being implemented is called "Pabu" and it strongly
by nl 10y ago
Where are you seeing that it uses Datomic? The linked page says:
Datalog based rules engine and The language being implemented is called "Pabu" and it strongly resembles Prolog.
There doesn't seem to be much documentation for this, but the examples look like this:
sibling(fred, barney).
parent(fred, mary).
sibling(mary, george).
gender(george, male).
/* Using the OWL namespace to describe the sibling property */
owl:SymmetricProperty(sibling).
See [1]
It's been a while since I did Prolog, but that looks pretty familiar (and like your example)
[1] https://github.com/threatgrid/naga/blob/master/pabu/family-2nd-ord.lg https://github.com/threatgrid/naga/blob/master/pabu/family-2...
- tannhaeuser 10y agoYou're right. I was referring to Datomic because it was linked to from https://github.com/quoll https://github.com/quoll. Mind you, Prolog (ISO/IEC 13211-1) has very specific requirements with respect to exceptions, arithmetic, operator-precedence parsing and resolution/negation-as-failure/extra-logical features, which I see often glossed over when people call something Prolog in a roundabout way.
- nl 10y agoHence why they claim to be Datalog.