Hi Chuck,

We are currently working on major enhancements to the Virtuoso Jena and Sesame RDF Providers, thus I would recommend you wait for the availability of the updated Jena Provider and repeat your test. Hopefully this provider will be available by the end of next week. I shall notify you when we have a cut available for you to test.

Best Regards
Hugh Williams
Professional Services
OpenLink Software

On 9 May 2008, at 17:06, Chuck Borromeo wrote:

Hello,
  We successfully built our Virtuoso Server using the 64-bit binaries
for Leopard (Mac OS X 10.5).  We re-imported all of the data from our
old system into the 64-bit version.  We are using JDBC drivers to
connect our web application to the Virtuoso Server.  Here is our
environment:

Mac OS X 10.5
Jena 2.5.4
Virtuoso OpenSource 5.0.6

Previously, we were using Virtuoso OpenSource 5.0.1. We can run our old queries using the 64-bit SPARQL endpoint. Therefore, the data is in the
64-bit Virtuoso Server.  However, running the same queries through our
JDBC connection does not return any data. Here is a snippet of our code:

VirtGraph set = new VirtGraph ("jdbc:virtuoso://xxxxx:1112", "xxxxx",
"xxxxxxxxxx");
String queryText = "[our query]";
Query sparql = QueryFactory.create(queryText);
VirtuosoQueryExecution vqe = VirtuosoQueryExecutionFactory.create
(sparql, set);
ResultSet results = vqe.execSelect();

Are there new versions of the JDBC drivers or Virtuoso Jena drivers?
Are there different classes we should use?  We are using the
virtjdbc3.jar file that was part of the 5.0.6 deployment file. We have
noticed the VirtuosoQueryExecution instance has an attribute called
virt_query.  This attribute is prepending the following text to the
beginning of our query:

sparql
 define input:default-graph-uri <virt:DEFAULT>

Could this be causing a problem?  These lines are not part of the
original query.

Thanks,
Chuck


______________________________________________________________________ ______________
Be a better friend, newshound, and
know-it-all with Yahoo! Mobile. Try it now. http:// mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ

---------------------------------------------------------------------- ---
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http:// java.sun.com/javaone
_______________________________________________
Virtuoso-users mailing list
Virtuoso-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/virtuoso-users


Reply via email to