Difference between revisions of "PrF UG inst creating an instance"

From Protege Wiki
Jump to: navigation, search
(Automated import of articles)
 
Line 10: Line 10:
 
Creating instances can give you valuable information about the project structure and its applicability.
 
Creating instances can give you valuable information about the project structure and its applicability.
 
As you add instances to your project,
 
As you add instances to your project,
you may expose missing or redundant areas which tell you that you need to redesign some of the class/slot structure.
+
you may expose missing or redundant areas
However,
+
which tell you that you need to redesign some of the class/slot structure.
as you move classes and create and delete slots,
+
However, as you move classes and create and delete slots,
 
you may lose information in your instances.
 
you may lose information in your instances.
In addition,
+
In addition, it is difficult to split a single instance into two or more instances.
it is difficult to split a single instance into two or more instances.
+
Therefore, you should not add an extensive base of instances
Therefore,
+
until you believe the structure of your project is fairly stable.
you should not add an extensive base of instances until you believe the structure of your project is fairly stable.
 
  
This topic describes creating an instance from the
+
This topic describes creating an instance
[[PrF_UG_inst_instance_browser|Instance Browser]],
+
from the [[PrF_UG_inst_instance_browser|Instance Browser]],
 
which creates the instance directly in the selected class.
 
which creates the instance directly in the selected class.
 
The following additional topics describe other ways to create an instance:
 
