Re: JSON-LD context file at schema.org - request for feedback

On 22 January 2015 at 13:23, Kingsley  Idehen <kidehen@openlinksw.com> wrote:
> On 1/22/15 7:00 AM, Dan Brickley wrote:
>>
>> On 21 January 2015 at 17:51, Kingsley  Idehen<kidehen@openlinksw.com>

> Another nice-to-have request:
>
> As ".jsonld" is the recommended extension in the JSON-LD spec [1], it would
> be nice if you had <http://schema.org/docs/jsonldcontext.json> rather than
> <http://schema.org/docs/jsonldcontext.json>, which will make life easier for
> those working from the spec.
>
> We had to go through a lot of these niggling issues when adding JSON-LD
> support to DBpedia etc..

Sure, why not. I've posted a fix to a jsonld-tweaks branch,

https://github.com/schemaorg/schemaorg/tree/sdo-jsonldtweaks
essentially this,
https://github.com/schemaorg/schemaorg/blob/sdo-jsonldtweaks/api.py#L905

For now I've pushed this up to the test build of our next release
'stantz', hence

curl http://sdo-stantz.appspot.com/docs/jsonldcontext.jsonld

should now work for you (and append .txt to flip the mime type). I
left the old URL patterns in too.

I'm aiming to fold this and any other tweaks into the upcoming release
alongside other looming fixes (done:
http://sdo-stantz.appspot.com/docs/releases.html#sdo-stantz todo:
https://github.com/schemaorg/schemaorg/issues?q=is%3Aopen+is%3Aissue+milestone%3A%22sdo-stantz+release%22
)

Dan

Received on Friday, 23 January 2015 08:31:04 UTC