




 
The function 
clear-all
 clears all contexts, rules and objects. The list of KnowledgeWorks classes remains unaffected. The default context 
default-context
 is not removed, but all rules in it are.
KnowledgeWorks and Prolog User Guide (Windows version) - 6 Dec 2011