Question: A backward - chaining rule - based system works by hypothesizing an answer and checking to see if the hypothesis is correct according to the

A backward-chaining rule-based system works by hypothesizing an answer and checking to see if the hypothesis is correct according to the facts given and the rules. Note that we may exhaust the hypotheses without finding any that are true.
Assume we check the hypotheses in the following order:
?x is a cheetah
?x is a tiger
?x is a giraffe
?x is a zebra
?x is an ostrich
?x is a penguin
?x is an albatross
And, assume we answer questions as follows:
?x has feathers true
?x flies false
?x swims false
?x has long legs true
?x has long neck true
?x is black and white true
The answers to all other questions are not known and assumed to be false.
Problem B1: Simulate Zookeepers behavior assuming the hypotheses are tried in the order given by
the table given above and the true assertions are as given above. Indicate your answer by writing the
numbers of the rules in Table 1, in the order used, that are used in solving the problem. Also, name the
animal recognized selected.
[Follow the bellow example:]
Solution:
Hypothesis:
?x is a cheetah
Rule Z9:
?x is a carnivore
Rule Z5:
?x is a mammal
Rule Z1:
?x has hair (true)
therefore
?x is a mammal (true from rule Z1)
?x eats meat (unknown and assumed false)
Rule Z5 fails
Rule Z6
?x is a mammal (true from rule Z1)
?x has pointed teeth (true)
?x has claws (true)
?x has forward-pointing eyes (true)
therefore
?x is a carnivore (true from rule Z6)
?x has tawny color (true)
?x has dark spots (false)
Rule Z9 fails
Hypothesis:
?x is a tiger
Rule Z10:
?x is a carnivore (true from rule Z6)
?x has tawny color (true)
?x has black stripes (true)
therefore
?x is a tiger (true from rule Z10)
Therefore, the animal is a tiger

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!