digirati-co-uk / dlcs-search-service

Search service for IIIF Content Search and annotation indexing.
MIT License
3 stars 0 forks source link

Indexing: IIIF Presentation API features of annotations - temporal #25

Open mattmcgrattan opened 5 years ago

mattmcgrattan commented 5 years ago

Needs refinement.

How should we think about temporal ranges? That is, should we be able to query for annotations on a particular time segment of time based media? Or is this client side?

stephenwf commented 5 years ago

are these dates as part of the body, or created fields?

mattmcgrattan commented 5 years ago

I'm thinking specifically of targets. For example, if an annotation is on a spatial region of a temporal fragment of a canvas that has a time dimension.

And someone wants to just get the annotations from time t to time t+n.

But it could also be bodies, since from the point of view of the W3C model, the two are the same. So, for example, someone could annotate a one second segment of a particular video onto a canvas. In that instance, the body source for a SpecificResource might have a temporal fragment.

tomcrane commented 5 years ago

https://github.com/digirati-co-uk/dlcs-search-service/issues/6

For the release version of the Search spec we removed the query param region because we knew that we would next start on presentation 3 which involved time. Otherwise there would have been a region param.

The answer is 2 params:

xywh and t (you are allowed to mix them together). I will update #6.