Difference between revisions of "PrF UG forms understanding forms"
(2 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
== Understanding Forms == | == Understanding Forms == | ||
− | {{PrF_UG_TOC_forms}}<div id='prf_ug'> | + | <noinclude>{{PrF_UG_TOC_forms}}<div id='prf_ug'></noinclude> |
Once you have built the classes and slots of your ontology, | Once you have built the classes and slots of your ontology, | ||
you will want to begin to create instances. | you will want to begin to create instances. | ||
This is done by filling out <i>forms</i>. | This is done by filling out <i>forms</i>. | ||
− | The [[PrF_UG_forms_forms_tab|Forms | + | The [[PrF_UG_forms_forms_tab|Forms tab]] |
allows you to customize the user interface that will be used for entering instances. | allows you to customize the user interface that will be used for entering instances. | ||
In {{#var:PrF}}, the expectation is that ontology creation and instance entry | In {{#var:PrF}}, the expectation is that ontology creation and instance entry | ||
Line 14: | Line 14: | ||
<ul class='a'> | <ul class='a'> | ||
<li><p> | <li><p> | ||
− | The [[PrF_UG_classes|Classes | + | The [[PrF_UG_classes|Classes]] and [[PrF_UG_slots_slots_tab|Slots]] tabs |
are used by domain experts and knowledge engineers to <i>create</i> <i>ontologies</i> - | are used by domain experts and knowledge engineers to <i>create</i> <i>ontologies</i> - | ||
that is, to design a set of classes that describe the domain. | that is, to design a set of classes that describe the domain. | ||
Line 22: | Line 22: | ||
<li><p> | <li><p> | ||
− | The [[PrF_UG_inst|Instances | + | The [[PrF_UG_inst|Instances tab]] is used to <i>acquire</i> <i>instances</i>. |
It is typically used by people who are neither domain experts nor knowledge engineers. | It is typically used by people who are neither domain experts nor knowledge engineers. | ||
For example, nurses at a hospital could use the ontology above | For example, nurses at a hospital could use the ontology above | ||
Line 29: | Line 29: | ||
</ul> | </ul> | ||
− | The Forms | + | The Forms tab generates the basic user interface for instance entry: |
<ul class='a'> | <ul class='a'> | ||
Line 55: | Line 55: | ||
the form is used to define layout information which can then be inherited by other classes. | the form is used to define layout information which can then be inherited by other classes. | ||
− | Using the [[PrF_UG_forms_forms_tab|Forms | + | Using the [[PrF_UG_forms_forms_tab|Forms tab]], |
you can customize the appearance of forms. | you can customize the appearance of forms. | ||
{{#var:PrF}} generates a default form for every class you create, | {{#var:PrF}} generates a default form for every class you create, | ||
Line 76: | Line 76: | ||
and allows the user to select those. | and allows the user to select those. | ||
− | The Forms | + | The Forms tab also allows you to create several user interfaces for the same ontology - |
forms for knowledge acquisition can be customized for different groups of users. | forms for knowledge acquisition can be customized for different groups of users. | ||
− | </div> | + | <noinclude></div></noinclude> |
Latest revision as of 16:59, November 13, 2008
Understanding Forms
Once you have built the classes and slots of your ontology, you will want to begin to create instances. This is done by filling out forms. The Forms tab allows you to customize the user interface that will be used for entering instances. In Protege-Frames, the expectation is that ontology creation and instance entry could be done by different groups of people:
The Classes and Slots tabs are used by domain experts and knowledge engineers to create ontologies - that is, to design a set of classes that describe the domain. For example, a team of medical specialists could design an ontology dealing with blood diseases.
The Instances tab is used to acquire instances. It is typically used by people who are neither domain experts nor knowledge engineers. For example, nurses at a hospital could use the ontology above to enter instances to describe each patient.
The Forms tab generates the basic user interface for instance entry:
A class has template slots, each of which has a value type.
The form for a class is composed of widgets, each one of which corresponds to a template slot. The appearance of the widget is based on the slot value type.
When a user enters an instance, each widget becomes an entry field in the Instance Editor.
Every class, concrete or abstract, has an associated form. For a concrete class, a user defines an instance of the class by filling out the class's form. For an abstract class, the form is used to define layout information which can then be inherited by other classes.
Using the Forms tab, you can customize the appearance of forms. Protege-Frames generates a default form for every class you create, based on the slots that are attached to the class and their slot value types. On the default form, there is a widget for every slot that is attached to the class.
The default form is intended as an initial, useful set of forms; however, these default interfaces are not always user-friendly. For example, if a class has a slot such as name or title, you might want the form to display this field first. The default form probably will not do this for you.
Different slot value types use different widgets: for example, a string slot uses a text entry bar widget, while a Boolean slot uses a checkbox. You can customize the form by moving and resizing widgets and deleting widgets; for some slot value types, you can also select another widget that is different from the default. For example, you can set up a widget which displays Symbol values as icons and allows the user to select those.
The Forms tab also allows you to create several user interfaces for the same ontology - forms for knowledge acquisition can be customized for different groups of users.