|
|||
|
This is version 32.
It is not the current version, and thus it cannot be edited. Coming soon!
KR/SMS Semantic TypesDatasets, actors (also known as services), and actor input and output ports are examples of resources that can have semantic types, that is, types that classify and constraint the semantic, as opposed to structural interpretation of resources. A semantic type may also describe how the semantic interpretation is "encoded" within a resource. For example, given a dataset whose semantic type is measurements of biomass for species sampled at certain locations, an "encoding" may state that a particular column denotes the biomass or that some other column denotes the location of measurements. We define a semantic type as a set of one or more semantic annotations. Generally speaking, a semantic annotation assigns some object (or set of objects) within a resource a meaning, where the "meaning" is specified via ontology expressions (that use terms from ontologies). A semantic annotation serves to "link" or "glue" a portion of a resource to a portion of an ontology. We describe here an XML representation for semantic types. Semantic types expressed in the XML representation take the form:
<sms:SemanticType ID="..."> <sms:Label name="..." resource="..."/> ... <sms:Annotation thing="..." meaning="..."/> ... </sms:SemanticType> A semantic type should have a unique identifier, which can be given using the ID attribute. The identifier should preferably be represented as an LSID, and the semantic type managed as an LSID resource.
LabelsLabels within semantic-type descriptions provide a mechanism to name certain resources and ontology terms. The Label element assigns the name attribute value as the name, or "tag" for the associated resource given by the resource attribute value (this attribute value is an identifier for a resource). A label name is used within an annotation to describe a resource. Each Label tag is required to have exactly one name and object attribute. A SemanticType element must have at least one Label sub-element. Further, no two Label elements within a semantic type may have the same value for the name attribute.
Annotations
Examples
|
This material is based upon work supported by the National Science Foundation under award 0225676. Any opinions, findings and conclusions or recomendations expressed in this material are those of the author(s) and do not necessarily reflect the views of the National Science Foundation (NSF). Copyright 2004 Partnership for Biodiversity Informatics, University of New Mexico, The Regents of the University of California, and University of Kansas |