Professional Documents
Culture Documents
Unit 3 Prac
Unit 3 Prac
If[X is a Frog]
[Fritz is a frog]
Then[X is green in color
Y= Green
Backward Chaining:
[Fritz is colored Y]
[X is a frog] [X is a Canary]
X =Fritz , Y = Green
(B) Knowledge Base:
Banana is a food.
Pizza is a food.
Banana is a food
Pizza is a food
Ravi directly likes idli or someone he eats everything that they eat likes idli
Bill eats everything that Sam eats and Sam eats idli
Forward Chaining:
John is happy
Backward Chaining:
Is John happy?