w3c / web-annotation

Web Annotation Working Group repository, see README for links to specs
https://w3c.github.io/web-annotation/
Other
142 stars 30 forks source link

HttpRequestState used in eg44, but is not in context #358

Closed VladimirAlexiev closed 8 years ago

VladimirAlexiev commented 8 years ago

Example44 https://www.w3.org/TR/annotation-model/#complete-example uses

"type": "HttpRequestState",

However, this type is not defined in http://www.w3.org/ns/anno.jsonld, so this RIOT -out ttl resolves this as a local (filesystem) URL

azaroth42 commented 8 years ago

The example should be "HttpState", not "HttpRequestState". Good catch, thanks @VladimirAlexiev!

azaroth42 commented 8 years ago

Actually, as @iherman pointed out to me, the spec uses HttpRequestState throughout, so the context is the bug.

VladimirAlexiev commented 8 years ago

This is how the example looks. Made with rdfpuml but had to fake the blank nodes: maybe I should extend rdfpuml to handle them properly. oa-eg44

iherman commented 8 years ago

The context document must be added to add HttpRequestState

See http://www.w3.org/2016/09/30-annotation-irc#T15-23-50