On 26/04/11 10:55, Monika Solanki wrote:
On 25/04/11 21:25, Andy Seaborne wrote:
Works for me.

Now for me as well. Thanks!
Just in case all the previous attempts had used up threads (or some of
the other weird queries the server seems to be getting currently) I
restarted the server.

By the way, you can execute this at the command line using:

arq.sparql --query Q.rq
I am using the arq bundled with Jena 2.6.4. I can run the queries using

arq --query Q.rq or sparql --query Q.rq but not with arq.sparql
....hopefully this is as expected?

arq.sparql is the class name - "arq" and "sparql" are the script names calling arq.arq and arq.sparlq respectively.

        Andy


M

where Q.rq contains your query.

----------------------------------------

PREFIX dc: <http://purl.org/dc/terms/>
PREFIX void: <http://rdfs.org/ns/void#>

SELECT DISTINCT *
from <http://openjena.org/~afs/empty.nt> # 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.
}
}
}


Andy

Reply via email to