Re: Questionn on annotation a text section

Hi Reto,

On Thu, Jul 19, 2012 at 5:16 AM, Reto Bachmann-Gmür <reto@apache.org> wrote:
> I'm struggling to understand how to annotate a specific text section
> identified by offset.
>
> I see the example at
> http://www.openannotation.org/spec/extension/#SelectorOffset
> oa:hasTarget points to the thing being annotated. Apart that I thing that a
> name like oa:annoates would be more easy to understand I think I'm getting
> this. The subject is the annotation and I can add hasSemanticTag properties
> to it.

Regarding the naming, we felt that annotates would be confusing as
really it's the body that annotates the target, not the annotation.
The annotation is essentially the reification of the annotates
relationship so that we can express further information about it.

For SpecificResource versus DocumentSection (or similar) remember that
there are other Specifiers as well as Selector.  It could be the
entire representation of a resource, just at a particular point in
time (State) or a particular format (State again, to be discussed as
to the modeling!). Likewise it could be the entire resource but styled
in a certain way for the presentation.


> understandable. For hasSoure I would guess this points to the document the
> subject is a section of but I read in the core spec that it is a
> letationship between the oa:SpeficResource and a (why does it says "the"?)
> resource that is a more specific reresentation of the subject. In this case
> so I'm looking for a more specific representation of the document section.
> What is a more specific representation? To me character 97 through 102 of a
> specific document is already quite specific. Confused.

The wording is:
"The relationship between a oa:SpecificResource and the resource that
it [the SpecificResource] is a more specific representation of."
[]s added

Which I admit is not as clear as it could be!  Your guess is actually
correct, it's the resource which the document segment is part of.

To unpack it: hasSource is the relationship between a
SpecificResource, and another resource that SpecificResource
identifies part of (for the selector only case).  Given the State and
Style options, the wording is a little convoluted, but could certainly
be improved or at least expanded with an example.

> Maybe somebody could jsut tell me, how to express
> the character range from 97 to 102 of the resource
> <http://example.org/2012/07/18/news> are related to
> <http://dbpedia.org/page/Eiffel_Tower>

Dbpedia "page" or "resource"?

Assuming you mean a semantic tag:

<_:Anno1> a oax:Tag ;
  oa:hasSemanticTag <http://dbpedia.org/resource/Eiffel_Tower> ;
  oa:hasTarget <_:SpecificResource1> .

<_:SpecificResource1> a oa:SpecificResource ;
  oa:hasSource <http://example.org/2012/07/18/news> ;
  oa:hasSelector <_:Selector1> .

<_:Selector1> a oax:TextOffsetSelector ;
  oax:offset 97 ;
  oax:range 5 .


Hope that helps!

Rob

Received on Thursday, 19 July 2012 06:02:53 UTC