Open mialondon opened 2 years ago
@eatyourgreens some questions from colleagues about working with manifests from Zooniverse
I think @glenrobson can answer that better than I can, but the link between a collection and a manifest is the manifest ID, with each annotation page in the collection then annotating a single canvas in that manifest.
https://iiif.io/api/presentation/3.0/#58-annotation-collection
Usually in IIIF you link a Canvas in the Manifest to an Annotation Page. With the changes @eatyourgreens did in #5 each annotation contains a link back to the Manifest and you could create a workflow that starts with the AnnotationCollection and follows the links to the AnnotationPages and then to the Annotations. Once you have an annotation you can get the manifest and canvas Ids and then add these to your manifests. This is what I did in the script linked from here:
https://glenrobson.github.io/iiif_stuff/zooniverse/Mar_2022/
The manifest IDs seem to contain the ARK for example:
https://api.bl.uk/metadata/iiif/ark:/81055/vdc_100022589176.0x000002/manifest.json
so I don't know if that helps with your internal workflow.
Thanks very much for the helpful replies and especially the manifests. I'll go through the manifest examples to follow the various links to see the workflow.
Here's a consensus date from the annotation page for the first playbill in the test set. The annotation target links to the canvas and manifest.
{
"type":"Annotation",
"motivation":"tagging",
"body":{
"type":"TextualBody",
"value":"18190202",
"language":"en",
"format":"text/plain"
},
"target":{
"type":"SpecificResource",
"source":{
"id":"https://api.bl.uk/metadata/iiif/ark:/81055/vdc_100022589176.0x0001c3",
"type":"Canvas",
"partOf":{
"id":"https://api.bl.uk/metadata/iiif/ark:/81055/vdc_100022589176.0x000002/manifest.json",
"type":"Manifest"
}
}
},
"id":"https://zooniverse.github.io/iiif-annotations/bldigital/in-the-spotlight/consensusDates/0"
}
By the way, I've been experimenting with generating subjects from IIIF manifests for the Siberian Photography project, to see if the process works, and I notice that in those manifests, like this one:
https://eap.bl.uk/archive-file/EAP016-1-1/manifest
manifest['@id']
is a link that resolves to a HTML page, not a JSON manifest.
https://eap.bl.uk/archive-file/EAP016-1-1
@eatyourgreens I think EAP items have a different workflow because they're not actually held by the BL, but I can't recall if the manifests were setup internally or by an agency.
My colleague Jan asked: