Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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.
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Programming With Visual Basic .NET

Authors: Carsten Thomsen

2nd Edition

1590590325, 978-1590590324

More Books

Students also viewed these Databases questions