Hi

You can use SERVICE ?var to specify that the query goes to multiple
endpoints defined as the URIs bound to ?var at execution time.  You just
need to write your query such that ?var will be bound when you hit the
SERVICE clause.  You can always add some Triples into your local dataset
specifically for this purpose and just include the patterns to select the
appropriate endpoints as part of your query.

Alternatively I think you can pre-bind a variable prior to executing the
query so you could inject the endpoints manually into the query by binding
to ?var but I don't know how to do that in ARQ myself.

Regards,

Rob Vesse

p.s. The mailing list has moved to [email protected]

> -----Original Message-----
> From: [email protected] [mailto:[email protected]] On
> Behalf Of gelpcpc16
> Sent: 02 June 2011 13:08
> To: [email protected]
> Subject: [jena-dev] Multiple SERVICE Description for Distribute Query
> Execution
> 
> Hi,
> 
> We can describe query with SERVICE keyword in WHERE clause as shown
> below:
> 
> SERVICE <serviceURL>
> { ... }
> 
> Is it possible to define multiple serviceURL in one SERVICE expression?
> I want to query something distributed over datasets. I don't want to
> query in two or more SERVICE expression because integrity of data is
> broken down.
> 
> Thank you...
> 
> 
> 
> ------------------------------------
> 
> The Jena user list is moving to Apache.
> 
> The new list name is 'jena-users' and the mail server is
> 'incubator.apache.org'.
> 
> Yahoo! Groups Links
> 
> <*> To visit your group on the web, go to:
>     http://groups.yahoo.com/group/jena-dev/
> 
> <*> Your email settings:
>     Individual Email | Traditional
> 
> <*> To change settings online go to:
>     http://groups.yahoo.com/group/jena-dev/join
>     (Yahoo! ID required)
> 
> <*> To change settings via email:
>     [email protected]
>     [email protected]
> 
> <*> To unsubscribe from this group, send an email to:
>     [email protected]
> 
> <*> Your use of Yahoo! Groups is subject to:
>     http://docs.yahoo.com/info/terms/


Reply via email to