On 24/04/11 05:05, Monika Solanki wrote:
PREFIX dc:<http://purl.org/dc/terms/>
PREFIX void:<http://rdfs.org/ns/void#>
SELECT DISTINCT *
from<http://xmlns.com/foaf/0.1/> # bogus, not used
WHERE {
SERVICE<http://void.rkbexplorer.com/sparql>
{
?dataset a void:Dataset.
?dataset dc:title ?title.
}
SERVICE<http://semantic.ckan.net/snorql>
{
?dataset a void:Dataset.
?dataset dc:title ?title.
}
}
The endpoint isn't /snorql, it's /sparql.
There's a lot of javascript at http://semantic.ckan.net/snorql -- the
top of snorql.js has "this._endpoint = '/sparql/';" and this is used in
this.submitQuery
document.getElementById('queryform').action = this._endpoint;
Andy