included in: 1.1.0
Thing > Annotation > Relation > GenericRelation
| Definition | Any one-to-one or one-to-many relation involving one or more arguments. | 
| URI | http://mmif.clams.ai/vocabulary/GenericRelation/v1 | 
| Also known as | https://mmif.clams.ai/0.4.0/vocabulary/GenericRelation/ | 
| Also known as | https://mmif.clams.ai/0.4.1/vocabulary/GenericRelation/ | 
| Also known as | https://mmif.clams.ai/0.4.2/vocabulary/GenericRelation/ | 
Metadata
Metadata from Annotation
| Property | Type | Description | 
|---|---|---|
| document | ID | The identifier of the document that the annotation is over. This has to be defined either at the metadata level, in which case it has scope over all annotations of the same type in a view, or at the instance level, in which it has scope over just the single annotation. | 
| labelset | List of Strings | When an annotation object contains results of a classification task, this metadata is used to specify the label values used in classification. Individual annotations then must have labelproperty that is one of the values in this list.[Note] Annotations from a classifier app must have this metadata or  labelsetUri metadata.[Note] Not all of labels specified in the labelsetmust occur in the output annotations. For  example, alabelsetcan contain a catch-all negative label, but if the negative label can be not interesting enough to keep in  the output annotation. | 
| labelsetUri | String | A URI to an externally defined labelset. Since the labelsetmetadata is a list of simple strings, this URI can be used to point to a more detailed definition of the labelset. This can be a JSON-LD document or a SKOS concept scheme, for example.[Note] Annotations from a classifier app must have this metadata or  labelset metadata. | 
Properties
| Property | Type | Description | 
|---|---|---|
| head | ID | The head of the relation. [Required] | 
| arguments | List of IDs | The arguments of the relation. Can be a singleton list. [Required] | 
Properties from Annotation
| Property | Type | Description | 
|---|---|---|
| document | ID | The identifier of the document that the annotation is over. | 
| label | String | A label given to this object by classification. The value must be a simple string value of the label and must be one of the values  defined in the labelsetorlabelsetUriannotation metadata.For example, for the Sentencesubtype, this could be used to indicate the type of sentence, such as "declarative",  "interrogative", "exclamatory", etc. ForNamedEntitysubtype, this could be used to indicate the type of named entity,  such as "PER", "ORG", "LOC", "MISC" (following the CoNLL-2003 labels).For non-linguistic annotations, for example for TimeFrame | 
| classifications | Map from String to Number | Alias for the classificationmetadata. Here for historical reasons. | 
| classification | Map from String to Number | A map from label values to their "score" numbers provided by a classifier. The score can be probability, similarity, confidence, or any other real  number that was used to determine the label value. [Optional] on top of the labelproperty. However when this  property is used, thelabelproperty must be one of the keys and the keys must match to the values defined in thelabelsetorlabelsetUriannotation metadata. | 
Properties from Thing
| Property | Type | Description | 
|---|---|---|
| id | ID | A unique identifier for the annotation or document. Uniqueness is relative to the view the annotation is in or the list of documents at the top level of a MMIF file. [Required] |