PROMPT allows you to accept or reject the changes between two versions of an ontology. The class display on the left hand side of the Tree View lets you accept or reject changes at the class level or subtree level.
The following table gives the action taken when accepting/rejecting changes for a class X:
Type of Change |
Action Taken on Accept Button: |
Action Taken on
Reject
Button: |
Added Class |
- X no longer shows as added |
- X and its direct instances are deleted from the knowledgebase - Any subclasses of this class are made subclasses of the XÕs parents |
Deleted Class |
- X is removed from the display - Subclasses of X are shown as subclasses of XÕs parents |
- A copy of X is made and added to the knowledgebase |
Moved/Mapped Class |
- All changes done to X are considered accepted (Superclass changes, template slot, own slot and facet changes) - X no longer shows as changed |
- X is moved back to its original set of superclasses - Slot and Facet changes to X are rejected i.e. the set of slots, slot values and facets revert back to that in the other version. |
Result |
|
Accept Subtree Button: |
The changes to each of the classes on the subtree is accepted as specified in the above table |
Rejecting Subtree Button: |
The changes to each of the classes on the subtree is rejected as specified in the above table |
The right hand side display of the Tree View gives the ability to accept/reject changes at a more fine-grained level. Changes to Template Slots, Facets and Own Slot values can be individually accepted/rejected here.
Type Of Change |
Action taken on Accept |
Action Taken on Reject |
Template Slot Added |
The slot is no longer shown as added |
The slot is removed from the class |
Template Slot Deleted |
The deleted slot is removed from the display |
The deleted slot is copied and added to the class |
Facet Added |
The facet is no longer shown as added |
The facet is removed from the respective slot, class combination |
Facet Deleted |
The deleted facet is no longer shown |
The facet is copied and added to the respective slot, class combination |
Facet Changed |
The facet is no longer shown as changed |
The old value of the facet is copied on to the slot, class combination |
Own Slot Value Added |
The slot value is no longer shown as added |
The slot value is removed. |
Own Slot Value Deleted |
The slot value is no longer shown as deleted |
The slot value is copied on to the new class |
Own Slot Value Changed |
The slot value is no longer shown as changed |
The old value of the slot is copied on to the class |
On Accepting/Rejecting
changes, the table view is marked changed (a "*" is placed on the Table View Tab). A Refresh button () is
provided on the table view to refresh its contents.
Next: Configuring Prompt