The Image Table

For compare mode, the Prompt tab consists of a single window, the Image table, which shows all the frames in the two compared projects and lists the similarities and differences. This interface is informational only; you cannot edit or change any project from the Image Table.

The Image Table consists of columns listing information about the relationship of frames in the old and new ontologies. In addition, the Image Table buttons allow you to view, but not edit, further information about the highlighted row. You can use the information in the Image Table, along with your own knowledge of your project, to determine what changes have been made between the versions.

Note: If you are familiar with UNIX, note that the functionality is intended to be similar to the UNIX tool diff, but is based on the ontological structure of the project, rather than the line-by-line difference between the files. Additional information is given to indicate the heuristics Protégé has used to make the determination.

Image Table Columns

The Image Table shows the result of the compare operation. The first two columns show the frames in the old and new versions. If there are frames in both columns, the other columns show the relationship between the two frames and the reason they have been identified. If there is a frame in only one of the first two columns, the other columns tell whether that frame has been removed or added.

f1

This column lists all the frames in the old version of the ontology. Frames that have been changed in some way (added, removed, renamed, etc.) are displayed at the top of the list. If there is no corresponding frame in f2, the frame has been removed.

f2

This column lists all the frames in the new version of the ontology. Frames that have been changed in some way (added, removed, renamed, etc.) are displayed at the top of the list. If there is no corresponding frame f1, the frame has been added.

renamed

A Yes in this column indicates that Protégé suggests that the two frames in columns f1 and f2 correspond to each other, except for a name change. This correspondence is based on simple heuristics, described in the rename explanation column.

operation

The operation column summarizes how the frames in columns f1 and f2 are related. If there are frames in both columns, then the identification is Map. If there is a frame in f1 but none in f2, then the action has been to Remove the frame. If there is no frame in f1, but one in f2, then the action was Add.

map level

Indicates how closely the frames in f1 and f2 match. The levels are as follows:

Level Description
Changed Some essential attribute has changed. 

Examples:
A class which has a different number of slots in the two versions
A class which has the same number of slots in both versions, but has at least one slot which is neither matches nor is isomorphic to any slot in the changed class. 

Changed frames are strongly different in the two versions and should be looked at for version reconciliation.

Isomorphic The frames in the two versions are matched, but there is some difference in how they are presented or structured in the two versions. 

Examples:
Two frames that have the same names and the same direct information, but now have different metaslots; in this case, they would have different template slots and would look different.
Two classes that have the same names, the same number of slots, but there is a slot that has a different name in the two versions. 

Isomorphic frames are superficially different in the two versions, and you may want to examine them to verify their similarity.

Unchanged The frame name and all attributes are unchanged.

There is no reason to examine Unchanged frames.

If one of the columns is blank, no explanation is given.

rename explanation

If there is a Yes in the renamed column, gives the reason Protégé suggests that a frame in the new ontology is a renaming of a frame with a different name in the old ontology.  

operation explanation

If the frames are Changed or Isomorphic, gives the reason.

Image Table Buttons

The buttons at the upper right of the Image table allow you to view more information about a highlighted item:

View button: Displays a view-only version of the Class, Slot, or Instance form for the selected frame(s). No changes can be made.
Back-references button: For each ontology, displays the list of all the frames in the original ontology that reference the highlighted frame. 
Show Sources button: Displays the Source Knowledge Bases window, which shows the source ontologies. The frames which are highlighted in the Image table are also highlighted here. 

Next: The Source Knowledge Bases Window

Prompt Table of Contents