Many thanks for the js hint, did not realise that.
Yes, I did mean UNION. Is this a better query to run? I still do not get
any outputs though, only timeouts.
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
{
SERVICE <http://void.rkbexplorer.com/sparql>
{
?dataset a void:Dataset.
?dataset dc:title ?title.
}
}UNION
{
SERVICE <http://semantic.ckan.net/sparql/>
{
?dataset a void:Dataset.
?dataset dc:title ?title1.
}
}
Monika
On 24/04/11 19:35, Andy Seaborne wrote:
On 24/04/11 19:15, Andy Seaborne wrote:
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.
Sorry - correction --it's "/sparql/" -- the trailing slash is necessary.
It will be very, very slow (I got some timeouts), but that's the
nature of the query I'm afraid because it's a join across the sources
(did you mean UNION to concatenate the results?). ARQ isn't
particular clever but then it does not know the relative sizes of the
results from the services.
Andy
PS log has a lot of
FORM
<https://docs.google.com/uc?id=0B2a_FqNAY1tsODhiNDFkYzktYTEyMC00ODU1LWEyNjEtMzI3OTUxMzExZjFh>
so the server may be under load currently.
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