W3C home > Mailing lists > Public > public-linked-json@w3.org > June 2014

Re: Schema.org just published a JSON-LD context

From: Kingsley Idehen <kidehen@openlinksw.com>
Date: Tue, 17 Jun 2014 12:06:08 -0400
Message-ID: <53A06770.7010002@openlinksw.com>
To: public-linked-json@w3.org
On 6/17/14 11:43 AM, Dan Brickley wrote:
> On 17 June 2014 16:33, Kingsley Idehen<kidehen@openlinksw.com>  wrote:
>> >On 6/17/14 8:21 AM, Dan Brickley wrote:
>>> >>
>>> >>On 17 June 2014 13:02, Kingsley Idehen<kidehen@openlinksw.com>  wrote:
>>>> >>>
>>>> >>>On 6/16/14 5:48 PM, Markus Lanthaler wrote:
>>>>> >>>>
>>>>> >>>>Hi folks,
>>>>> >>>>
>>>>> >>>>Today is another important milestone for JSON-LD as Schema.org just
>>>>> >>>>published a first version of their context. See yourself:
>>>>> >>>>
>>>>> >>>>      curlhttp://schema.org   -H "Accept: application/ld+json"
>>>>> >>>>
>>>>> >>>>
>>>>> >>>>Thanks Dan!
>>>>> >>>>
>>>>> >>>>
>>>>> >>>>Cheers,
>>>>> >>>>Markus
>>>>> >>>>
>>>>> >>>>
>>>>> >>>>P.S. Those of you who don't have curl installed can have a look at the
>>>>> >>>>context here:
>>>>> >>>>     http://schema.org/docs/jsonldcontext.json.txt
>>>> >>>
>>>> >>>Markus,
>>>> >>>
>>>> >>>Do you have a live example?
>>>> >>>
>>>> >>>Assuming I am trying to de-reference the correct HTTP URIs, here my
>>>> >>>experience[...]
>>> >>
>>> >>This is for the schema.org @context file, whose IRIURIURL is
>>> >>http://schema.org/
>>> >>
>>> >>We're content negotiating that because JSON-LD tools expect to find it
>>> >>via the @context URL, and we wanted the simplest possible URL for
>>> >>schema.org in JSON-LD.\
>> >
>> >
>> >I remain confused. What about filling in the IRI/URI/URL placeholder of the
>> >following cuRL excerpt?
>> >
>> >curl --verbose -I -H "Accept: application/ld+json" {IRI/URI/URL}
> Sure,
>
> Try curl --verbose -H "Accept: application/ld+json"http://schema.org/
>
> (the view c/o /docs/jsonldcontext.json.txt is exposed for convenience,
> maybe best not to treat it as an API.
>
> Dan
>
>

curl -i -H "Accept: application/ld+json"http://schema.org/

Also does the job, with metadata information included, modulo verbosity 
or --verbose :-)

-- 

Regards,

Kingsley Idehen	
Founder & CEO
OpenLink Software
Company Web: http://www.openlinksw.com
Personal Weblog: 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





Received on Tuesday, 17 June 2014 16:06:34 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:18:41 UTC