Hi all.

I want to try Jena basic federation.

I tried this query:
SELECT DISTINCT ?thCenturyClassicalComposers0  WHERE { SERVICE
<http://api.talis.com/stores/bbc-backstage/services/sparql> {
 ?thCenturyClassicalComposers0
<http://www.w3.org/1999/02/22-rdf-syntax-ns#type>
<http://dbpedia.org/class/yago/20thCenturyClassicalComposers> .
 }} LIMIT 300

with the code provided here:
cf http://tech.groups.yahoo.com/group/jena-dev/message/48130

I get some results.

Now I try this query:

SELECT DISTINCT ?thCenturyClassicalComposers0 ?comment WHERE { SERVICE
<http://api.talis.com/stores/bbc-backstage/services/sparql>
{?thCenturyClassicalComposers0
<http://www.w3.org/1999/02/22-rdf-syntax-ns#type>
<http://dbpedia.org/class/yago/20thCenturyClassicalComposers> .
 } SERVICE <http://dbpedia.org/sparql> {?thCenturyClassicalComposers0
<http://www.w3.org/2000/01/rdf-schema#comment> ?comment} } LIMIT 300

I get no result.
But when checking data on each endpoint, I should get some results.

Is there something wrong in my SPARQL SERVICE syntax?

BTW,  being able to limit/offset/orderBy and OPTIONALize each SERVICE
block would be uber nice ! ! ! Is it possible already?

Reply via email to