W3C home > Mailing lists > Public > public-openannotation@w3.org > March 2013

Re: May a Specific Resource be object of the oa:hasScope relationship ?

From: Robert Sanderson <azaroth42@gmail.com>
Date: Fri, 15 Mar 2013 16:37:02 +0000
Message-ID: <CABevsUEAHagNVPTi3Gq2ZkB4Ten7zYFeYB5m0TuyPyGxk3osgg@mail.gmail.com>
To: Lutz Suhrbier <l.suhrbier@bgbm.org>
Cc: Paolo Ciccarese <paolo.ciccarese@gmail.com>, public-openannotation@w3.org
Hi Lutz,

That's not possible.  The semantics of a oa:Composite is that *all* of
the resources apply.
You would need to mint multiple annotations in order to have "aaa"
apply only to doc#/a and "bbb" apply only to doc#/b.

You could have multiple bodies, but then each of aaa and bbb would
apply separately to /a and /b.

Rob

On Fri, Mar 15, 2013 at 4:28 PM, Lutz Suhrbier <l.suhrbier@bgbm.org> wrote:
> Hi Paolo,
>
> Hi Lutz,
> I am not sure I understand completely what you are doing as I see only an
> abstract example.
>
> I would probably use a SpecificResource
> http://www.openannotation.org/spec/core/specific.html#Specific
> in combination with a FragmentSelector
> http://www.openannotation.org/spec/core/specific.html#FragmentSelector
> therefore I would use a oa:hasSource rather than oa:hasScope.
>
> Oh yes, I overlooked  the possibility of using XPointer as fragment
> selector. I am currently not quite sure if it is allowed to be used with
> URNs too(we can not use URLs to identify data records in or use case), but
> at a first glance, it looks that the standard does not forbid that. So, I
> don't need to define a XPath Selector anymore. Good News.
>
>
> A typical use of oa:hasScope is when you are annotating an image (with a
> URI) displaying in a webpage.
> The oa:hasSource is the image, the selector is for instance a oa:SvgSelector
> and the oa:hasScope is the webpage.
>
> Hmm, I know that my use case is not quite typical as all recent discussions
> went around that image in a web page example. That's why I am asking to the
> list, if it would be "forbidden" to use oa:hasScope in the way I described ?
> So, can I use oa:hasScope within a Specific Body  to point at the
> (resolvable)URI of a Specific Target, which defines somehow the context in
> which the scoped body content should be seen by a client (application) ?
>
> May be a short example:
> Lets have a XML-document urn:uuid:doc01 as source. In my annotation I define
> 2 Specific Targets aggregated in a Composite,  urn:uuid:doc01#xpointer(/a)
> and urn:uuid:doc01#xpointer(/b).
> Now I have two Specific Bodies also aggregated in a composite, one is
> holding contentAsText:"aaa", the other "bbb" and I want that the one holding
> "aaa" should only be applied in context with Specific Target
> urn:uuid:doc01#xpointer(/a) , the one holding "bbb" only with Specific
> Target urn:uuid:doc01#xpointer(/b).
> Finally, I want to add property "oa:hasScope urn:uuid:doc01#xpointer(/a)" to
> Specific Body "aaa" and "oa:hasScope urn:uuid:doc01#xpointer(/b)" to
> Specific Body "bbb" in order to express this with OA 1.0.
> Is this possible ?
>
> Lutz
>
>
>
>
>
>
> Hope it helps,
> Paolo
>
> On Fri, Mar 15, 2013 at 10:06 AM, Lutz Suhrbier <l.suhrbier@bgbm.org> wrote:
>>
>> Hi,
>>
>> in our project, we are dealing with record data which is usually exchanged
>> in domain specific XML documents. The system enable users to annotate these
>> record data, where one annotation may comprehend  multiple record data
>> elements. Therefore, annotations will be recorded as a set of XPath
>> expressions, each of them mapped with annotated value and comment
>> information. (same use case as discussed in
>> http://lists.w3.org/Archives/Public/public-openannotation/2012Sep/0017.html).
>>
>> Now, with OA 1.0 released, i started to remodel our use case with the new
>> version. The new multiplicity concepts were very helpful for this and solved
>> most problems arising in the last discussion from September.
>> So,  the list of XPath expressions for a given target can now be organised
>> by a Composite of Specific Target resources, where I introduced a simple
>> XPath-Selector to hold the XPath expression addressing  the annotated record
>> data element. Likewise, I organised Specific Body resources in a Composite,
>> where each Body holds the corresponding annotated value and comment
>> information for one of the Specific Targets.
>> Now, I want to use the hasScope relationship to outline the Specific
>> Target a Specific Body relates to. Or in terms of OA, to specify a Specific
>> Target as object of the oa:hasScope relationship that somehow scopes or
>> provides the context for the (Specific Body) resource in this Annotation
>> (i.e. Xpath expression within a record data document).
>>
>> Finally, as all samples contain just webpages or images as resources, my
>> simple question is if my interpretation of the OA 1.0 document is right and
>> using it that way would not contradict to the intended usage of the hasScope
>> property ?
>>
>> Please find attached two figures, one depicts our data model, and the
>> other our corresponding OA representation.
>>
>> Best regards
>> Lutz
>>
>
>
>
> --
> Dr. Paolo Ciccarese
> http://www.paolociccarese.info/
> Biomedical Informatics Research & Development
> Instructor of Neurology at Harvard Medical School
> Assistant in Neuroscience at Mass General Hospital
> Member of the MGH Biomedical Informatics Core
> +1-857-366-1524 (mobile)   +1-617-768-8744 (office)
>
> CONFIDENTIALITY NOTICE: This message is intended only for the addressee(s),
> may contain information that is considered
> to be sensitive or confidential and may not be forwarded or disclosed to any
> other party without the permission of the sender.
> If you have received this message in error, please notify the sender
> immediately.
>
>
Received on Friday, 15 March 2013 16:37:30 GMT

This archive was generated by hypermail 2.3.1 : Friday, 15 March 2013 16:37:30 GMT