Closed mcdittmar closed 1 month ago
first, is multiplicity 1 for an element which is often missing from serializations
This still has to be checked
as I understand it,
right, the description just gives to the annoter the opportunity to say something more
I realize this is a grey area,
Mango descriptions provides it. Form a mamgo point of view, it is more logical to have descriptions in Properties (question of scope)
Annotation
Right. My annotation system propose shorcut element (prefixed by SC_) for this sort of purpose though this specific case is not taken into consideration for now. This feature has been required by Gilles
So, this may be important in our discussion about the annotation syntax.
Hmm.. I just read through the description of the SC* elements, and don't see how these help in annotating content within the VOTable atom. The description looks like it consolidates a group of ATTRIBUTE nodes to populate a full ivoa:Quantity with one annotation tag. In the Mapping syntax, this is not necessary since LITERAL, CONSTANT and COLUMN can populate the full Quantity. I don't think the SC* tag helps unless the description is independently serialized in its own PARAM|FIELD, in which case it is referable and not a problem.
I've added a note into the Wiki for your implementations https://github.com/ivoa/dm-usecases/wiki/mango.
On Fri, Mar 12, 2021 at 8:36 AM Laurent MICHEL @.***> wrote:
Annotation
Right. My annotation system propose shorcut element (prefixed by SC_) for this sort of purpose though this specific case is not taken into consideration for now. This feature has been required by Gilles
This is a good point.
SC_FIELD could carry the DESCRIPTION but it is better to allow to get that description by a specific tag. I like you proposal:
"Any object may have a description. If supported by the implementation, the value is pulled from the VOTable DESCRIPTION sub-node of the associated PARAM|FIELD|TABLE" (we don't annotate GROUPs I think).
Another option would be to add a new Element to the syntax
<DESCRIPTION dmrole=description ref="col#4">
instead of<ATTRIBUTE dmrole=description ref=???>
or
<ATTRIBUTE dmrole=description ref=col#4 ele=desc>
ele can by desc/ucd/unit
Having "descriptions" attributes in the model is not dependent from the annotation mechanism in VOTable. Or should not. Any serialization should allow to retrieve description by the same kind of method print (Model.get(mod:instance.description)) Provenance model also have "descriptions" attributes for activities and entities called "comments". This is a text explaining what the entity/activity is all about (not to be confused with ActivityDescription which is a class gathering features shared by many activities)
I'm not sure if this issue belongs here, or in the workshop (or both).. it pertains to both modeling and the annotation.
Parameter.description: ivoa:string[1]
Model:
Annotation