...
...
You are now going to create the first entity in the newly created taxonomy (see Preparing a knowledge base for Taxonomy/Entity use).
QTaxonomy
node in the Workbase and select Taxonomy > Include new Entity, or press Ctrl+F3:To create the first Entity in your Taxonomy, first select the QTaxonomy object in the Workbase. Select the right mouse button menu Taxonomy>Include new Entity or press Ctrl+F3, see Figure 40. This opens the Entity Editor, see Figure 41.
Figure 40: Include new Entity
Figure 41: Entity editor
The Entity Editor contains Entity properties fields, Entity include/properties options and Entity type options. For the explanation of the fields and properties we refer to “Knowledge Engineering getting started course Part 2”.
.
The entity type of the first entity The first Entity in a Taxonomy tree, can only be 'Singular obligatory that '. This means that this Entity this entity will always be included during included in a dialoguedialog.
...
Ship configurator
...
Name and press “OK”. Now your first Entity entity is placed in the Taxonomy tree within the Workbase below QTaxonomy object, see Figure 42.below the QTaxonomy object (note again that this is in the Workbase):
Every entity automatically contains the standard Quaestor parametersEvery Entity automatically contains the standard Quaestor parameters: QEntityName and QEntityID. Both parameters will not be visible during a process dialogue dialog for users. The unique value for QEntityID is automatically given by Quaestor and for QEntityID is unique and is automatically assigned by Quaestor. It cannot be modified by a Knowledge Engineer.
In front of the Name in QEntityName you can see The value of QEntityName is automatically prepended with a prefix that indicates the type of Entity (in this case “_”, which means singular obligatory Entityentity). Each Entity entity type has his its own specific prefix. To change the name of an Entity you have to rename the Name within QEntitname.However
Note |
---|
When renaming an entity, be aware that changing the prefix will also change the behavior of the Taxonomy tree! |
Figure 42: Include first singular obligatory Entity "Ship configurator"
...
Info |
---|
Values filled in the |
...
fields |
...
of the Entity Editor can always be included/edited |
...
later on. |
Next, you will have to include a singular obligatory Ship design
entity below the entity Ship configurator
. That means that Ship design
will always be included in a solution (below Ship configurator
).
Ship configurator
entity in the Workbase. Select Taxonomy > Include new Entity or press Ctrl+F3Ship design
and press OK.There need to be added some more entities now. These will be optional entities.
Ship configurator
entity and press Ctrl+F3. Call the new entity Mass calculation
and select Entity Type Belongs to group of single optional Entities and press OK.Intact stability calculation
, Data to Word report
and Data to Excel
.Belongs to group of single optional Entities will result in such an entity to be shown to the user in a selection window at the start of a solution run.
Once you have included an entity in your taxonomy, in the way described above, it is always possible to change the type of the entity.
As noted in the previous section, the type of an entity is determined by the prefix of its name. Each entity type has its own prefix. Upon creation of an entity, the pertaining prefix will be automatically prepended to the value of parameter QEntityName. This parameter is hidden for a user during a modeling session. A Knowledge Engineer can change a prefix of an entity name manually in the Workbase and thus change the type. However, be aware that changing the prefix will also change the behavior of the Taxonomy tree! So only do this when you are sure about the changes you want to make.
Once you have included entities in your taxonomy, it is possible to change their sequence. For example if you want to place Data to Excel
above entity Data to Word report
select Ship configurator
. Now the Workbase shows all QEntity objects one level below the entity Ship configurator
. Now click on Data to Excel
and drag it to the location between Intact stability calculation
and Data to Word report
.
To see/test what you have created so far, it is always possible to build a (test) solution by selecting the QTaxonomy
entity and clicking on the Process Manager Button. When you have finished your (test) solution you can easily remove the solution by selecting the solution in the Dataset of the Workbase and press Del.
Info |
---|
When you have built a solution, your |
...
Back to content | Continue with Include optional Entities Next >>