[annotator-dev] Multiple Ranges

Ernesto Torresin (ML) ewk-ml at connettivo.net
Wed Mar 6 17:48:07 UTC 2013

On 06/03/2013 17:40, Robert Casties wrote:
> On 06.03.13 11:20, Suchitra Subramanian wrote:
>> Hi - I am implementing saving annotations on a page to the database.
>>  I would like to know when an annotation would have multiple ranges.
>> w.r.t. the Annotation format specified in
>> https://github.com/okfn/annotator/wiki/Annotation-format, even if i create
>> an annotation on text spanning multiple paragraphs, the "ranges" list
>> always has 1 entry.
> I think it is not possible in the current Annotator frontend to select
> more than one text span for an annotation. The same goes for our
> digilib-annotator frontend for graphical annotations.
>> If there is no possibility of ranges being multiple, I would design my
>> database table structures accordingly.
> I would think in the short term you could ignore multiple ranges but in
> the longer term it may be used.
> In principle it could make sense to attach an annotation to a
> non-continuous range of text or image, e.g. a technical term consisting
> of two words that are separated by other words.
> Looking at the OAC-Ontology (http://www.openannotation.org/spec/core/)
> it is not entirely clear to me how to model multiple ranges. Multiple
> Selectors in one annotation Target? Composite Targets? Which may or may
> not be relevant to the JSON Annotation-Format.
> Other opinions?

I'd be curious to know whether this could be done having, for an
annotation, a pointer to the ID of another annotation. That would be a
kind of symlink.

Ernesto Torresin

More information about the annotator-dev mailing list