Keith Alexander wrote:
> Magic :)
> 
>> Did you build your query URI by hand?  Or through the form?  Or by
>> some other means?
> 
> Through the form, using firefox 3.5.
> 
> It could return 406 or something if you request an unsupported output format?
> 
> Why is NTriples in the drop down if it is not supported?
> 
> Thanks!
> 
> Keith


I've tested all response formats for all sparql query types (unsupported
or not) and compile a little chart.

here's the results (with notes):
http://webr3.org/virtuoso/sparql-results-support.html

use in conjunction with the official docs:
http://virtuoso.openlinksw.com/dataspace/dav/wiki/Main/VOSSparqlProtocol


also in relation to the aforementioned dropdown selection comments, it
may be worth noting that the javascript detection is a bit borked on the
/sparql endpoints;

you can replicate by copy and pasting the following query in to any
virtuoso/sparql

SELECT distinct ?p ?o count(*) as ?c
WHERE {
 {
 {<http://dbpedia.org/resource/Climate_change> ?p ?o } UNION
 {<http://dbpedia.org/resource/Disaster_risk_reduction> ?p ?o } UNION
 {<http://dbpedia.org/resource/Tanzania> ?p ?o } UNION
 {<http://dbpedia.org/resource/Capacity_building> ?p ?o } UNION
 {<http://dbpedia.org/resource/Poverty> ?p ?o } UNION
 {<http://dbpedia.org/resource/Construction> ?p ?o } UNION
 {<http://dbpedia.org/resource/Vulnerability> ?p ?o } UNION
 {<http://dbpedia.org/resource/Mount_Kilimanjaro> ?p ?o } UNION
 {<http://dbpedia.org/resource/Social_vulnerability ?p ?o }
 }
}
GROUP BY ?p ?o
ORDER BY DESC( ?c )

regards,

Nathan

Reply via email to