'I've to use the forward chaining algorithm with a KB of rules in the working memory. Does anyone have a guide for how to trace the execution in table

I've to use the forward chaining algorithm with a KB of rules in the working memory. Example of Rule is: Rule 1: If shape = long and colour = green or yellow then fruit = banana. The working memory has the following facts Diameter - 1 inch, shape = round, seedcount = 1, colour = red. Does anyone have a guide for how to trace the execution in table. Table to include execution cycle, applicable rules, selected rule and working memory. Any help appreciated.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source