GregorHagedorn - Tue Aug 28 2007 - Version 1.16
Parent topic: SddContents

SDD Part 0: Introduction and Primer to the SDD Standard

3.17 Descriptive concepts.

Descriptive Concepts in SDD comprise terminological and ontological elements used in descriptions that extend the simple characters and states defined in the <Characters> element. Core descriptive concepts include score modifiers, grouping concepts used in character trees, and "global" (re-useable) states.

Score modifiers are data elements used to modify a standard score (code) in a coded description. For example, flowers in Viola odorata are normally violet but rarely white. In a coded description, the state "white" of the character "Flower colour" can be annotated with the modifer "rarely". The modifer and its meaning are defined in <DescriptiveConcepts>.

Grouping concepts are used when characters (defined in <Characters>) are arranged into character trees (in <CharacterTrees>). For example, the characters "Eye colour" and "Eye shape" may be arranged under the grouping concept "Eyes". The concept is defined in <DescriptiveConcepts> and referenced in <CharacterTrees>.

Global states are states used in multiple places in a character list. For example, the states "blue" and "white" may be used to describe both scales and fins in descriptions of fish. The states may be defined in <DescriptiveConcepts> then referenced for several characters in <Characters>.

3.17.1 Data modifier definitions.

In SDD all modifiers for probability (e.g. "possibly"), frequency (e.g. "rarely"), degree (e.g. "strongly"), timing (e.g. "when mature"), location (e.g. "at the base"), etc. are centrally managed using the <Modifers> element.

