Project

General

Profile

« Previous | Next » 

Revision 11071

mappings/VegCore.htm: regenerated from wiki. added Stratum table.

View differences:

VegCore.htm
6 6
<meta name="description" content="Redmine" />
7 7
<meta name="keywords" content="issue,bug,tracker" />
8 8
<meta content="authenticity_token" name="csrf-param" />
9
<meta content="rFhHXZ7ZuBRqs3Z47TnkXu5tUfZB8OWvZlopwq5UnpM=" name="csrf-token" />
9
<meta content="k2WFMqKceqJ3OEvNe6iUOYLlU3M9FuY0FjDyfMY0JRM=" name="csrf-token" />
10 10
<link rel='shortcut icon' href='/nceas/favicon.ico?1347421715' />
11 11
<link href="/nceas/stylesheets/jquery/jquery-ui-1.9.2.css?1364512407" media="all" rel="stylesheet" type="text/css" />
12 12
<link href="/nceas/stylesheets/application.css?1364512407" media="all" rel="stylesheet" type="text/css" />
......
146 146
<h1 >Tables<a href="#Tables" class="wiki-anchor">&para;</a></h1>
147 147

  
148 148

  
149
	<p>The schema makes extensive use of inheritance, which can be implemented in <a href="http://stackoverflow.com/questions/3579079/how-can-you-represent-inheritance-in-a-database#3579462" class="external">several ways</a>. The tables are shown in the ERD using <a href="http://stackoverflow.com/questions/3579079/how-can-you-represent-inheritance-in-a-database#3579462" class="external">class table inheritance</a> (option 3 in the link), while <a href="http://stackoverflow.com/questions/3579079/how-can-you-represent-inheritance-in-a-database#3579462" class="external">single table inheritance</a> (option 1) is similar to the denormalized, full_occurrence format.</p>
149
	<p>The schema makes extensive use of inheritance, which can be implemented in <a href="http://stackoverflow.com/questions/3579079/how-can-you-represent-inheritance-in-a-database#3579462" class="external">several ways</a>. The tables are shown in the ERD using <a href="http://stackoverflow.com/questions/3579079/how-can-you-represent-inheritance-in-a-database#3579462" class="external">class table inheritance</a> (option 3 in the link), which is considered the best practice for most database engines. However, <em>if and only if</em> <a href="http://www.postgresql.org/docs/9.1/static/ddl-inherit.html" class="external">PostgreSQL-style inheritance</a> is available, it's actually better to use <a href="http://stackoverflow.com/questions/3579079/how-can-you-represent-inheritance-in-a-database#3579462" class="external">concrete table inheritance</a> (option 2), which avoids both the need to insert into each superclass table separately, and the need to join to superclass tables when selecting<sup><a href="#fn1">1</a></sup>. When this is not available, you can also get these benefits via <a href="http://stackoverflow.com/questions/3579079/how-can-you-represent-inheritance-in-a-database#3579462" class="external">single table inheritance</a> (option 1, which is the denormalized, full_occurrence format) at the expense of not having separate tables for the separate subclasses.</p>
150 150

  
151 151

  
152
	<p><a href="http://VegCore.vegpath.org/ERD/"><img src="http://vegpath.org/VegCore/ERD.png" title="VegCore schema: click for hyperlinked version" alt="VegCore schema: click for hyperlinked version" /></a></p>
152
	<p id="fn1" class="footnote"><sup>1</sup> at the cost of slightly slower index scans when there is a large number of subclasses and rows are evenly distributed between them (because each subclass index needs to be scanned separately)</p>
