W3C home > Mailing lists > Public > public-vocabs@w3.org > February 2015

Re: JSON-LD onsite examples: are @context values missing a trailing slash?

From: Kingsley Idehen <kidehen@openlinksw.com>
Date: Tue, 17 Feb 2015 10:47:06 -0500
Message-ID: <54E3627A.2090906@openlinksw.com>
To: public-vocabs@w3.org
On 2/17/15 10:20 AM, Jarno van Driel wrote:
> I noticed that the @context value in the JSON-LD examples on 
> schema.org <http://schema.org>'s site are noted as:
>
> "@context": "http://schema.org",
>
> Where "http://schema.org" doesn't contain a trailing slash.
>
> Yet when I look at the official specs (http://www.w3.org/TR/json-ld/) 
> I see all values do contain a trailing slash, eg:
>
> "@context": {
>     "@vocab": "http://schema.org/"
> }
>
> Now to me it seems that urls without a trailing slash would resolve in 
> urls like for example schema.orgArticle as opposed to 
> schema.org/Article <http://schema.org/Article>, which makes me wonder 
> whether or not the slash matters for the @context.
>
> Any thoughts?

Correct!

-- 
Regards,

Kingsley Idehen	
Founder & CEO
OpenLink Software
Company Web: http://www.openlinksw.com
Personal Weblog 1: http://kidehen.blogspot.com
Personal Weblog 2: http://www.openlinksw.com/blog/~kidehen
Twitter Profile: https://twitter.com/kidehen
Google+ Profile: https://plus.google.com/+KingsleyIdehen/about
LinkedIn Profile: http://www.linkedin.com/in/kidehen
Personal WebID: http://kingsley.idehen.net/dataspace/person/kidehen#this




Received on Tuesday, 17 February 2015 15:47:33 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 17 February 2015 15:47:34 UTC