A simple SDD instance document for data modifiers (as used by Lucid (www.lucidcentral.org) has the basic structure shown below and in Example 3.17.1.1.

Example 3.17.1.1 - Describing the Lucid scoring model using the <modifiers> element.
    <DescriptiveConcepts>
      <DescriptiveConcept id="dc0">
        <Representation>
          <Label>Fixed set of modifiers supported in Lucid3</Label>
        </Representation>
        <Modifiers>
          <Modifier id="mod1">
            <Representation>
              <Label>rarely</Label>
            </Representation>
            <ModifierClass>Frequency</ModifierClass>
            <ProportionRange lowerestimate="0.0" upperestimate="0.25"/>
          </Modifier>
          <Modifier id="mod2">
            <Representation>
              <Label>uncertain</Label>
            </Representation>
            <ModifierClass>Certainty</ModifierClass>
            <ProportionRange lowerestimate="0.0" upperestimate="0.5"/>
          </Modifier>
          <Modifier id="mod3">
            <Representation>
              <Label>misinterpreted</Label>
            </Representation>
            <ModifierClass>TreatAsMisinterpretation</ModifierClass>
          </Modifier>
          <Modifier id="mod4">
            <Representation>
              <Label>unscoped</Label>
            </Representation>
            <ModifierClass>OtherModifierClass</ModifierClass>
          </Modifier>
        </Modifiers>
      </DescriptiveConcept>
    </DescriptiveConcepts>

The <Representation> element provides a label for a set of modifiers. This may be useful if the instance document includes multiple sets of modifiers for different purposes (e.g., "frequency modifiers", "certainty modifiers", "location modifiers", "color modifiers", "seasonal modifiers").

<ModifierClass> may optionally be used where interoperable specifications are desired. There are currently 6 modifier classes available:

Modifiers may be assigned language specific labels and assigned usage for generation of natural language descriptions. Using a very simple grammar, the concatenation of these phrases yields a simple natural language description. See the example below.

Example 3.17.1.2 - Language specific labels and modifiers.
<DescriptiveConcept id="dc40">
  <Representation>
    <Label>Preferred certainty modifiers</Label>
  </Representation>
  <Modifiers>
    <Modifier id="mc40">
      <Representation>
        <Label xml:lang="en">probably</Label>
        <Label xml:lang="de">vermutlich</Label>
      </Representation>
      <NaturalLanguage>
        <Phrase xml:lang="en" role="Before">probably </Phrase>
        <Phrase xml:lang="de" role="Before">vermutlich </Phrase>
      </NaturalLanguage>
      <ModifierClass>Certainty</ModifierClass>
      <ProportionRange lowerestimate="0.6" upperestimate="1"/>
    </Modifier>
    <Modifier id="mc41">
      <Representation>
        <Label xml:lang="en">perhaps</Label>
        <Label xml:lang="de">eventuell</Label>
      </Representation>
      <NaturalLanguage>
        <Phrase xml:lang="en" role="Before">perhaps </Phrase>
        <Phrase xml:lang="de" role="Before">eventuell </Phrase>
      </NaturalLanguage>
      <ModifierClass>Certainty</ModifierClass>
      <ProportionRange lowerestimate="0" upperestimate="0.5"/>
    </Modifier>
    <Modifier id="mc42">
      <Representation>
        <Label xml:lang="en">(by misinterpretation)</Label>
        <Label xml:lang="de">(durch Fehlinterpretation)</Label>
      </Representation>
      <NaturalLanguage>
        <Phrase xml:lang="en" role="After">(by misinterpretation)</Phrase>
        <Phrase xml:lang="de" role="After">(Fehlinterpretation)</Phrase>
      </NaturalLanguage>
      <ModifierClass>TreatAsMisinterpretation</ModifierClass>
      <ProportionRange lowerestimate="0" upperestimate="0"/>
    </Modifier>
  </Modifiers>
</DescriptiveConcept>

3.17.2 Grouping concepts

Character hierarchies comprise a tree of nodes with characters at the end of each branch, as demonstrated in the example below.

Internal nodes in a character tree are not characters but grouping concepts. These are defined in the <DescriptiveConcepts> element and referenced within the <CharacterTree> element, as in the example below.

      <DescriptiveConcepts>
      <DescriptiveConcept id="dc1">
        <Representation>
          <Label>Flowers</Label>
        </Representation>
      </DescriptiveConcept>
      <DescriptiveConcept id="dc2">
        <Representation>
          <Label>Petals</Label>
        </Representation>
      </DescriptiveConcept>
                 ...etc
      </DescriptiveConcepts>

For more information on using groupinf concepts to build a character tree, see the topic Character Hierarchies

3.17.3 Sharing states across characters (Concept States)

SDD provides a mechanism for defining state values that are reusable in multiple characters. For example the concept state 'blue' may be applied to many different colour descriptors such as "Eye colour', 'Fin colour' and 'Tail colour'. Similarly, the state "ovate" may be used for "Leaf shape", "Petal shape", "Seed shape" etc. Using concept states simplifies the management of terminology and improves data analysis, as states from different characters can be compared if they refer to identical concept states.

Concept states are defined in much the same way as local states (i.e. states defined within a character). Once defined, concept states are referenced in the definition of a character. The basic structure od SDD code for concept states has the basic structure shown below and in example 3.5.1.2.

Example 3.17.3.1 - SDD representation of the categorical characters in 3.5.1.1.
 <DescriptiveConcept id="dc40">
   <Representation>
     <Label>Preferred certainty modifiers</Label>
   </Representation>
   <ConceptStates>
     <StateDefinition id="cs1">
       <Representation>
         <Label>blue</Label>
       </Representation>
      </StateDefinition>
     <StateDefinition id="cs2">
       <Representation>
         <Label>white</Label>
       </Representation>
      </StateDefinition>
      ...etc.
    </ConceptStates>
 </DescriptiveConcept>
 ...
 <Characters>
   <CategoricalCharacter id="c1">
     <Representation>
       <Label>Eye Colour</Label>
     </Representation>
     <States>
       <StateReference ref="cs1"/>
       <StateReference ref="cs2"/>
     </States>
    </CategoricalCharacter>
    ...etc.
   </Characters>

In this example, the states "blue" and "white" are defined as <ConceptStates> within a descriptive concept. When the categorical character "Eye Colour" is defined in <Characters>, the concepts states are referenced (using their ids cs1 and cs2), instead of local states being defined.