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

Reply via email to