Image annotations can be added or edited from this page: https://cdli.mpiwg-berlin.mpg.de/artifact-asset-annotations/add. First, upload a file containing annotations (see below for which file formats are supported). Then, confirm that the file was parsed correctly. Afterwards, add metadata to your annotations by describing the work that was done, and adding associated authors and projects.
JSON imports following the W3C Web Annotation Data Model are supported, but should conform to the following restrictions, as linked data is not yet supported in full:
@context
used in the examples of the W3C specification.AnnotationCollection
object, an AnnotationPage object
, or an array or
object with individual annotations as values. In the case of AnnotationCollection
objects, only the
annotations included in the file are imported.target
. This target should have a
source
consisting of the URL of the CDLI image you are annotating (e.g. /dl/photo/P123456.jpg
).
This target should have a single selector
of the type SvgSelector
. Preferably, use only <polygon>
,
<circle>
, <ellipse>
, and <path>
, and do not use attributes like transform
.body
but may have more. These bodies
should have the type TextualBody
or SpecificResource
. The bodies may have any or no purpose
.
Bodies may additionally have a value
and/or a source
.license
.id
(@id
) should be the
URL of the existing annotation (https://cdli.mpiwg-berlin.mpg.de/artifact-asset-annotations/123
where 123
is the numeric ID of the annotation).The fields created
, modified
, and creator
are not supported for importing, and instead
are filled in from the update event(s) associated with the annotations.
{
"@context": "http://www.w3.org/ns/anno.jsonld",
"id": "https://cdli.mpiwg-berlin.mpg.de/artifact-asset-annotations/123",
"type": "Annotation",
"body": [
{
"type": "TextualBody",
"value": "crudely inscribed",
"purpose": "commenting"
},
{
"type": "SpecificResource",
"value": "vase",
"source": "https://www.wikidata.org/wiki/Q191851",
"purpose": "tagging"
}
],
"target": {
"source": "https://cdli.mpiwg-berlin.mpg.de/dl/photo/P123456.jpg",
"selector": {
"type": "SvgSelector",
"value": "<svg> ... </svg>"
}
}
}
Support for the Common Objects in Context (COCO) data format is pending.
Both VIA project files and VIA annotation JSON files can be imported.
@id
is used containing the full URL
of the annotation.classifying
, identifying
, describing
, and assessing
,
corresponding to the W3C purposes of the same name. These fields are expected to be radio buttons
or checkboxes, with URIs to the Art & Architecture Thesaurus (AAT)
vocabulary as the option identifiers. If no term is available, the option identifier should be
a non-URI label.When an update event is accepted, you can click on the link in the column titled "Visual asset" to view the image and its associated annotations.