[web-annotation] Unable to have a graph as the body of an annotation

azaroth42 has just created a new issue for 
https://github.com/w3c/web-annotation:

== Unable to have a graph as the body of an annotation ==

Requirement:  Have an explicit named graph as the body of an 
annotation to provide a semantic, machine-readable "comment".  This 
might be used to assign properties or relationships to the target.  

Justification: In human language, a comment of "I like this" would be 
perfectly acceptable as the body of an annotation.  In order to 
effectively express this concept in a semantic way, it could be 
encoded as a triple:  <annotator> <fb:likes> <target> .  In order to 
keep this triple separate from the annotation's triples, it needs to 
be in a separate graph.

Proposal:

Allow a named graph as the object of hasBody.

```json
{
  "@id": "http://example.org/annos/1",
  "@type": "oa:Annotation",
  "body": {
    "@graph": {
    "@context" : "http://example.org/social/context.json",
    "@id" : "http://example.org/users/rob",
    "fb:likes": "http://example.com/logo.jpg"
    }
  }
  "target": "http://example.com/logo.jpg"
}
```

(JSON-LD playground link:  http://tinyurl.com/jvurj2m)

See https://github.com/w3c/web-annotation/issues/16

Received on Tuesday, 17 February 2015 23:17:54 UTC