wiki-archive/twiki/data/SDD/Primer/SddDatasets.txt

66 lines
2.4 KiB
Plaintext

%META:TOPICINFO{author="KevinThiele" date="1158294166" format="1.1" version="1.6"}%
%META:TOPICPARENT{name="SddContents"}%
---++SDD Part 0: Introduction and Primer to the SDD Standard
---+++3.1 Datasets in SDD documents
An SDD document will normally contain data about a single set of taxa described using a single set of characters. However, there may be occasions when it is useful to combine several related data sets into a single document.
For example, an SDD document may contain one data set providing descriptions of a set of parasites and another providing descriptions of their hosts. Since descriptions of the parasites and hosts will usually require different characters, it would not be appropriate to contain them within a single data set. Another SDD document may contain descriptions of one set of organisms provided by two different sources, each comprising an independent but related data set.
To accomodate this, the root element of SDD is called <Datasets>; containing a single [[TechnicalMetadata][<TechnicalMetadata>]] element and an unlimited number of <Dataset> elements. All other objects are inside one of the <Dataset> elements.
---++++Example 3.1.1 - An SDD document containing two datasets
<table bgcolor="#ddddff" border="0" width="100%" cellpadding="5" cellspacing="5" style="border-collapse: collapse" bordercolor="#111111">
<tr>
<td>
<verbatim>
<TechnicalMetadata created='2005-07-18T20:49:26'>
<Generator name='By Hand' version='1'/>
</TechnicalMetadata>
<Dataset>
<Representation>
<Label>Descriptions of Ithomid butterflies</Label>
</Representation>
<TaxonNames>
... (names of the butterfly taxa)
</TaxonNames>
<DescriptiveTerminology>
<Characters>
... (characters and states for the butterfly descriptions)
</Characters>
</DescriptiveTerminology>
<CodedDescriptions>
... (descriptions of the butterflies)
</CodedDescriptions>
</Dataset>
<Dataset>
<Representation>
<Label>Descriptions of parasitoid wasps of Ithomid butterflies</Label>
</Representation>
<TaxonNames>
... (names of the wasp taxa)
</TaxonNames>
<DescriptiveTerminology>
<Characters>
... (characters and states for the wasp descriptions)
</Characters>
</DescriptiveTerminology>
<CodedDescriptions>
... (descriptions of the wasps)
</CodedDescriptions>
</Dataset>
</Datasets>
</verbatim>
</td>
</tr>
</table>
-- Main.DonovanSharp - 01 Jun 2006