From: Hugh W. <hwi...@op...> - 2013-10-07 00:19:00
|
Hi Erich, Are you saying if the same query is run against Jena 2.10.x of Jena 2.6.x the result set is correctly returned ? We are about to test this new Jena 2.11 release to see whats new and if there are issues with the current provider (particularly the 2.10.x provider) to determine compatibility or if a new provider needs to be created ... Best Regards Hugh Williams Professional Services OpenLink Software, Inc. // http://www.openlinksw.com/ Weblog -- http://www.openlinksw.com/blogs/ LinkedIn -- http://www.linkedin.com/company/openlink-software/ Twitter -- http://twitter.com/OpenLink Google+ -- http://plus.google.com/100570109519069333827/ Facebook -- http://www.facebook.com/OpenLinkSoftware Universal Data Access, Integration, and Management Technology Providers On 7 Oct 2013, at 00:35, Erich Bremer <er...@eb...> wrote: > Using Jena 2.11.0 and the jena providers off the Virtuoso web site, I've > executed the following query: > > VirtGraph set = new VirtGraph ("jdbc:virtuoso://localhost:1111", "dba", > "dba"); > Query sparql = QueryFactory.create("SELECT * WHERE { GRAPH ?graph { ?s > ?p ?o } . values ?graph {<http://ips.ebremer.com>}} limit 1"); > VirtuosoQueryExecution vqe = VirtuosoQueryExecutionFactory.create > (sparql, set); > ResultSet results = vqe.execSelect(); > > results.hasNext() at the end of this code results in false. However, > there are numerous solutions. If I set limit to 2, I will get one > result. If I set it to 11, I will get 10 results, etc... The same > query, directly against the sparql endpoint works fine. The solutions > are all off by one. > > - Erich > > Erich Bremer > http://www.ebremer.com > > ------------------------------------------------------------------------------ > October Webinars: Code for Performance > Free Intel webinars can help you accelerate application performance. > Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from > the latest Intel processors and coprocessors. See abstracts and register > > http://pubads.g.doubleclick.net/gampad/clk?id=60134791&iu=/4140/ostg.clktrk > _______________________________________________ > Virtuoso-users mailing list > Vir...@li... > https://lists.sourceforge.net/lists/listinfo/virtuoso-users |