Question: Artificial Intelligence logic by using SWI Prolog program. Develop by using SWI Prolog. Screenshot your (.pl) file and screenshot the output. 1) Write an expert
Artificial Intelligence logic by using SWI Prolog program.
Develop by using SWI Prolog. Screenshot your (.pl) file and screenshot the output.
1)

Write an expert system that helps us identify animals.
Animal identification Instruction: Write an expert system that helps us identify animals. Example: knowledge about animals, which are rules of inference: 1. If it has a fur and says woof, then the animal is a dog. 2. If it has a fur and says meow, then the animal is a cat. 3. If it has feathers and says quack, then the animal is a duck. The key idea of an expert system is to derive useful new information based on user-provided input. 4. The followings are sample interaction: ?- animal (A). has fur? 1 : yes. says woof? |: no. has fur? 1 : yes. says meow? 1 : yes. A = cat
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
