W3C home > Mailing lists > Public > public-annotation@w3.org > July 2015

[web-annotation] Yet Another JSON-LD the protocol spec to use?

From: Takeshi Kanai via GitHub <sysbot+gh@w3.org>
Date: Wed, 08 Jul 2015 08:21:48 +0000
To: public-annotation@w3.org
Message-ID: <issues.opened-93730201-1436343708-sysbot+gh@w3.org>
tkanai has just created a new issue for 
https://github.com/w3c/web-annotation:

== Yet Another JSON-LD the protocol spec to use? ==
The protocol spec (4.1.2) says:
> The JSON-LD serialization of the Container's description should use 
the Open Annotation's context, http://www.w3.org/ns/oa. (Additional 
Constraint)

Are there any strong reasons to recommend using the annotation context
 URI?  Technically speaking, the json in the example 3 would be 
equivalent to the json below, as far as it follows both JSON-LD and 
LDP specs.

```
{
  "@context": {"ldp: "http://www.w3.org/ns/ldp#",
  "rdf" : "http://www.w3.org/1999/02/22-rdf-syntax-ns#",
  "iana" : "http://something"
  },
  "@id": "http://example.org/annotations/",
  "@type": "ldp:BasicContainer",
  "rdf:label": "A Container for Open Annotations",
  "iana:alternate": ["http://example.org/annotations2/", 
"http://example.org/moreAnnotations/"],
  "ldp:contains": ["anno1","anno2","anno3","anno4"] 
}
```

I'm afraid that the line just contribute to introduce unnecessary 
confusions. Is it possible to remove the line?


See https://github.com/w3c/web-annotation/issues/52
Received on Wednesday, 8 July 2015 08:21:52 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 18:54:37 UTC