- From: Iker Huerga <iker.huerga@gmail.com>
- Date: Fri, 9 Mar 2012 23:49:26 -0500
- To: Jeremy Carroll <jeremy@topquadrant.com>
- Cc: semantic-web@w3.org
- Message-ID: <CAJ=Mb+9Hg-PvH6Bc+hetqqfHk6TLN6RmBAxYuCgxej1NvOpGAA@mail.gmail.com>
Hi,
At least from my understanding this is endpoint dependent and is
not standardized. I think there was some discussion about this a couple of
years ago, you can take a look at [1].
Hope this helps
[1]  http://www.w3.org/2009/sparql/wiki/Feature:ReturnFormatKeyword
2012/3/9 Jeremy Carroll <jeremy@topquadrant.com>
> I am chasing through the standards trying to understand how to poke a
> SPARQL endpoint to give me JSON in a conformant fashion.
>
> So far I have that I can set my accept headers to ask for
> application/sparql-results+**json
>
> I also note that different endpoints also seem to support additional query
> parameters to make this work e.g.
>
> http://dbpedia.org/sparql?**query=select%20?book%20where%**
> 20{}&output=json<http://dbpedia.org/sparql?query=select%20?book%20where%20%7B%7D&output=json>
> http://dbpedia.org/sparql?**query=select%20?book%20where%**
> 20{}&format=json<http://dbpedia.org/sparql?query=select%20?book%20where%20%7B%7D&format=json>
>
> http://data.linkedmdb.org/**sparql?query=select%20?book%**
> 20where%20{}&output=json<http://data.linkedmdb.org/sparql?query=select%20?book%20where%20%7B%7D&output=json>
>
> http://lobid.org/sparql/?**query=select<http://lobid.org/sparql/?query=select>?b where {}&output=json
>
> I don't see where this output=json thing is documented ....
>
> thanks
>
> Jeremy
>
>
>
>
-- 
Iker Huerga
http://www.ikerhuerga.com/
Received on Saturday, 10 March 2012 04:49:55 UTC