PrF UG meta change metaslot sub

From Protege Wiki
Jump to: navigation, search

Changing the Slot Metaclass of Subslots


Protege-Frames User's Guide
Metaclasses
Understanding Metaclasses
Example: Creating and Using a Metaclass
Looking at :STANDARD- CLASS
Creating a Metaclass
Creating a Class Using a Metaclass
Changing the Metaclass of a Class
Changing the Metaclass of Subclasses
Setting the Default Metaclass
Customizing the Class or Slot Editor
Understanding Slot Metaclasses
Creating a Slot Metaclass
Changing the Slot Metaclass of a Slot
Creating a Subslot Using a Slot Metaclass
Changing the Slot Metaclass of Subslots
Setting the Default Slot Metaclass
Glossary, Editing Help

When you change the slot metaclass of a slot, all of its subslots will retain their previous slot metaclass. This ensures that you do not propagate changes when you do not want to. However, often you will want existing subslots to have the same slot metaclass as their superslot. Protege-Frames provides an option to quickly change the slot metaclass of all the slots subordinate to a given slot. Note that you only have to do this once; by default, new slots use the slot metaclass of their direct superslot.

To change the slot metaclass of all existing subslots of a given slot:

  1. In the Slot Browser, find the slot whose subslots you want to change.

    Slot Browser, "slot" selected
  2. Click the right mouse button and select "Change slot metaclass of subslots". This will change all the slots below this one to have the same slot metaclass as the selected slot.

    "Change slot ... subslots" selected in menu
  3. A dialog box will appear, asking you for verification. Click OK to continue.

    verification dialog
  4. The change will be made; all subordinate slots will now have the slot metaclass of the selected slot.