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