Skip to content

Commit

Permalink
Changed annotation example to not reuse the packageId.
Browse files Browse the repository at this point in the history
Now the dataset has a different ID than the package, and I added annotation
examples pointing at each.
  • Loading branch information
mbjones committed Dec 2, 2018
1 parent 8cacf06 commit 3c7d8e3
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
Binary file modified lib/eml.jar
Binary file not shown.
10 changes: 9 additions & 1 deletion src/test/resources/eml-sample.xml
Expand Up @@ -6,7 +6,7 @@
xmlns:stmml="http://www.xml-cml.org/schema/stmml-1.1"
xsi:schemaLocation="eml://ecoinformatics.org/eml-2.2.0 xsd/eml.xsd">

<dataset id="doi:10.xxxx/eml.1.1">
<dataset id="dataset-01">
<title>Data from Cedar Creek LTER on productivity and species richness
for use in a workshop titled "An Analysis of the Relationship between
Productivity and Diversity using Experimental Results from the Long-Term
Expand Down Expand Up @@ -370,6 +370,14 @@
</dataTable>
</dataset>
<annotations>
<annotation references="doi:10.xxxx/eml.1.1">
<propertyURI label="Subject">http://purl.org/dc/elements/1.1/subject</propertyURI>
<valueURI label="terrestrial biome">http://purl.obolibrary.org/obo/ENVO_00000446</valueURI>
</annotation>
<annotation references="dataset-01">
<propertyURI label="Subject">http://purl.org/dc/elements/1.1/subject</propertyURI>
<valueURI label="grassland biome">http://purl.obolibrary.org/obo/ENVO_01000177</valueURI>
</annotation>
<annotation references="CDR-biodiv-table">
<propertyURI label="Subject">http://purl.org/dc/elements/1.1/subject</propertyURI>
<valueURI label="grassland biome">http://purl.obolibrary.org/obo/ENVO_01000177</valueURI>
Expand Down

0 comments on commit 3c7d8e3

Please sign in to comment.