0% found this document useful (0 votes)
12 views

Prolog Exercise

Uploaded by

n02019697m
Copyright
© © All Rights Reserved
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
12 views

Prolog Exercise

Uploaded by

n02019697m
Copyright
© © All Rights Reserved
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 1

Create the Knowledge base equivalent to the statements as below in Prolog.

1. John likes all kind of food.

2. Apple and vegetable are food

3. Anything anyone eats and not killed is food.

4. Anil eats peanuts and still alive

5. Harry eats everything that Anil eats.

You might also like