-
Notifications
You must be signed in to change notification settings - Fork 39
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Link annotation to Manifest it comes from (within in IIIF 2) #20
Comments
I think this would be |
@glenrobson would this need to be part of the annotationPage? https://www.w3.org/TR/annotation-model/#h-annotation-page Or would we want to just use this to interact w/ SAS rather than part of the |
I don't think it would do any harm to be in an annotationPage but it is SAS specific so fine if its available in the adapter and not part of I think the annotation with the link to the manifest would look like:
I think because I'm asserting the target is a |
For info there are some useful W3C annotations here: https://github.com/dlcs/elucidate-server/tree/master/elucidate-server/src/test/resources/example-w3c-annotation |
I like the idea of having the reference to the containing manifest for all annotations. It makes the target slightly more complex but targets have to be more complex anyway... |
@glenrobson have you seen any examples with multiple selectors? |
I haven't seen one no. I think reading the spec if would look like this (assuming your thinking of the SVG one):
In the W3C annotation model: https://www.w3.org/TR/annotation-model/ it says: "There MAY be 0 or more selector relationships associated with a Specific Resource. Multiple Selectors SHOULD select the same content, however some Selectors will not have the same precision as others. Consuming user agents MUST pick one of the described segments, if they are different. " And looking into the historical discussion it looks like it was meant for our use case: w3c/web-annotation#207 |
I created #21 for the alternate selectors issue. |
@glenrobson I just looked at the WebAnno spec and I found https://www.w3.org/TR/annotation-model/#annotation-collection Should we limit it to AnnotationPage? I agree that according to the spec an AnnotationPage can contain annotations on multiple targets but I think that in the IIIF annotation case we would only have annotations on one canvas. Would the resource https://www.w3.org/TR/annotation-model/#scope-of-a-resource
(The spec seems a bit vague if the "Relation" can be extended to an object) |
Because the https://iiif.io/api/presentation/3.0/#partof that canvases can point to the manifest they are part of. So I think my example above is OK. As Rob mentions in slack the Does that answer your concern? |
@glenrobson treating the source as a canvas makes sense, thanks for explaining! I just wanted to make sure that our data is as correct as possible when it is set in stone, or, code that's going to be used a lot :-) |
I started to implement loading the information in the SAS adapter but then I wasn't sure: do we really want to load and keep the Is there a case where Mirador loads an annotation but it does not know its manifest? |
Is there a way to add a link to the Manifest where the canvas that is being annotated lives? Canvas Ids are often not resolvable so to find the image you are annotating you need access to the Manifest. In Mirador2 this was handled here:
https://github.com/ProjectMirador/mirador/blob/32e6bd5897e36611afbf0a8986051eaecac15011/js/src/annotations/mirador21Strategy.js#L39
and here:
https://github.com/ProjectMirador/mirador/blob/32e6bd5897e36611afbf0a8986051eaecac15011/js/src/annotations/miradorDualStrategy.js#L54
but this doesn't seem possible in this plugin as you only have access to the canvas id. For the SimpleAnnotationServer ideally I would like access to the manifest ID and label. The label is for this issue:
glenrobson/SimpleAnnotationServer#64
The text was updated successfully, but these errors were encountered: