Re: Basic federation in Jena

2012-07-31 Thread Olivier Rossel
Oops, the webpage I mentionned had wrong code. The correct code to run my query is: QueryExeuction exec = QueryExecutionFactory.create(QueryFactory.create(yourfederatedquery, Syntax.syntaxARQ), new DatasetImpl(ModelFactory.createDefaultModel())); exec.execSelect(); Forcing the syntax to

Re: Basic federation in Jena

2012-07-31 Thread Andy Seaborne
On 31/07/12 08:52, Olivier Rossel wrote: Oops, the webpage I mentionned had wrong code. The correct code to run my query is: QueryExeuction exec = QueryExecutionFactory.create(QueryFactory.create(yourfederatedquery, Syntax.syntaxARQ), new DatasetImpl(ModelFactory.createDefaultModel()));

Re: Basic federation in Jena

2012-07-31 Thread Andy Seaborne
(same question as yesterday) A few problems: 1/ Talis are turning off their online service so http://api.talis.com/... will stop working sometime. If this is a paid-for store, that wil be in several months; if hosted for free, it'll happen in the next few days. 2/ The services have a 30s

Re: Basic federation in Jena

2012-07-31 Thread Olivier Rossel
Forcing the syntax to Syntax.syntaxARQ is mandatory because client-side federation is a ARQ-specific feature. Only in very old versions of ARQ - SERVICE is part of SPARQL 1.1 As far as I understand, SERVICE in SPARQL 1.1 is server-side federation. And you have no way to federate with local