August 2018
Beginner
144 pages
3h 6m
English
Now, we'll look at how to create a knowledge base and apply inference in Prolog. Let's start by looking at the Prolog environment:
The following screenshot shows the Prolog environment in Windows:

The ?- object is the Prolog prompt, or the Prolog interpreter. Whatever we type here will be executed; Prolog will be treated as a predicate, and it will give the result as either true or false. Therefore, if we want to create ...