153 153

  
154 154

  
155
	<p><a href="#Source" class="wiki-page">Source</a><br /><a href="#Dataset" class="wiki-page">Dataset</a><br /><a href="#Record" class="wiki-page">Record</a><br /><a href="#Occurrence" class="wiki-page">Occurrence</a><br /><a href="#Method" class="wiki-page">Method</a><br /><a href="#Project" class="wiki-page">Project</a><br /><a href="#Event" class="wiki-page">Event</a><br /><a href="#Coordinates" class="wiki-page">Coordinates</a><br /><a href="#Placename" class="wiki-page">Placename</a><br /><a href="#Geovalidation" class="wiki-page">Geovalidation</a><br /><a href="#Location" class="wiki-page">Location</a><br /><a href="#LocationObservation" class="wiki-page">LocationObservation</a><br /><a href="#Subplot" class="wiki-page">Subplot</a><br /><a href="#SubplotObservation" class="wiki-page">SubplotObservation</a><br /><a href="#SoilObservation" class="wiki-page">SoilObservation</a><br /><a href="#GeologicalContext" class="wiki-page">GeologicalContext</a><br /><a href="#Community" class="wiki-page">Community</a><br /><a href="#TaxonName" class="wiki-page">TaxonName</a><br /><a href="#TaxonConcept" class="wiki-page">TaxonConcept</a><br /><a href="#QualifiedTaxonName" class="wiki-page">QualifiedTaxonName</a><br /><a href="#MatchedTaxon" class="wiki-page">MatchedTaxon</a><br /><a href="#AcceptedTaxon" class="wiki-page">AcceptedTaxon</a><br /><a href="#TaxonOccurrence" class="wiki-page">TaxonOccurrence</a><br /><a href="#TaxonDetermination" class="wiki-page">TaxonDetermination</a><br /><a href="#OriginalTaxonDetermination" class="wiki-page">OriginalTaxonDetermination</a><br /><a href="#TaxonObservation" class="wiki-page">TaxonObservation</a><br /><a href="#AggregateObservation" class="wiki-page">AggregateObservation</a><br /><a href="#Individual" class="wiki-page">Individual</a><br /><a href="#IndividualObservation" class="wiki-page">IndividualObservation</a><br /><a href="#Stem" class="wiki-page">Stem</a><br /><a href="#StemObservation" class="wiki-page">StemObservation</a><br /><a href="#Collection" class="wiki-page">Collection</a><br /><a href="#Specimen" class="wiki-page">Specimen</a><br /><a href="#Voucher" class="wiki-page">Voucher</a><br /><a href="#Measurement" class="wiki-page">Measurement</a><br /><a href="#ResourceRelationship" class="wiki-page">ResourceRelationship</a></p>
155
	<p><a href="http://VegCore.vegpath.org/ERD/"><img src="http://vegpath.org/VegCore/ERD/VegCore.ERD.png" title="VegCore schema: click for hyperlinked version" alt="VegCore schema: click for hyperlinked version" /></a></p>
156 156

  
157 157

  
158
	<p><a href="#Source" class="wiki-page">Source</a><br /><a href="#Dataset" class="wiki-page">Dataset</a><br /><a href="#Record" class="wiki-page">Record</a><br /><a href="#Occurrence" class="wiki-page">Occurrence</a><br /><a href="#Method" class="wiki-page">Method</a><br /><a href="#Stratum" class="wiki-page">Stratum</a><br /><a href="#Project" class="wiki-page">Project</a><br /><a href="#Event" class="wiki-page">Event</a><br /><a href="#Coordinates" class="wiki-page">Coordinates</a><br /><a href="#Placename" class="wiki-page">Placename</a><br /><a href="#Geovalidation" class="wiki-page">Geovalidation</a><br /><a href="#Location" class="wiki-page">Location</a><br /><a href="#LocationObservation" class="wiki-page">LocationObservation</a><br /><a href="#Subplot" class="wiki-page">Subplot</a><br /><a href="#SubplotObservation" class="wiki-page">SubplotObservation</a><br /><a href="#SoilObservation" class="wiki-page">SoilObservation</a><br /><a href="#GeologicalContext" class="wiki-page">GeologicalContext</a><br /><a href="#Community" class="wiki-page">Community</a><br /><a href="#TaxonName" class="wiki-page">TaxonName</a><br /><a href="#TaxonConcept" class="wiki-page">TaxonConcept</a><br /><a href="#QualifiedTaxonName" class="wiki-page">QualifiedTaxonName</a><br /><a href="#MatchedTaxon" class="wiki-page">MatchedTaxon</a><br /><a href="#AcceptedTaxon" class="wiki-page">AcceptedTaxon</a><br /><a href="#TaxonOccurrence" class="wiki-page">TaxonOccurrence</a><br /><a href="#TaxonDetermination" class="wiki-page">TaxonDetermination</a><br /><a href="#OriginalTaxonDetermination" class="wiki-page">OriginalTaxonDetermination</a><br /><a href="#TaxonObservation" class="wiki-page">TaxonObservation</a><br /><a href="#AggregateObservation" class="wiki-page">AggregateObservation</a><br /><a href="#Individual" class="wiki-page">Individual</a><br /><a href="#IndividualObservation" class="wiki-page">IndividualObservation</a><br /><a href="#Stem" class="wiki-page">Stem</a><br /><a href="#StemObservation" class="wiki-page">StemObservation</a><br /><a href="#Collection" class="wiki-page">Collection</a><br /><a href="#Specimen" class="wiki-page">Specimen</a><br /><a href="#Voucher" class="wiki-page">Voucher</a><br /><a href="#Measurement" class="wiki-page">Measurement</a><br /><a href="#ResourceRelationship" class="wiki-page">ResourceRelationship</a></p>
