4 ms·
Can you share some insights into how Datalog does it?
by sidcool 3y ago
Can you share some insights into how Datalog does it?
- wduquette 3y agoI'm not an expert; but both Datalog and Prolog make use of Horn clauses, e.g., ``` person(mary) person(joe) parent(joe,mary) child(c,p) :- parent(p,c) ``` (Don't quote me on the syntax.) But you can specify what the OP calls "triples" directly in Datalog, express logical relationships among them, and then query them.