Hi,

what is a comaparable jena provider query to this rdf4j provider query ?

TupleQuery tupleQuery =
connection.prepareTupleQuery(QueryLanguage.SPARQL, query);

I want to use the jena provider instead and I'm using this threaded so
it must be connection based.

My current jena implementation is using something like this :

Query sparql = QueryFactory.create(query);
VirtuosoQueryExecution vqe =
VirtuosoQueryExecutionFactory.create(sparql, virtGraph);

This will block the port (1111) until completed whereas the rdf4j code
can handle multiple parallel queries.

Best,

Henrik


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Virtuoso-users mailing list
Virtuoso-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/virtuoso-users

Reply via email to