Prolog is a logic programming language that is used to create artificial intelligence. In order to come up with a query, or end goal, an artificial intelligence written in Prolog will analyze the relationship between a fact, a statement that is true, and a rule, which is a conditional statement.
Why is Prolog good for artificial intelligence?
A logic programming language as Prolog makes it possible to write algorithms by augmenting logical sentences with information to control the inference process. Prolog seems to be good for problems in which logic is intimately involved, or whose solutions have a succinct logical characterization.
Why Prolog is used?
Prolog is a logic programming language associated with artificial intelligence and computational linguistics. ... The language has been used for theorem proving, expert systems, term rewriting, type systems, and automated planning, as well as its original intended field of use, natural language processing.