Difference between revisions of "AC Flat Examples"
(Unfold Example 1) |
|||
Line 3: | Line 3: | ||
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. | 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: | + | Example 1: |
<table class="wikitable"> | <table class="wikitable"> | ||
<tr><td>'''dcterms:identifier'''</td><td>'''dcterms:title'''</td><td>'''acf:thumbnailAccessURI'''</td><td>'''acf:thumbnailFormat'''</td><td>'''acf:thumbnailImageWidth'''</td><td>'''acf:thumbnailImageHeight'''</td><td>'''acf:goodQualityAccessURI'''</td><td>'''acf:goodQualityFormat'''</td><td>'''acf:goodQualityImageWidth'''</td><td>'''acf:goodQualityImageHeight'''</td><td>'''acf:bestQualityAccessURI'''</td><td>'''acf:bestQualityFormat'''</td><td>'''acf:bestQualityImageWidth'''</td><td>'''acf:bestQualityImageHeight''' | <tr><td>'''dcterms:identifier'''</td><td>'''dcterms:title'''</td><td>'''acf:thumbnailAccessURI'''</td><td>'''acf:thumbnailFormat'''</td><td>'''acf:thumbnailImageWidth'''</td><td>'''acf:thumbnailImageHeight'''</td><td>'''acf:goodQualityAccessURI'''</td><td>'''acf:goodQualityFormat'''</td><td>'''acf:goodQualityImageWidth'''</td><td>'''acf:goodQualityImageHeight'''</td><td>'''acf:bestQualityAccessURI'''</td><td>'''acf:bestQualityFormat'''</td><td>'''acf:bestQualityImageWidth'''</td><td>'''acf:bestQualityImageHeight''' | ||
</td></tr> | </td></tr> | ||
− | <tr><td>http//:ex.com/pictures/thePicture.jpg</td><td>A red beech leaf</td><td>http://example.com/thumb/thePic.jpg</td><td>image/jpeg</td><td>100</td><td>100</td><td>http://ex.com/img/thePic.jpg</td><td>image/jpeg</td><td>1000</td><td>1000</td><td>ex.com/hr/thePic.png</td><td>image/ | + | <tr><td>http//:ex.com/pictures/thePicture.jpg</td><td>A red beech leaf</td><td>http://example.com/thumb/thePic.jpg</td><td>image/jpeg</td><td>100</td><td>100</td><td>http://ex.com/img/thePic.jpg</td><td>image/jpeg</td><td>1000</td><td>1000</td><td>http://ex.com/hr/thePic.png</td><td>image/png</td><td>10000</td><td>10000</td> |
+ | </tr> | ||
+ | </table> | ||
+ | |||
+ | 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. | ||
+ | |||
+ | <table class="wikitable"> | ||
+ | <tr><td>'''dcterms:identifier'''</td><td>'''dcterms:title'''</td><td>'''ac:variant'''</td><td>'''ac:AccessURI'''</td><td>'''dc:format'''</td><td>'''exif:pixelWidth'''</td><td>'''exif:pixelHeight'''</td></tr> | ||
+ | |||
+ | <tr><td>http//:ex.com/pictures/thePicture.jpg</td><td>A red beech leaf</td><td>Thumbnail</td><td>http://example.com/thumb/thePic.jpg</td><td>image/jpeg</td><td>100</td><td>100</td></tr> | ||
+ | |||
+ | <tr><td>http//:ex.com/pictures/thePicture.jpg</td><td> </td><td>Good Quality</td><td>http://ex.com/img/thePic.jpg</td><td>image/jpeg</td><td>1000</td><td>1000</td> | ||
+ | |||
+ | <tr><td>http//:ex.com/pictures/thePicture.jpg</td><td> </td><td>Best Quality</td><td>http://ex.com/hr/thePic.png</td><td>image/png</td><td>1000</td><td>1000</td> | ||
</tr> | </tr> | ||
</table> | </table> |
Revision as of 22:54, 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:identifier | dcterms:title | acf:thumbnailAccessURI | acf:thumbnailFormat | acf:thumbnailImageWidth | acf:thumbnailImageHeight | acf:goodQualityAccessURI | acf:goodQualityFormat | acf:goodQualityImageWidth | acf:goodQualityImageHeight | acf:bestQualityAccessURI | acf:bestQualityFormat | acf:bestQualityImageWidth | acf:bestQualityImageHeight |
http//:ex.com/pictures/thePicture.jpg | A red beech leaf | http://example.com/thumb/thePic.jpg | image/jpeg | 100 | 100 | http://ex.com/img/thePic.jpg | image/jpeg | 1000 | 1000 | http://ex.com/hr/thePic.png | image/png | 10000 | 10000 |
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 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:identifier | dcterms:title | ac:variant | ac:AccessURI | dc:format | exif:pixelWidth | exif:pixelHeight |
http//:ex.com/pictures/thePicture.jpg | A red beech leaf | Thumbnail | http://example.com/thumb/thePic.jpg | image/jpeg | 100 | 100 |
http//:ex.com/pictures/thePicture.jpg | Good Quality | http://ex.com/img/thePic.jpg | image/jpeg | 1000 | 1000 | |
http//:ex.com/pictures/thePicture.jpg | Best Quality | http://ex.com/hr/thePic.png | image/png | 1000 | 1000 |