Hydra not working with JSON-LD playground

Hi guys,

So I was just trying to play with Hydra today, and wanted to use the JSON-LD Playground - but it doesn't seem to work.

Basically the following produces no output at all (nor any error, so I assume there must be a bug in the Playground, although I couldn't find any references in the open issues):

{
  "@context": "http://purl.org/hydra/core/context.jsonld",

  "@id": "http://dnb.com/services/lookahead/cities/query-as-like/?q=austin&page=3",
  "@type": "PagedCollection",
  "totalItems": "4980"
}

I assume this must be a Hydra problem, since the following (from the JSON-LD spec) works fine, and is doing basically the same thing:

{
  "@context": "http://json-ld.org/contexts/person.jsonld",
  "name": "Manu Sporny",
  "homepage": "http://manu.sporny.org/",
  "image": "http://manu.sporny.org/images/manu.png"
}

I notice that the JSON-LD served up by 'http://purl.org/hydra/core/context.jsonld' is simply named 'core' with no extension, so maybe it's as simple as the Playground needing a '.jsonld' extension or something...?!

Cheers,

Pat.

Received on Wednesday, 11 September 2013 19:38:18 UTC