From 8376bd10aa6865ea92ff16441c2e06173c7c7e56 Mon Sep 17 00:00:00 2001 From: Matt Jones Date: Sun, 23 Jul 2017 21:51:55 -0700 Subject: [PATCH] Added `annotation` fields for attribute, EntityGroup, and ResourceGroup. Continuing work on issue #25, added in fields of type sem:SemanticAnnotation in three key schemas. --- xsd/eml-attribute.xsd | 24 +++++++++++++++++++++++- xsd/eml-entity.xsd | 21 ++++++++++++++++++++- xsd/eml-resource.xsd | 21 ++++++++++++++++++++- xsd/eml-semantics.xsd | 9 +++++++-- 4 files changed, 70 insertions(+), 5 deletions(-) diff --git a/xsd/eml-attribute.xsd b/xsd/eml-attribute.xsd index ebe1fdbc..bcec2900 100644 --- a/xsd/eml-attribute.xsd +++ b/xsd/eml-attribute.xsd @@ -1,11 +1,12 @@ - + + '$RCSfile: eml-attribute.xsd,v $' @@ -755,6 +756,27 @@ + + + + Semantic Annotation + A precisely-defined semantic type for this attribute. + + An annotation represents a precisely-defined semantic + type that applies to this attribute. This semantic type is used to + associate precise measurement semantics with the attribute, including + the property that is being measured (oboe:Characteristic), the entity + that is being measured (oboe:Entity), and the measurement standard for + interpreting values for this attribute (oboe:Standard). Each annotation + consists of a termURI which is the canonical reference fo the term, and + a termLabel that can be used to display the term to users. The termURI is + typically resolvable to a controlled vocabulary that provides a definition, + relationships to other terms, and multiple labels for displaying the term. + + + + diff --git a/xsd/eml-entity.xsd b/xsd/eml-entity.xsd index 88a6b1b6..564c93e3 100644 --- a/xsd/eml-entity.xsd +++ b/xsd/eml-entity.xsd @@ -1,5 +1,5 @@ - + @@ -8,6 +8,7 @@ + '$RCSfile: eml-entity.xsd,v $' @@ -281,6 +282,24 @@ + + + + Semantic Annotation + A precisely-defined semantic type for this entity. + + An annotation represents a precisely-defined semantic + type that applies to this entity. This semantic type is used to + associate precise measurement semantics with the entity. Each annotation + consists of a termURI which is the canonical reference fo the term, and + a termLabel that can be used to display the term to users. The termURI is + typically resolvable to a controlled vocabulary that provides a definition, + relationships to other terms, and multiple labels for displaying the term. + + + + diff --git a/xsd/eml-resource.xsd b/xsd/eml-resource.xsd index 05393e39..b0a9e8c0 100644 --- a/xsd/eml-resource.xsd +++ b/xsd/eml-resource.xsd @@ -1,9 +1,10 @@ - + + @@ -390,6 +391,24 @@ + + + + Semantic Annotation + A precisely-defined semantic type for this resource. + + An annotation represents a precisely-defined semantic + type that applies to this resource. This semantic type is used to + associate precise semantics with the resource. Each annotation + consists of a termURI which is the canonical reference fo the term, and + a termLabel that can be used to display the term to users. The termURI is + typically resolvable to a controlled vocabulary that provides a definition, + relationships to other terms, and multiple labels for displaying the term. + + + + diff --git a/xsd/eml-semantics.xsd b/xsd/eml-semantics.xsd index 701a7669..7e30a9d9 100644 --- a/xsd/eml-semantics.xsd +++ b/xsd/eml-semantics.xsd @@ -83,9 +83,12 @@ an additional abstraction layer via link resolvers, rather than directly resolving to the term definition itself. Thus, when resolving the termURI, software user agents should be prepared to follow multiple redirects before - finally resolving the current location of the term definition. + finally resolving the current location of the term definition. However, there + is no requirement that termURIs need to be resolvable, and metadata parsers should + expect to find termURIs that do not resolve and are only used as unique URIs for the term. - http:// + http://ecoinformatics.org/oboe/oboe.1.2/oboe-characteristics.owl#Mass + http://ecoinformatics.org/oboe/oboe.1.2/oboe-standards.owl#Kilogram @@ -110,6 +113,8 @@ the definition of the term and retrieve additional labels and other metadata about the term for presentation to users. + Mass + Kilogram Net Primary Production Carbon Density