Difference between revisions of "AC Flat Examples"

From TDWG Terms Wiki
Jump to: navigation, search
(Unfold Example 1)
(Add subtable of variant independent terms)
Line 4: Line 4:
  
 
Example 1:  
 
Example 1:  
 +
  
 
<table class="wikitable">
 
<table class="wikitable">
Line 14: Line 15:
 
Example 2:
 
Example 2:
  
This unfolds Example 1 and shows the approach illustrated near the bottom of the section [[Audubon_Core_(1.0_normative)#Multiplicity.2FCardinality | Multiplicty/Cardinality]] in the [[Audubon_Core_(1.0_normative)| AC normative page]].  As there, this is simply an unfolding of the table of Example 1 comes only at the cost of  two additional cells per variant, namely the repeated required terms. It needs no new terminolgy, and if it did, so would all the other cases mentioned in [[Audubon_Core_(1.0_normative)#Multiplicity.2FCardinality | Multiplicty/Cardinality]]. There is no requirement stated in AC that a tabular representation have only one row.
+
This unfolds Example 1 and shows the approach illustrated near the bottom of the section [[Audubon_Core_(1.0_normative)#Multiplicity.2FCardinality | Multiplicty/Cardinality]] in the [[Audubon_Core_(1.0_normative)| AC normative page]].  As there, this is simply an unfolding of the table of Example 1 comes only at the cost of  two additional cells per variant, namely the repeated required terms. It also requires a second, single row table that is a proper subtable of the Example 1.  It needs no new terminolgy, and if it did, so would all the other cases mentioned in [[Audubon_Core_(1.0_normative)#Multiplicity.2FCardinality | Multiplicty/Cardinality]]. There is no requirement stated in AC that a tabular representation have only one row.
 +
 
 +
<table class="wikitable">
 +
<tr><td>'''dcterms:identifier'''</td><td>'''dcterms:title'''</td> <td>'''VariantIndependentTerm1'''</td><td>'''VariantIndependentTerm2'''</td><td>'''...'''</td></tr>
 +
<tr><td>http//:ex.com/pictures/thePicture.jpg</td><td>A red beech leaf</td><td>value1</td><td>value2</td><td>...</td></tr>
 +
</table>
  
 
<table class="wikitable">
 
<table class="wikitable">

Revision as of 23:13, 21 August 2013

This page contains examples of usage of Audubon Core in tabular form. It is not normative and at this writing contains only proposals.

When using a simple spreadsheet or single tables for data management, it may be necessary to flatten the ac accesspoint structure, i.e. the values of the ac:variant: "Thumbnail", "Trailer", "Lower Quality", "Medium Quality", "Good Quality", "Best Quality", "Offline" are used as prefixes for additional properties in a special acf (Audubon Core Flattened) namespace.

Example 1:


dcterms:identifierdcterms:titleacf:thumbnailAccessURIacf:thumbnailFormatacf:thumbnailImageWidthacf:thumbnailImageHeightacf:goodQualityAccessURIacf:goodQualityFormatacf:goodQualityImageWidthacf:goodQualityImageHeightacf:bestQualityAccessURIacf:bestQualityFormatacf:bestQualityImageWidthacf:bestQualityImageHeight
http//:ex.com/pictures/thePicture.jpgA red beech leafhttp://example.com/thumb/thePic.jpgimage/jpeg100100http://ex.com/img/thePic.jpgimage/jpeg10001000http://ex.com/hr/thePic.pngimage/png1000010000

Example 2:

This unfolds Example 1 and shows the approach illustrated near the bottom of the section Multiplicty/Cardinality in the AC normative page. As there, this is simply an unfolding of the table of Example 1 comes only at the cost of two additional cells per variant, namely the repeated required terms. It also requires a second, single row table that is a proper subtable of the Example 1. It needs no new terminolgy, and if it did, so would all the other cases mentioned in Multiplicty/Cardinality. There is no requirement stated in AC that a tabular representation have only one row.

dcterms:identifierdcterms:title VariantIndependentTerm1VariantIndependentTerm2...
http//:ex.com/pictures/thePicture.jpgA red beech leafvalue1value2...
dcterms:identifierdcterms:titleac:variantac:AccessURIdc:formatexif:pixelWidthexif:pixelHeight
http//:ex.com/pictures/thePicture.jpgA red beech leafThumbnailhttp://example.com/thumb/thePic.jpgimage/jpeg100100
http//:ex.com/pictures/thePicture.jpg Good Qualityhttp://ex.com/img/thePic.jpgimage/jpeg10001000
http//:ex.com/pictures/thePicture.jpg Best Qualityhttp://ex.com/hr/thePic.pngimage/png10001000