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

From Protege Wiki
Jump to: navigation, search
Line 69: Line 69:
 
     </p>
 
     </p>
 
     <div>[[Image:PrF_UG_inst_create_instance_browser.png|frame|none|
 
     <div>[[Image:PrF_UG_inst_create_instance_browser.png|frame|none|
           Instance Browser]]</div>
+
           Instance Browser, "newspaper_instance_0" selected]]</div>
  
 
   <li><p>
 
   <li><p>

Revision as of 02:33, October 23, 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.

    Class Browser, "Editor" selected
  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.

    Instance Browser, "newspaper_instance_0" selected
  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.