W3C home > Mailing lists > Public > public-openannotation@w3.org > July 2012

Re: Literals as Body

From: Leyla Jael García Castro <leylajael@gmail.com>
Date: Sun, 22 Jul 2012 19:14:26 +0100
Message-ID: <CACLxDV7999pTkSqpDbSy5gD9pPX_2NRT-RJZAiVzR4nwiUzGaA@mail.gmail.com>
To: Reto Bachmann-Gmür <reto@apache.org>
Cc: public-openannotation <public-openannotation@w3.org>
Hi Reto,

I think this is in some how related to another post in the group
"AnnotationProperty vs ObjectProperty"... I do not know whether OA is
modeled in OWL or RDF, I was looking for a link to the specification but I
did not find it (any knows where is it?)

>From the other post, I dot this link
http://www.openannotation.org/spec/core/core-schema.xml (not sure if that
corresponds to the last official release) and hasBody is defined as

<rdf:Property rdf:about="http://www.w3.org/ns/openannotation/core/hasBody">
<rdfs:domain rdf:resource="
<rdfs:comment>The relationship between Annotation and Body</rdfs:comment>
<owl:Ontology rdf:about="http://www.w3.org/ns/openannotation/core/">

As far as I understand, Body is not modeled by OA so it is open and can be
any resource. If you model you plain text as an rdfs:Literal, the it is a
resource so I guess your first option, the short one, is valid according to
the specification. Any thoughts about it?



On Jul 20, 2012 11:02 PM, "Reto Bachmann-Gmür" <reto@apache.org> wrote:

> Hi,
> I was wondering if
>     {
>         "@type": "oax:Comment",
>         "oa:hasBody" : "No longer persian cats but golden retrivers are
> the favourite pets in San Jose.",
>         "oa:hasTarget": "_doc"
>     }
> is or should be allowed as a short form equivalent to
>     {
>         "@type": "oax:Comment",
>         "oa:hasBody" : {
>                "dc:format": "text/plain",
>                "cnt:chars": "No longer persian cats but golden retrivers
> are the favourite pets in San Jose."
>         },
>         "oa:hasTarget": "_doc"
>     }
> Cheers,
> Reto
Received on Sunday, 22 July 2012 18:16:10 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:38:10 UTC