Re: SPARQL and JSON-LD

On 01/21/2014 09:44 AM, Andy Seaborne wrote:
> So (Markus? :) what would one look like?
>


What am I missing?    JSON-LD is an RDF syntax, so it makes no sense to 
use it as a SPARQL Result Format.  SPARQL result formats are rows, not 
graphs.

Of course, JSON-LD is perfectly reasonable, and fully supported by 
current specs, as the output of a SPARQL CONSTRUCT query.   So if you 
want to query from JSON-LD to JSON-LD, then just do a SPARQL CONSTRUCT 
query, with the right Accept: header, right?    (assuming the server 
supports JSON-LD, which I expect they all will shortly.)

      -- Sandro


>     Andy
>
> On 21/01/14 14:08, Ivan Herman wrote:
>> Andreas,
>>
>> to be very factual: no, at this moment there is no official W3C 
>> Working Group working on such a formal specification. And I do not 
>> know of any plans to do so in the foreseeable future (although I 
>> agree that it would be ok to have such a document).
>>
>> Whether there are groups or individuals doing so, I do not know...
>>
>> Sincerely
>>
>> Ivan
>>
>> On 21 Jan 2014, at 14:35 , Andreas Kuckartz <a.kuckartz@ping.de> wrote:
>>
>>> Hi Kingsley,
>>>
>>> thanks for the links and the information.
>>>
>>>> What isn't offered is a JSON-LD based self-describing SPARQL result
>>>> which is a consequence of this not really being part of the SPARQL 
>>>> spec.
>>>
>>> But a W3C Recommendation similar to this one could be created for 
>>> JSON-LD:
>>>
>>> SPARQL 1.1 Query Results JSON Format
>>> W3C Recommendation 21 March 2013
>>> http://www.w3.org/TR/sparql11-results-json/
>>>
>>> Is anyone working on a "SPARQL 1.1 Query Results JSON-LD Format"?
>>>
>>> Cheers,
>>> Andreas
>>>
>>
>>
>> ----
>> Ivan Herman, W3C
>> Digital Publishing Activity Lead
>> Home: http://www.w3.org/People/Ivan/
>> mobile: +31-641044153
>> GPG: 0x343F1A3D
>> FOAF: http://www.ivan-herman.net/foaf
>>
>>
>>
>>
>>
>

Received on Tuesday, 21 January 2014 18:07:46 UTC