News for hackers. Stuff that matters.
Re:Artificial Intelligence with Erlang: The Domain of Relati... by tom_mellior on Friday April 27, 2018 @11:30AM (#16941511)
> Isn't this logic programming (ala prolog)

Kind of, though it's not exactly the Prolog flavor. In Prolog you also define such facts and rules, but then you only derive new facts "on demand". That is, if you ask whether Bob is the father of Jane, the system goes off and tries to find out whether that's the case. This is called "backward chaining" (https://en.wikipedia.org/wiki/Backward_chaining).

In contrast, the system as presented takes a set of facts and rules and automatically computes all of their consequences, before you ever get to specify what questions you want to ask. This is "forward chaining" (https://en.wikipedia.org/wiki/Forward_chaining). One similar system to the one presented here that implements forward chaining is CHR (https://en.wikipedia.org/wiki/Constraint_Handling_Rules), for which several implementations exist... including in Prolog.

Both approaches have certain advantages and disadvantages depending on the application in question.

Re:Artificial Intelligence with Erlang: The Domain of Relati... by radarsat1 on Friday April 27, 2018 @02:30PM (#16943077)
So more like CLIPS?
Re:Artificial Intelligence with Erlang: The Domain of Relati... by seanmcdirmid on Friday April 27, 2018 @11:46AM (#16941655)
Datalog is the canonical forward chained LPL.
Re:Artificial Intelligence with Erlang: The Domain of Relati... by tom_mellior on Friday April 27, 2018 @02:13PM (#16942915)
OK, but there are also ones with fewer limitations.