Re: Hydra Core namespace URI / @context ?

On 11/13/2014 12:07 AM, Markus Lanthaler wrote:
> Which one is right, depends on what you want to do. If you want to use prefixes in your JSON-LD document, use the prefix definition shown at the beginning. If you don't want to use prefixes, simply import the remote context by adding either 
> 
>    "@context": "http://www.w3.org/ns/hydra/context.jsonld",
> 
> or
> 
>   "@context": "http://www.w3.org/ns/hydra/core",
> 
> to your document. Both return exactly the same document. I'm still a bit on the fence myself what's easier to understand for users. I'm currently leaning towards the latter as it is shorter and one URL less to remember.
+1 especially that this context also describes hydra vocab itself,
"@id": "http://www.w3.org/ns/hydra/core"

Received on Wednesday, 12 November 2014 23:18:33 UTC