159

  
160

  
158 161
<hr />
159 162

  
160 163

  
......
317 320
	<p style="padding-left:5em;">This applies to the <em>source</em> rather than the data record</p>
318 321

  
319 322

  
323
	<a name="pubDate"></a>
324
<h3  style="padding-left:4em;"><img src="_" style="padding: 0 0.3em 3pt 0.65em;font-weight: normal;" title="Synonym:" alt="Synonym:" /> <a href="#pubDate" class="wiki-page">pubDate</a> <img src="_" style="padding-left: 1em;font-size: small;font-weight: normal;" title="from" alt="from" /> <a href="http://vegbank.org/vegbank/views/dba_tabledescription_detail.jsp?view=detail&#38;wparam=reference&#38;entity=dba_tabledescription&#38;where=where_tablename#pubDate"><img src="_" style="font-size: small;" title="VegBank" alt="VegBank" /></a><a href="#pubDate" class="wiki-anchor">&para;</a></h3>
325

  
326

  
320 327
	<p style="padding-left:5em;">Compare to: <a href="#modified" class="wiki-page">modified</a></p>
321 328

  
322 329

  
......
696 703
<h3  style="padding-left:4em;"><img src="_" style="padding: 0 0.3em 3pt 0.65em;font-weight: normal;" title="Synonym:" alt="Synonym:" /> <a href="#observationType_SALVIAS" class="wiki-page">observationType_SALVIAS</a> <img src="_" style="padding-left: 1em;font-size: small;font-weight: normal;" title="from" alt="from" /> <a href="http://salvias.net/Documents/salvias_data_dictionary.html#Plot_metadata/observation_type"><img src="_" style="font-size: small;" title="SALVIAS" alt="SALVIAS" /></a> <img src="_" style="padding-left: 1em;font-size: small;font-weight: normal;" title="alternative of" alt="alternative of" /> <a href="https://projects.nceas.ucsb.edu/nceas/projects/bien/wiki/VegCore#observationType"><img src="_" style="font-size: small;" title="?observationType" alt="?observationType" /></a><a href="#observationType_SALVIAS" class="wiki-anchor">&para;</a></h3>
697 704

  
698 705

  
706
	<a name="Stratum"></a>
707
<h1 ><a href="#Stratum" class="wiki-page">Stratum</a> <img src="_" style="padding-left: 1em;font-size: small;font-weight: normal;" title="from" alt="from" /> <a href="http://VegX.vegpath.org?stratum"><img src="_" style="font-size: small;" title="VegX" alt="VegX" /></a> <img src="_" style="font-size: small;" title="|" alt="|" /> <a href="http://VegBank.vegpath.org?stratumType"><img src="_" style="font-size: small;" title="VegBank" alt="VegBank" /></a><a href="#Stratum" class="wiki-anchor">&para;</a></h1>
708

  
709

  
710
	<p style="padding-left:3em;">a non-horizontal way of subdividing a plot</p>
711

  
712

  
713
	<a name="stratum__name"></a>
714
<h2  style="padding-left:2em;"><a href="#stratum__name" class="wiki-page">stratum__name</a> <img src="_" style="padding-left: 1em;font-size: small;font-weight: normal;" title="from" alt="from" /> <a href="http://VegX.vegpath.org?stratum.stratumName"><img src="_" style="font-size: small;" title="VegX" alt="VegX" /></a> <img src="_" style="font-size: small;" title="|" alt="|" /> <a href="http://VegBank.vegpath.org?stratumType.stratumName"><img src="_" style="font-size: small;" title="VegBank" alt="VegBank" /></a><a href="#stratum__name" class="wiki-anchor">&para;</a></h2>
715

  
716

  
699 717
	<a name="Project"></a>
700 718
<h1 ><a href="#Project" class="wiki-page">Project</a> <img src="_" style="padding-left: 1em;font-size: small;font-weight: normal;" title="from" alt="from" /> <a href="http://wiki.tdwg.org/twiki/pub/Vegetation/WebHome/VegX_Schema_1.5.3_proposed.zip#/veg.xsd#/projects/project"><img src="_" style="font-size: small;" title="VegX" alt="VegX" /></a> <img src="_" style="font-size: small;" title="|" alt="|" /> <a href="http://vegbank.org/vegbank/views/dba_tabledescription_detail.jsp?view=detail&#38;wparam=project&#38;entity=dba_tabledescription&#38;where=where_tablename"><img src="_" style="font-size: small;" title="VegBank" alt="VegBank" /></a><a href="#Project" class="wiki-anchor">&para;</a></h1>
701 719

  

Also available in: Unified diff