The following additional topics describe other ways to create an instance:
Line 29: Line 28:
 
     [[PrF_UG_inst_entry_field_instance#Creating_an_Instance|The Instance Fields]]
 
     [[PrF_UG_inst_entry_field_instance#Creating_an_Instance|The Instance Fields]]
 
     for how to create an instance using the <b>Create Instance</b>
 
     for how to create an instance using the <b>Create Instance</b>
     [[Image:PrF_UG_inst_instance.create.gif|instances_instance.create]]
+
     [[Image:PrF_UG_inst_instance.create.gif|instances_instance.create]] button
     button in an instance field.
+
     in an instance field.
 
     </p>
 
     </p>
  
 
   <li><p>
 
   <li><p>
     See
+
     See [[PrF_UG_inst_creating_multiple_instances|Creating Multiple Instances]]
    [[PrF_UG_inst_creating_multiple_instances|Creating Multiple Instances]]
 
 
     for how to create several instances at once,
 
     for how to create several instances at once,
 
     using the wizard on the <b>Tools</b> menu.
 
     using the wizard on the <b>Tools</b> menu.
Line 41: Line 39:
  
 
   <li><p>
 
   <li><p>
     See
+
     See [[PrF_UG_inst_copy_instance|Copying an Instance]]
    [[PrF_UG_inst_copy_instance|Copying an Instance]]
 
 
     for how to copy an instance,
 
     for how to copy an instance,
 
     using the <b>Copy Instance</b>
 
     using the <b>Copy Instance</b>
     [[Image:PrF_UG_inst_instance.copy.gif|instances_instance.copy]]
+
     [[Image:PrF_UG_inst_instance.copy.gif|instances_instance.copy]] button.
    button.
 
 
     </p>
 
     </p>
 
</ul>
 
</ul>
Line 55: Line 51:
 
<ol class='a'>
 
<ol class='a'>
 
   <li><p>
 
   <li><p>
     Display the
+
     Display the [[PrF_UG_inst_instances_tab|Instances Tab]].
    [[PrF_UG_inst_instances_tab|Instances Tab]].
 
 
     </p>
 
     </p>
  
 
   <li><p>
 
   <li><p>
     In the
+
     In the [[PrF_UG_inst_class_browser_at_instances|Class Browser]],
    [[PrF_UG_inst_class_browser_at_instances|Class Browser]],
 
 
     highlight the class where you want the instance to appear.
 
     highlight the class where you want the instance to appear.
   
 
    </p><p> <div>[[Image:PrF_UG_inst_create_instance_select_class.png|instances_create_instance_select_class]]</div>
 
 
     </p>
 
     </p>
 +
    <div>[[Image:PrF_UG_inst_create_instance_select_class.png|
 +
          instances_create_instance_select_class]]</div>
  
 
   <li><p>
 
   <li><p>
 
     Click the <b>Create Instance</b>
 
     Click the <b>Create Instance</b>
 
     [[Image:PrF_UG_inst_instance.create.gif|instances_instance.create]]
 
     [[Image:PrF_UG_inst_instance.create.gif|instances_instance.create]]
     [[PrF_UG_inst_instance_buttons|button]]
+
     [[PrF_UG_inst_instance_buttons|button]] at the right
    at the right of the
+
    of the [[PrF_UG_inst_instance_browser|Instance Browser]].
    [[PrF_UG_inst_instance_browser|Instance Browser]].
+
     The new instance will appear in the Instance Browser.
     The new instance will appear in the Instance Browser. t will have a default name,
+
    It will have a default name, such as project_instance_1.
    such as project_instance_1.
+
     </p>
   
+
    <div>[[Image:PrF_UG_inst_create_instance_browser.png|
     </p><p> <div>[[Image:PrF_UG_inst_create_instance_browser.png|instances_create_instance_browser]]</div>
+
          instances_create_instance_browser]]</div>
 
     </p>
 
     </p>
  
 
   <li><p>
 
   <li><p>
     The
+
     The [[PrF_UG_inst_instance_editor|Instance Editor]]
    [[PrF_UG_inst_instance_editor|Instance Editor]]
+
     at the right will display entry fields corresponding
     at the right will display entry fields corresponding to the slots of the class where the instance was created.
+
    to the slots of the class where the instance was created.
 
     To create values for the fields,
 
     To create values for the fields,
 
     enter the desired information.
 
     enter the desired information.
 
     For more information on how to edit field values,
 
     For more information on how to edit field values,
     see the
+
     see the [[PrF_UG_inst_standard_fields|Standard Fields]].
    [[PrF_UG_inst_standard_fields|Standard Fields]].
 
 
     </p>
 
     </p>
 
</ol>
 
</ol>

Revision as of 15:57, October 15, 2008

Creating an Instance


Protege-Frames User's Guide
Instances
Instances Tab
Class Browser at Instances Tab
Instance Browser
Instances Window
Instance Buttons
Instance Menu
Types Pane
Instance Editor
Standard Field Types
Fields with Multiple Cardinality
Boolean Fields
Class Fields
Float Fields
Instance Fields
Integer Fields
String Fields
Symbol Fields
Creating an Instance
Creating Multiple Instances
Displaying the Instance Editor
Setting the Display Slot
Showing Subclass Instances
Editing an Instance
Copying an Instance
Deleting an Instance
Finding an Instance
Changing an Instance's Class
Working with Instance Types
Instance Icons
Glossary, Editing Help

Creating instances is part of the iterative process of developing a Protege-Frames project. Before you create instances, you need to have created and organized the classes and slots that model your knowledge base structure.

Creating instances can give you valuable information about the project structure and its applicability. As you add instances to your project, you may expose missing or redundant areas which tell you that you need to redesign some of the class/slot structure. However, as you move classes and create and delete slots, you may lose information in your instances. In addition, it is difficult to split a single instance into two or more instances. Therefore, you should not add an extensive base of instances until you believe the structure of your project is fairly stable.

This topic describes creating an instance from the Instance Browser, which creates the instance directly in the selected class. The following additional topics describe other ways to create an instance:

To create a new instance from the Instance Browser:

  1. Display the Instances Tab.

  2. In the Class Browser, highlight the class where you want the instance to appear.

    instances_create_instance_select_class
  3. Click the Create Instance instances_instance.create button at the right of the Instance Browser. The new instance will appear in the Instance Browser. It will have a default name, such as project_instance_1.

    instances_create_instance_browser
       </p>
    
  4. The Instance Editor at the right will display entry fields corresponding to the slots of the class where the instance was created. To create values for the fields, enter the desired information. For more information on how to edit field values, see the Standard Fields.

    </ol>


    </div>