Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

...

1   

...

 

Including the first entity Image Added

You are now going to create the first entity in the newly created taxonomy (see Preparing a knowledge base for Taxonomy/Entity use).

  • Right-click on the QTaxonomy node in the Workbase and select Taxonomy > Include new Entity, or press Ctrl+F3:

Image Added

To create the first Entity in your Taxonomy, first select the QTaxonomy object in the WorkbaseSelect the right mouse button menu Taxonomy>Include new Entity or press Ctrl+F3, see Figure 40. This opens the Entity Editor, see Figure 41.

Image Removed

Figure 40: Include new Entity

Image Removed

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.

  • Provide the

...

  • name Ship configurator

...

  • in the field Entity Name and click OK

Image Added

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):

Image Added

Every entity Every 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 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!

Image Removed

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.

2    Including more entities Image Added

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).

  • Right-click on the Ship configurator entity in the Workbase. Select Taxonomy > Include new Entity or press Ctrl+F3
  • In the Entity Editor, select Entity type Singular obligatory and name the entity Ship design and press OK.

There need to be added some more entities now. These will be optional entities.

  • Select the 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.
  • Do the same for the entities 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.

3    Changing entity type and sequence Image Added

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.

Image Added

4    Creating a test solution

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 QTaxonomy object is hidden. You can toggle its visibility with Ctrl+H.

after closing the Entity Editor. 

Back to content |  Continue with Include optional Entities Next >>