A Food Network, foodNetwork.vkb, in the Reference section of the downloads is a KnowledgeBase that engages the user in small talk about food. The foodNetwork is implemented as a Semantic Network with a single primary rule, "Food". The Verbot Player Engine routes the user input through a network of nested synonyms. The Child Rules provide stops along the way, adding context by setting vars variables. When the Engine reaches the destination Rule, it is sent back to a top level Rule where the context held in the vars variables add relevance to the Verbot's generic response.
For example:
(_startup)
Verbot: Let's talk about food. What is your favorite Meat?
User: I like pot roast.
Verbot: Do you like Lentils and Ham?
User: I like ham.
Verbot: ham, I see. Do you like Seafood?
User: I prefer ice cream.
Verbot: ice cream 's fine. I like Southern Pecan Cheesecake Ice Cream.


