0
6.1kviews
Explain inference process in FOL using Forward and Backward Chaining.
1 Answer
0
357views

Example: Consider simple example. Let’s understand how the same example can be solved using both forward and backward chaining.

Given facts:

  1. It is a crime for an American to sell weapons to the enemy of America.

  2. Country Nono is an enemy of America.

  3. Nono has some missiles.

  4. All the missiles were sold to No by Colonel West.

  5. Missile is a weapon.

  6. Colonel West is American.

We have to prove that West is criminal.

Let’s see how to represent these facts by FOL.

It is a crime for an American to sell weapons to the enemy nations.

American (x) ^Weapon(y) ^ sell (x.y.z) ^ enemy (z, America) => Criminal(x).

Country Nono is an enemy of America.

Enemy (Nonk, America)

Nono has some missiles.

Owns (Nono, x)

Missile(x)

  1. All the missiles were sold to Nono by Colonel West.

Missile(x) ^ owns(Nono,x) => Sell(West,x, Nono)

  1. Missile is a weapon.

Missile(x)=> weapon(x)

  1. Colonel West is American.

American (West).

Proof by forward chaining: The proof will start from the given facts. And we can derive other facts from those, it will lead us to the Solution. Answer observe from facts we can reach to the predicate Criminal (West).

enter image description here

Proof by backward chaining: This proof will start from the fact to be proved. And we can map it with given facts, it will lead us to the solution. As from e.g. we observe all leaf nodes of proof are given facts that mean ”West is Criminal”.

enter image description here

Please log in to add an answer.