This tutorial assumes the user has gone through the first tutorial
and has a working knowledge of how to enter information into the system.
This tutorial, and all subsequent ones, will only display the data
in each table.|
This example will show how to query a link between two objects. The example
Does John have a dog.
The following items will be touched upon during the lesson:
- Specifying question verbs
- Instructions to set the response class
- Using the MoodType of VerbTransactions to make verbs perform different
actions depending on the mood of the sentence.
Data for Tables
To get the system in a clean state, click on the Clear Data link under
the Test Data heading. This will clear all of the data and leave only
hard-coded values in certain tables.
Subclass the root Object, one for persons and one for dogs.
Instantiate each class once, one to represent the John object, and one to
represent the dog he owns.