vo-dml
This model defines types and roles that can be used when "mapping" VO-DML models.
For example it can be used to annotate data containers such as
VOTable, TAP_SCHEMA or FITS, to indicate the role that particular
mapping elements (identified by vodmlref-s) play in the mapping.
See the "mapping document" at
https://code.google.com/p/volute/source/browse/trunk/projects/dm/vo-dml/doc/MappingDMtoVOTable-v1.0.docx
for more information. (link to be updated)
VO-DML Meta-Model
0.x
2013-02-18T06:17:55
ivoa
http://volute.g-vo.org/svn/trunk/projects/dm/vo-dml/models/ivoa/IVOA.vo-dml.xml
http://volute.g-vo.org/svn/trunk/projects/dm/vo-dml/models/ivoa/IVOA.html
ref
ref
Represents a VODMLREF as defined in the VO-DML/Schema, i.e. a reference to an element in some VO-DML model.
MUST obey the syntax for such references as defined in the VO-DML and mapping documents.
i.e. must be of form: model-name ":" vodml-id
...
ivoa:string
Identifier
Identifier
This type represents an identifier as one or more string values, fields.
IMPORTANT this type allows multiple fields.
Identifier.field
field
....
vo-dml:IdentifierField
1
-1
ObjectIdentifier
ObjectIdentifier
This type represents an identifier of an ObjectTypeInstance.
vo-dml:Identifier
ReferenceIdentifier
ReferenceIdentifier
This type represents an identifier on a Reference, identifying a referenced ObjectTypeInstance
through equality of its contents.
vo-dml:Identifier
IdentifierField
IdentifierField
IdentifierField.value
value
ivoa:string
1
1
IdentifierField.ref
ref
Optional attribute that may be used to reference another element in an annotated document.
ivoa:string
0
1
Model
Model
This type represents a usage of a data model spec in a serialisation, i.e. a model instance.
It has attributes allowing lookup of the actual spec, assigning a prefix to
refer to elements from the model using utypes (if different from the
model's name.)
And it has an (implicit) collection of (root) instances.
Model.url
url
URL from which the VO-DML/XML representation of the model can be retrieved.
ivoa:anyURI
1
1
Model.ivoId
ivoId
Attribute identifying Model in some registry.
ivoa:string
1
1
Model.name
name
The (short) name of the model.
Used as prefix in vodmlref expressions pointing at elements in the model.
ivoa:string
1
1
Instance
Instance
This type represents an instance of a VO-DML Type.
Instance.type
type
The type of the instance, represented by a vodmlref.
vo-dml:ref
1
1
ObjectTypeInstance
ObjectTypeInstance
This represents instances of object types in serialisations.
vo-dml:Instance
ObjectTypeInstance.ID
ID
Simple Identifier of an Object
ivoa:string
0
1
ObjectTypeInstance.identifier
identifier
An identifier of the Object
vo-dml:ObjectIdentifier
0
-1
ObjectTypeInstance.container
container
Reference to an instance that contains this instance.
vo-dml:ObjectTypeInstance
0
1
Collection
Collection
Represents a collection of objecttype instances
Collection.item
item
...
vo-dml:Reference
0
-1
Reference
Reference
This type represents a (lazy) reference to another object.
It represents the referenced object by wrapping its identifier.
Is able to provide explicit information on the type of the reference object,
so that this does not have to be inferred
from the reference.
GROUPref
GROUPref
This type represents a reference where a single @ref on a GROUP
in combination with the way that the referencing object is
represented is sufficient to identify the referenced object.
There are two possibilities, either the @ref identifies a singleton GROUP
or it references a GROUP in the same TABLE as the referrer, in which case the referenced object is assumed to be
stored in the same row as the referrer.
vo-dml:Reference
GROUPref.ref
ref
ref identifying the GROUP representing the referenced Object.
vo-dml:ref
1
1
ORMReference
ORMReference
This type represents the object-relational mapping of a reference.
It identifies the referenced object as being in the same document.
Having an identical identifier element, consisting of one or more fields.
vo-dml:Reference
ORMReference.collection
collection
Optional ref identifying the collection on the identified object this child object belongs to.
vo-dml:ref
0
1
ORMReference.ID
id
The ID of the referenced object.
vo-dml:ReferenceIdentifier
1
1
RemoteReference
RemoteReference
This type represents a Reference to an object stored remotely.
vo-dml:Reference
Reference.ivoid
ivoid
The IVOIdentifier of the referenced object, assumed to be stored in an IVOA Registry.
ivoa:anyURI
0
1
Reference.url
ivoid
A URL allowing one to retrieve a representation of the referenced object.
May contain a fragment identifier.
Detailed structure left open.
ivoa:anyURI
0
1