Annotation Terms (In Progress)
Open Digital Specimen List of Terms
Annotation List of Terms (In Progress)
Title : Annotation List of Terms
Date version issued : 2024-06-17
Date created : 2024-06-17
This version : 0.3.0
Latest version : 0.3.0
Abstract
: The data model for an Annotation within the DiSSCo infrastructure. This model is inspired by the W3C Web Annotation model.
An annotation can be attached to any digital object in the DiSSCo infrastructure and can contain any of the following motivations:
- adding: The user wants to add new information to the object
- assessing: The user wants to assess the quality of the data in the object
- editing: The user wants to edit an existing value of the object
- commenting: The users wants to make a generic comment on the object
There are several levels on which an annotation can be made:
- The whole object: The annotation is made on the whole object, used when a user wants to create a comment on for example the whole Digital Specimen
- A class: The annotation is made on the whole class, used when a user wants to add for example an additional Identification
- An individual property: The annotation is made on a specific property of the class, used when a user wants to edit a particular fields, for example the collector of a specimen
- A RegionOfInterest: The annotation is made on a specific region of the object. This type of annotation is mainly used when it is attached to a digital entity. For example it can indicate a specific ROI in an image and attach a value to that ROI.
The value of the annotation can be attached in the body. This can be in the form of an array of strings. When a full class is replaced the body can contain the full new class in JSON format.
The AggregateRating has not been implemented yet.
Main contributors : Sam Leeflang, Soulaine Theocharides, Tom Dijkema, Sharif Islam
Creator : Distributed Infrastructure for Scientific Collections (DiSSCo)
Bibliographic citation : Distributed Infrastructure for Scientific Collections. 2024. Annotation List of Terms.
1 Introduction
1.1 Status of the content of this document
The openDS data specification is in active development. This document is work in progres and might change until version 1.0.0 is released. Its main function at the moment is to inform the community about the current state of the data model and to gather feedback. We hope to include the feedback from the community and reach a first major version of the data model by the end of 2024.
1.2 RFC 2119 key words
The key words “MUST”, “MUST NOT”, “REQUIRED”, “SHALL”, “SHALL NOT”, “SHOULD”, “SHOULD NOT”, “RECOMMENDED”, “MAY”, and “OPTIONAL” in this document are to be interpreted as described in BCP 14 RFC 2119 and RFC 8174 when, and only when, they appear in all capitals, as shown here.
1.3 Naming Convention
This document contains all the terms in use the DiSSCo Digital Objects.
Most objects can be directly related to a openDS class, for example the Machine Annotation Service, or the Source System.
However, the DigitalSpecimen and the Digital Entity are more complex objects.
They can contain classes as nested object in itself.
In general, class names are capitalized, use the UpperCamelCase naming convention and are singular.
For example, the class that represents a Digital Specimen is called DigitalSpecimen
.
The properties of a class start with a lowercase and use the lowerCamelCase naming convention.
When a class contains a property which contains a list of another class we use the convention hasXXX
where XXX is the class name.
For example, the DigitalSpecimen can contain a list of Event objects, so it has a property called hasEvent
.
When a class is directly nested (not through a list) we use the class name as property name.
For example, the Location class contains the property ods:GeoReference
which contains the Geo Reference class.
When terms are borrowed from other vocabularies, such as Darwin Core, Annotation Vocabulary, Schema.org or others, we use the same naming convention as in the original vocabulary. This could conflict with the openDS vocabulary naming convention.
2 Borrowed Vocabulary
When terms are borrowed from other vocabularies, openDS uses the IRIs, common abbreviations, and namespace prefixes in use in those vocabularies. The IRIs are normative, but abbreviations and namespace prefixes have no impact except as an aid to reading the documentation.
Table 1. Vocabularies from which terms have been borrowed (non-normative)
Vocabulary | Abbreviation | Namespaces and abbreviations |
---|---|---|
Dublin Core | DC | dcterms: = http://purl.org/dc/terms/ |
Schema.org | Schema | schema: = https://schema.org/version/latest/schemaorg-current-https.rdf |
Resource Description Framework | RDF | rdf: = http://www.w3.org/1999/02/22-rdf-syntax-ns# |
Web Annotation | OA | oa: = http://www.w3.org/ns/oa# |
Friend of a Friend | FOAF | foaf: = http://xmlns.com/foaf/0.1/ |
Activity Streams | AS | as: = https://www.w3.org/ns/activitystreams# |
3 Namespaces, Prefixes and Term Names
The namespace of terms borrowed from other vocabularies is that of the original. The namespace of de openDS terms is http://rs.dissco.eu/opends/terms/. In the table of terms, each term entry has a row with the term name. This term name is generally an “unqualified name” preceded by a widely accepted prefix designating an abbreviation for the namespace It is RECOMMENDED that implementers who need a namespace prefix for the openDS namespace use ods. In this web document, hovering over a term in the Index By Term Name list below will reveal a complete URL that can be used in other web documents to link to this document’s treatment of that term, even if it is from a borrowed vocabulary.
4 Term index
4.1 Index By Term Name
AggregateRating
Annotation
creator
generator
hasBody
hasTarget
5 Vocabulary
Term Name ratingCount | |
---|---|
Qualified Term | schema:ratingCount |
Term IRI | http://schema.org/ratingCount |
Label | Rating Count |
Definition | The count of total number of ratings. https://schema.org/ratingCount |
Examples |
|
Datatype | integer |
Belongs to Class | AggregateRating |
Required | True |
Repeatable | False |
RDF Type | rdf:Property |
Term Name ratingValue | |
---|---|
Qualified Term | schema:ratingValue |
Term IRI | http://schema.org/ratingValue |
Label | Rating Value |
Definition | The rating for the content. https://schema.org/ratingValue |
Examples |
|
Datatype | number |
Belongs to Class | AggregateRating |
Required | True |
Repeatable | False |
RDF Type | rdf:Property |
Term Name Annotation | |
---|---|
Qualified Term | ods:Annotation |
Term IRI | http://rs.dissco.eu/opends/terms/Annotation |
Label | Annotation |
Definition | Annotation model based on the W3C Web Annotation Data Model (https://www.w3.org/TR/annotation-model/) |
Required | True |
Repeatable | True |
RDF Type | rdfs:Class |
Term Name AggregateRating | |
---|---|
Qualified Term | schema:AggregateRating |
Term IRI | http://schema.org/AggregateRating |
Label | Aggregate Rating |
Definition | The average rating based on multiple ratings or reviews |
Datatype | object |
Required | False |
Repeatable | False |
RDF Type | rdfs:Class |
Term Name generator | |
---|---|
Qualified Term | as:generator |
Term IRI | http://www.w3.org/ns/activitystreams#generator |
Label | Generator |
Definition | Object containing information on who generated the object. Generated is here seen as who stored/indexed the object. In most case this will be the annotation-processing-service |
Datatype | object |
Required | True |
Repeatable | False |
RDF Type | rdfs:Class |
Term Name issued | |
---|---|
Qualified Term | dcterms:issued |
Term IRI | http://purl.org/dc/terms/issued |
Label | Issued |
Definition | The date and time when the annotation was generated. https://purl.org/dc/terms/issued |
Datatype | string |
Belongs to Class | Annotation |
Required | False |
Repeatable | False |
RDF Type | rdf:Property |
Term Name dateTombstoned | |
---|---|
Qualified Term | ods:dateTombstoned |
Term IRI | http://rs.dissco.eu/opends/terms/dateTombstoned |
Label | Date Tombstoned |
Definition | Timestamp Annotation was tombstoned and no longer active. Generated on request of the user. Empty as long as Annotation is active |
Examples |
|
Datatype | string |
Belongs to Class | Annotation |
Required | False |
Repeatable | False |
RDF Type | rdf:Property |
Term Name created | |
---|---|
Qualified Term | dcterms:created |
Term IRI | http://purl.org/dc/terms/created |
Label | Created |
Definition | The date and time when the annotation was created. https://purl.org/dc/terms/created |
Datatype | string |
Belongs to Class | Annotation |
Required | True |
Repeatable | False |
RDF Type | rdf:Property |
Term Name creator | |
---|---|
Qualified Term | dcterms:creator |
Term IRI | http://purl.org/dc/terms/creator |
Label | Creator |
Definition | Object containing information on who created the object |
Datatype | object |
Required | True |
Repeatable | False |
RDF Type | rdfs:Class |
Term Name hasBody | |
---|---|
Qualified Term | oa:hasBody |
Term IRI | http://www.w3.org/ns/oa#hasBody |
Label | Has Body |
Definition | The body of the annotation contains the specific value of the annotation |
Datatype | object |
Required | True |
Repeatable | False |
RDF Type | rdfs:Class |
Term Name batchID | |
---|---|
Qualified Term | ods:batchID |
Term IRI | http://rs.dissco.eu/opends/terms/batchID |
Label | Batch Id |
Definition | Internally generated PID to identify the batch the annotation was generated by |
Datatype | string |
Belongs to Class | Annotation |
Required | False |
Repeatable | False |
RDF Type | rdf:Property |
Term Name hasTarget | |
---|---|
Qualified Term | oa:hasTarget |
Term IRI | http://www.w3.org/ns/oa#hasTarget |
Label | Has Target |
Definition | Indicates the particular object and part of the object on which the annotation has been made. |
Datatype | object |
Required | True |
Repeatable | False |
RDF Type | rdfs:Class |
Term Name motivatedBy | |
---|---|
Qualified Term | oa:motivatedBy |
Term IRI | http://www.w3.org/ns/oa#motivatedBy |
Label | Motivated By |
Definition | Describes the reason for the annotation. https://www.w3.org/TR/annotation-vocab/#motivatedby |
Examples |
|
Datatype | string |
Belongs to Class | Annotation |
Required | False |
Repeatable | False |
RDF Type | rdf:Property |
Term Name motivation | |
---|---|
Qualified Term | oa:motivation |
Term IRI | http://www.w3.org/ns/oa#motivation |
Label | Motivation |
Definition | The motivation for the annotation. Based on a selection of https://www.w3.org/TR/annotation-model/#motivation-and-purpose. The motivation ods:adding is added for DiSSCo's purposes. |
Belongs to Class | Annotation |
Required | True |
Repeatable | False |
RDF Type | rdf:Property |
Term Name version | |
---|---|
Qualified Term | ods:version |
Term IRI | http://rs.dissco.eu/opends/terms/version |
Label | Version |
Definition | The version of the object, each change generates a new version |
Examples |
|
Datatype | integer |
Belongs to Class | Annotation |
Required | True |
Repeatable | False |
RDF Type | rdf:Property |
Term Name type | |
---|---|
Qualified Term | rdf:type |
Term IRI | http://www.w3.org/1999/02/22-rdf-syntax-ns#type |
Label | Type |
Definition | The type of the annotation. It is always ods:Annotation. https://www.w3.org/TR/rdf12-schema/#ch_type |
Datatype | string |
Belongs to Class | Annotation |
Required | True |
Repeatable | False |
RDF Type | rdf:Property |
Term Name jobID | |
---|---|
Qualified Term | ods:jobID |
Term IRI | http://rs.dissco.eu/opends/terms/jobID |
Label | Job Id |
Definition | Handle of the job record, if the annotation was produced by a Machine Annotation Service, only filled when annotation was created by a MAS |
Examples |
|
Datatype | string |
Belongs to Class | Annotation |
Required | False |
Repeatable | False |
RDF Type | rdf:Property |
Term Name ID | |
---|---|
Qualified Term | ods:ID |
Term IRI | http://rs.dissco.eu/opends/terms/ID |
Label | Id |
Definition | The handle of the annotation. It is a unique identifier for the annotation. It is composed of the handle of the document followed by a slash and a unique identifier for the annotation. |
Examples |
|
Datatype | string |
Belongs to Class | Annotation |
Required | True |
Repeatable | False |
RDF Type | rdf:Property |
Term Name name | |
---|---|
Qualified Term | foaf:name |
Term IRI | http://xmlns.com/foaf/0.1/name |
Label | Name |
Definition | The name of the creator. http://xmlns.com/foaf/0.1/#term_name |
Examples |
|
Datatype | string |
Belongs to Class | creator |
Required | False |
Repeatable | False |
RDF Type | rdf:Property |
Term Name name | |
---|---|
Qualified Term | foaf:name |
Term IRI | http://xmlns.com/foaf/0.1/name |
Label | Name |
Definition | The name of the creator. http://xmlns.com/foaf/0.1/#term_name |
Examples |
|
Datatype | string |
Belongs to Class | generator |
Required | False |
Repeatable | False |
RDF Type | rdf:Property |
Term Name references | |
---|---|
Qualified Term | dcterms:references |
Term IRI | http://purl.org/dc/terms/references |
Label | References |
Definition | Indicates how the value came to be. https://purl.org/dc/terms/references |
Examples |
|
Datatype | string |
Belongs to Class | hasBody |
Required | False |
Repeatable | False |
RDF Type | rdf:Property |
Term Name score | |
---|---|
Qualified Term | ods:score |
Term IRI | http://rs.dissco.eu/opends/terms/score |
Label | Score |
Definition | A score between 0 and 1 indicating the confidence in the value. 1 is the highest confidence and 0 is the lowest. |
Datatype | number |
Belongs to Class | hasBody |
Required | False |
Repeatable | False |
RDF Type | rdf:Property |
Term Name value | |
---|---|
Qualified Term | oa:value |
Term IRI | http://www.w3.org/ns/oa#value |
Label | Value |
Definition | An array of multiple values in string representation specific for the particular selector |
Datatype | array |
Belongs to Class | hasBody |
Required | True |
Repeatable | False |
RDF Type | rdf:Property |
Term Name type | |
---|---|
Qualified Term | ods:type |
Term IRI | http://rs.dissco.eu/opends/terms/type |
Label | Type |
Definition | This is the handle to the type of the target object. |
Examples |
|
Datatype | string |
Belongs to Class | hasTarget |
Required | False |
Repeatable | False |
RDF Type | rdf:Property |
Term Name ID | |
---|---|
Qualified Term | ods:ID |
Term IRI | http://rs.dissco.eu/opends/terms/ID |
Label | Id |
Definition | This is the PID of the target object. Valid targets are the Digital Specimen, Digital Media Object or another annotation. |
Examples |
|
Datatype | string |
Belongs to Class | hasTarget |
Required | False |
Repeatable | False |
RDF Type | rdf:Property |
Term Name hasSelector | |
---|---|
Qualified Term | oa:hasSelector |
Term IRI | http://www.w3.org/ns/oa#hasSelector |
Label | Has Selector |
Definition | Optional field to indicate the part of the target object that is being annotated. It can be a field, a class or a region of interest. |
Datatype | object |
Belongs to Class | hasTarget |
Required | False |
Repeatable | False |
RDF Type | rdf:Property |