Re: shapes-ISSUE-226 (JSON-LD @context): Should the WG produce a JSON-LD @context

Pano,

 > I can create an @context.

thanks for offering to look into a possible JSON-LD @context. As a start 
we could set up a file with a couple of frequently used properties.

 >
 > However, do note that one would still need to frame their JSON-LD to 
get the desired output.
 > We could probably create a default frame for a "pure" shapes graph, 
but if the shapes graph contains > other non-shacl instances the frame 
should be customized to their needs.

In terms of framing, I believe the main rule should be that bnodes 
should always be nested, in particular nested sh:property and sh:node 
values. I do not know JSON-LD enough to understand the problems of how 
such frames would interact with other people's, but I believe it would 
go a long way if we had framing for pure SHACL files at least. Many 
people will separate their schema definitions from their instance data.

With this, I'd need to play the ball into your court and leave it up to 
you whether and when to make progress on this (I am a bit overloaded 
with other things right now but would be happy to test it, can put it on 
GitHub etc).

Holger


 >
 > Kind regards,
 > Pano

Received on Thursday, 9 February 2017 01:23:06 UTC