All Manuals > KnowledgeWorks and Prolog User Guide > 2 Tutorial

2.8 Systems

KnowledgeWorks System Browser

If you are familiar with LispWorks system definitions, look at the system definition for the animal demo, by evaluating:

(example-edit-file "kw/animal/defsystem")

It contains systems with type :kb-system and :kb-init-system. Examine the components of each system (which can be source files or subsystems) using the System Browser which is available from the Editor via Alt+X Describe System or File > Browse Parent System.

Systems with type :kb-system are reloaded when the rules are cleared. Systems with type :kb-init-system are reloaded when the object base is cleared.

Try this out by finding the KnowledgeWorks Listener and choosing Memory > Clear Objects and Rules. Then enter (load-system "ANIMAL") into the KnowledgeWorks Listener to reload the system animal. Both the files animal-rules and animal-objs are reloaded. Now choose KnowledgeWorks > Memory > Clear Objects and reload the animal system again and note how only the file animal-objs is reloaded.


KnowledgeWorks and Prolog User Guide (Windows version) - 01 Dec 2021 19:36:02