wiki-archive/twiki/static/codedsampledescription.html

186 lines
9.5 KiB
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-us" lang="en-us">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-15" />
<link rel="stylesheet" type="text/css" href="sdd1.css">
</head>
<body bgcolor="#ffffff">
<a name="PageTop"></a>
<p />
<h2><a name="SDD_Part_0_Introduction_and_Prim"></a> SDD Part 0: Introduction and Primer to the SDD Standard </h2>
<p />
<h3><a name="2_2_SDD_for_coded_sample_descrip"></a> 2.2 SDD for coded sample descriptions </h3>
<p />
Sample data descriptions (Box 2.1.1.2) usually comprise repeated measurements of parts of individual specimens, and are the basis from which the more abstracted descriptions in natural language and coded descriptions are derived. Few taxonomists consistently record and archive their raw data in a standardised format.
<p />
<h4><a name="Box_2_2_1_Example_of_sample_spec"></a> Box 2.2.1 - Example of sample (specimen) descriptive data </h4>
<p />
<div>
<table bgcolor="#ddddff" border="1" width="80%" cellspacing="0" id="table10" cellpadding="0">
<tr>
<td rowspan="2" align="center">Specimen</td>
<td colspan="5" align="center">Spore length</td>
<td colspan="5" align="center">Spore width</td>
<td width="163" rowspan="2" align="center">Spore colour</td>
</tr>
<tr>
<td width="25" align="center">1</td>
<td width="25" align="center">2</td>
<td width="25" align="center">3</td>
<td width="25" align="center">4</td>
<td width="25" align="center">5</td>
<td width="25" align="center">1</td>
<td width="25" align="center">2</td>
<td width="25" align="center">3</td>
<td width="25" align="center">4</td>
<td width="25" align="center">5</td>
</tr>
<tr>
<td align="center">TJM45337</td>
<td width="25" align="center">12</td>
<td width="25" align="center">13</td>
<td width="25" align="center">12</td>
<td width="25" align="center">15</td>
<td width="25" align="center">11</td>
<td width="25" align="center">8</td>
<td width="25" align="center">8</td>
<td width="25" align="center">7</td>
<td width="25" align="center">6</td>
<td width="25" align="center">6</td>
<td width="163" align="center">brown</td>
</tr>
<tr>
<td align="center">TLM33466</td>
<td width="25" align="center">15</td>
<td width="25" align="center">18</td>
<td width="25" align="center">17</td>
<td width="25" align="center">17</td>
<td width="25" align="center">15</td>
<td width="25" align="center">10</td>
<td width="25" align="center">8</td>
<td width="25" align="center">9</td>
<td width="25" align="center">9</td>
<td width="25" align="center">10</td>
<td width="163" align="center">yellow</td>
</tr>
</table>
</div>
<p />
Coded sample descriptions record the range of characteristics found in an individual, as opposed to a class or taxon (e.g. species, genus etc.). To record summary data for taxonomic levels higher than the individual, see the topic <a href="codeddata.html">Using SDD for coded summary descriptions</a>.
<p />
A coded sample description requires three essential items: the identifiers of the specimens being described, a set of descriptors (characters and states) used to describe the specimens, and the coded descriptions themselves.
<p />
A simple SDD instance document representing part of the sample data above has the basic structure shown below and in Example 2.2.1.
<p />
<img alt="coded_sample_descriptions.gif" src="http://wiki.tdwg.org/twiki/static/_publish/coded_sample_descriptions.gif" />
<p />
<p />
<h4><a name="Example_2_2_1_A_simple_coded_sam"></a> Example 2.2.1 - A simple coded sample description </h4>
<p />
<table bgcolor="#ddddff" border="0" width="100%" cellpadding="5" cellspacing="5" style="border-collapse: collapse" bordercolor="#111111">
<tr>
<td>
<pre>
&#60;?xml version&#61;&#34;1.0&#34; encoding&#61;&#34;UTF-8&#34;?&#62;
&#60;Datasets xsi:schemaLocation&#61;&#34;http://ns.tdwg.org/UBIF/2006 http://www.lucidcentral.org/2006/SDD/SDD1.1-RC1/SDD.xsd&#34; xmlns&#61;&#34;http://ns.tdwg.org/UBIF/2006&#34; xmlns:xsi&#61;&#34;http://www.w3.org/2001/XMLSchema-instance&#34;&#62;
&#60;TechnicalMetadata created&#61;&#34;2006-06-22T11:19:56.007+10:00&#34;&#62;
&#60;Generator name&#61;&#34;by hand&#34; version&#61;&#34;1&#34;/&#62;
&#60;/TechnicalMetadata&#62;
&#60;Dataset xml:lang&#61;&#34;en-us&#34;&#62;
&#60;Representation&#62;
&#60;Label&#62;sample data example&#60;/Label&#62;
&#60;/Representation&#62;
&#60;Specimens&#62;
&#60;Specimen id&#61;&#34;sp1&#34;&#62;
&#60;Representation&#62;
&#60;Label&#62;TJM45337&#60;/Label&#62;
&#60;/Representation&#62;
&#60;/Specimen&#62;
&#60;Specimen id&#61;&#34;sp2&#34;&#62;
&#60;Representation&#62;
&#60;Label&#62;TLM33466&#60;/Label&#62;
&#60;/Representation&#62;
&#60;/Specimen&#62;
...etc
&#60;/Specimens&#62;
&#60;Characters&#62;
&#60;QuantitativeCharacter id&#61;&#34;ch1&#34;&#62;
&#60;Representation&#62;
&#60;Label&#62;Spore length&#60;/Label&#62;
&#60;/Representation&#62;
&#60;/QuantitativeCharacter&#62;
&#60;CategoricalCharacter id&#61;&#34;ch3&#34;&#62;
&#60;Representation&#62;
&#60;Label&#62;Spore colour&#60;/Label&#62;
&#60;/Representation&#62;
&#60;States&#62;
&#60;StateDefinition id&#61;&#34;s1&#34;&#62;
&#60;Representation&#62;
&#60;Label&#62;brown&#60;/Label&#62;
&#60;/Representation&#62;
&#60;/StateDefinition&#62;
&#60;StateDefinition id&#61;&#34;s2&#34;&#62;
&#60;Representation&#62;
&#60;Label&#62;yellow&#60;/Label&#62;
&#60;/Representation&#62;
&#60;/StateDefinition&#62;
...etc
&#60;/States&#62;
&#60;/CategoricalCharacter&#62;
...etc
&#60;/Characters&#62;
&#60;CodedDescriptions&#62;
&#60;CodedDescription&#62;
&#60;Representation&#62;
&#60;Label&#62;Specimen data for fungal specimens&#60;/Label&#62;
&#60;/Representation&#62;
&#60;SampleData&#62;
&#60;SamplingEvent id&#61;&#34;TJM45337&#34;&#62;
&#60;SamplingUnit&#62;
&#60;Quantitative ref&#61;&#34;ch1&#34; value&#61;&#34;12&#34;/&#62;
&#60;/SamplingUnit&#62;
&#60;SamplingUnit&#62;
&#60;Quantitative ref&#61;&#34;ch1&#34; value&#61;&#34;13&#34;/&#62;
&#60;/SamplingUnit&#62;
&#60;SamplingUnit&#62;
&#60;Quantitative ref&#61;&#34;ch1&#34; value&#61;&#34;12&#34;/&#62;
&#60;/SamplingUnit&#62;
&#60;SamplingUnit&#62;
&#60;Quantitative ref&#61;&#34;ch1&#34; value&#61;&#34;15&#34;/&#62;
&#60;/SamplingUnit&#62;
&#60;SamplingUnit&#62;
&#60;Quantitative ref&#61;&#34;ch1&#34; value&#61;&#34;11&#34;/&#62;
&#60;/SamplingUnit&#62;
&#60;SamplingUnit&#62;
&#60;Categorical ref&#61;&#34;ch3&#34;&#62;
&#60;State ref&#61;&#34;s1&#34;/&#62;
&#60;/Categorical&#62;
&#60;/SamplingUnit&#62;
&#60;/SamplingEvent&#62;
...etc
&#60;/SampleData&#62;
&#60;/CodedDescription&#62;
&#60;/CodedDescriptions&#62;
&#60;/Dataset&#62;
&#60;/Datasets&#62;
</pre>
</td>
</tr>
<p />
</table>
<p />
For more information on defining sampling units using the &lt;Specimens&gt; element, see the topic <a href="specimennames.html">Defining specimen names</a>.
For more information on defining characters and states using the &lt;Characters&gt; element, see the topic <a href="sddcharacters.html">Defining characters and states</a>.
<p />
Note that characters can also be arranged into hierarchies. See the topic <a href="characterhierarchies.html">Defining character hierarchies</a> for more information.
<p />
The &lt;Representation&gt; element provides a label for the description. This may be useful if the instance document includes multiple descriptions for different purposes, or is intended for publication in multiple languages (see the topic <a href="sddlanguage.html">Language support in SDD</a>.
<p />
The &lt;SamplingEvent&gt; includes elements specifying the timing and location of the sample data. For more information see the topic <a href="samplingevent.html">Elements within &lt;SamplingEvent&gt;</a>
<p />
Characters used in the description are listed under &lt;SampleData&gt;. SDD distinguishes between different kinds of characters (see the topic <a href="sddcharacters.html">Defining characters and states</a> for more information). For categorical characters (characters with states) the states occurring in the taxon being described are listed by reference. In the example given above, the specimen TJM45337 is described as having brown spores (state s1 of character ch3) while specimen TLM33466is described as having yellow spores (state s2 of character ch3). Note that states that are not listed are inferred to not occur in the taxon being described.
<p />
-- KevinThiele - 06 Jul 2006
<p />
<p />
</body></html>