|
|||
|
This is version 10.
It is not the current version, and thus it cannot be edited. Coming soon!
SMS Semantic-Annotation XML Interchange FormatAn annotation is composed of three parts:
An annotation takes the following form, expressed in XML:
<sms:Annotation ID="..."> <sms:Resources> ... </sms:Resources> <sms:SemanticTypes> ... </sms:SemanticTypes> <sms:Encodings> ... </sms:Encodings> </sms:Annotation> Note that every annotation should have a unique identifier, preferably an LSID. We describe each of the annotation subelements in turn below.
ResourcesA resource can take one of the following three forms, depending its resource type (i.e., dataset, actor, or actor input/output port):
<sms:Dataset resource="..."/>
<sms:Actor resource="..."/>
<sms:ActorPort portName="..." resource="..."/> The Dataset tag designates a dataset resource, whose resource identifier is given via the resource attribute. A dataset identifier is a unique identifier (e.g., an LSID) for the dataset, and we assume that the dataset identifier can be used (via additional tools) to retrieve the actual dataset. The Actor tag designates an actor resource and the resource attribute the unique identifier for the actor being reference. The ActorPort tag denotes a port of an actor. The portName attribute specifies the port for an actor identified via the resource attribute. A Resources element in an annotation must specify at least one resource subelement (either Dataset, Actor, or ActorPort). More than one resource subelement is permitted. For each subelement, the resource is attribute is required. In addition, for ActorPort elements, the portName attribute is required.
Semantic Types
|
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 |