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

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

From: Dan Brickley <danbri@danbri.org>
Date: Tue, 17 Jun 2014 16:43:16 +0100
Message-ID: <CAFfrAFq=JL875W9bcsGThri4b4epzescq4aJ+ZLwFgjH8LGx7w@mail.gmail.com>
To: Kingsley Idehen <kidehen@openlinksw.com>
Cc: Linked JSON <public-linked-json@w3.org>
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
Received on Tuesday, 17 June 2014 15:43:43 UTC

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