Expert System Demonstrations
This chapter contains several expert systems demonstrations, all of which have been run on a Raspberry 3 standalone desktop configuration. The first demonstration, Demo 3-1, is a very simple one—designed to show you how to get started using Prolog on the Raspberry Pi. I have included some discussion on how to use both the command line and GUI trace functions that are very useful in debugging a Prolog program. The second demonstration, Demo 3-2, is somewhat more complex, in which the program asks the user some questions about an unknown animal and then tries to reach a conclusion based on the answers to the questions.