Re: Literals as Body

The specification describes oa:hasBody as a "Relationship" rather than
a "Property".

OWL-wise this translates to Object Property (to a resource) and
Datatype Property (to a literal).

So my short answer is no, oa:hasBody must go to a resource, not a literal.

I think I have raised earlier that the RDFS definition should
clarifier this with light use of OWL. species how the
literal (at least string or bytes) can be represented using Content In

On Sun, Jul 22, 2012 at 7:14 PM, Leyla Jael García Castro
<> wrote:
> 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
> (not sure if that
> corresponds to the last official release) and hasBody is defined as
> <rdf:Property rdf:about="">
> <rdfs:domain
> rdf:resource=""/>
> <rdfs:comment>The relationship between Annotation and Body</rdfs:comment>
> <rdfs:isDefinedBy>
> <owl:Ontology rdf:about="">
> <owl:versionInfo>core/20120509</owl:versionInfo>
> </owl:Ontology>
> </rdfs:isDefinedBy>
> <rdfs:label>hasBody</rdfs:label>
> </rdf:Property>
> 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?
> Cheers,
> Leyla
> On Jul 20, 2012 11:02 PM, "Reto Bachmann-Gmür" <> 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

Stian Soiland-Reyes, myGrid team
School of Computer Science
The University of Manchester

Received on Monday, 23 July 2012 08:31:14 UTC