Follow these steps to add a `Relation Type'.
Step 1. Go to the `Manage' interface of a GNOWSYS instance.
Step 2. Click on `Add' tab.
Step 3. Click on the `Relation Type' link. You will be presented with an `Add Relation Type' form.
Step 4. Specify an `id' (This is manadatory field). Specify `BaseName' (Which is a human readable
name, and will be used for displaying purpose, while `id' will be used for addressing, say in an URL.).
Step 5. Select an appropriate `Object Type' from the drop down list (Role for LHS) & (Role for
RHS). For example, if we wish to add an association `is a father of', the LHS Role will be a category where the objects are male persons.
And the RHS role will be of persons both male and female.
Step 6. Add information to the other fields. (These fields are optional). Then click on the Add button. If everything is correct you will be presented with a
confirmation screen.
NOTE: If you find the drop down lists `RHS Role' and `LHS Role' empty, this means that you have not specified which objects could have relations. This is
specified by simply adding an `Object Type' as a member of another `Object Type' called `Role'. This is to specify that only those objects belonging to the category `Role' could participate in having relations
in the gnowledge base.
Remember that drop down lists only shows those Object Types which belong to the type Role.
Presently monadic predicates are specified as Attribute Types, and the value is added either to
an Object Type or an Object.
In the forthcoming version, we will have a single class taking care of all kinds of predicates (monadic to n-adic), Present versions of GNOWSYS
can handle only diadic relations.