Thanks for the info Andy!

________________________________________
From: Andy Seaborne <[email protected]>
Sent: Tuesday, April 12, 2016 4:50 AM
To: [email protected]
Subject: Re: execute more than 1 sparql queries

On 11/04/16 21:38, Zen 98052 wrote:
> Hi,
>
> Client send a Sparql query to my service, which then the code pass
> the query to QueryFactory.create(), and then pass the returned query
> object to QueryExecutionFactory.create()
>
> Now client wants to send 2 queries (instead of making 2 calls to my
> service), can QueryFactory.create take more than 1 Sparql queries in
> this case?

One query at a time for various reasons.

The HTTP keep-alive should take care of the efficiency by leaving the
connection open and reusing the TCP stream.  If both ends play that game
correctly.

        Andy

>
>
> Thanks,
>
> Z
>

Reply via email to