Question: R 1 : Soda ( x ) ? ? ? p s ( y ) Cheaper ( x , y ) R 2 : Chips

R1: Soda (x)???ps(y) Cheaper (x,y)
R2: Chips (x)??? Cereals (y) Cheaper (x,y)
R3: Cheaper (x,y)??? Cheaper (y,z) Cheaper (x,z)
And the facts:
F1: Soda(Sprite)
F2: Chips(Ruffles)
F3: Cereals(Cheerios)
F4: Cereals(MiniWheats)
a. Assume that all facts F1-F4 are known at the beginning of the inference process. Illustrate the
process of forward chaining by listing all newly inferred facts. Assume that both rules and facts are
matched and tried in the order of their appearance.
b. Show how to prove Cheaper(Sprite, Cheerios) using backward chaining and the KB given in part
a. Draw the graph for the problem, assuming rules and facts are tried and matched in the order given.
 R1: Soda (x)???ps(y) Cheaper (x,y) R2: Chips (x)??? Cereals (y) Cheaper

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 Databases Questions!