Skip to content

Commit

Permalink
add code sample to attribute annotation example
Browse files Browse the repository at this point in the history
Added an EML code snippet to demonstrate how EML attributes are annotated.
  • Loading branch information
stevenchong committed Dec 13, 2018
1 parent 1ceab64 commit 05332e0
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion docs/eml-semantic-annotations-primer.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,21 @@ insert introductory text here

- describe that this annotation is embedded within an EML `attribute` element and the annotation subject is the `attribute` id attribute value
- describe the propertyURI and valueURI elements in the annotation, the label attributes of these elements, and the content of these elements
- show an example annotation

Example EML `attribute` element annotation:

```
<attribute id="att.4">
<attributeName>pctcov</attributeName>
<attributeLabel>percent cover</attributeLabel>
<attributeDefinition>The percent ground cover on the field</attributeDefinition>
<annotation>
<propertyURI label="contains measurements of type">http://ecoinformatics.org/oboe/oboe.1.2/oboe-core.owl#containsMeasurementsOfType</propertyURI>
<valueURI label="Plant Cover Percentage">http://purl.dataone.org/odo/ECSO_00001197</valueURI>
</annotation>
</attribute>
```


## entity
Expand Down

0 comments on commit 05332e0

Please sign in to comment.