Chaining
Chaining
Step-1:
In the first step we will start with the known facts and will choose the sentences
which do not have implications, such as:
American(Robert), Enemy(A, America), Owns(A, T1), and Missile(T1). All
these facts will be represented as below.
Step-2:
At the second step, we will see those facts which infer from available facts and
with satisfied premises.
Rule-(1) does not satisfy premises, so it will not be added in the first iteration.
Rule-(2) and (3) are already added.
Rule-(4) satisfy with the substitution {p/T1}, so Sells (Robert, T1, A) is added,
which infers from the conjunction of Rule (2) and (3).
Rule-(6) is satisfied with the substitution(p/A), so Hostile(A) is added and which
infers from Rule-(7).
Step-3:
At step-3, as we can check Rule-(1) is
satisfied with the substitution {p/Robert, q/T1, r/A},
so we can add Criminal(Robert) which infers all the available facts.
And hence we reached our goal statement.
Backward chaining
Backward chaining
• Backward chaining is also known as a backward deduction or
backward reasoning method when using an inference engine. In this,
the inference engine knows the final decision or goal. The system
starts from the goal and works backward to determine what facts must
be asserted so that the goal can be achieved.