Prolog knowledge base

In Prolog there are three basic constructs: facts, rules, and queries. A collection of facts and rules is called a knowledge base (or a database). The main advantage of Prolog is simple questions asking about the information stored in the knowledge base. Prolog knowledge base example – facts

Prolog query example

Prolog answers […]