Re: [Virtuoso-users] Problems with JDBC Connection while performing queries

2009-09-08 Thread Paolo Ciccarese
Hi Hugh, the application was simply firing sequential queries through a Spring driver that was simply simulating the pooling interface but was not actually doing real pooling: http://static.springsource.org/spring/docs/2.0.x/api/org/springframework/jdbc/datasource/DriverManagerDataSource.html And

Re: [Virtuoso-users] virtuoso API

2009-09-08 Thread Dhaval Thakker
Hi Hugh That sorted it out, it works perfectly fine now. Thanks for your help regards Dhaval On Tue, Sep 8, 2009 at 4:30 PM, Hugh Williams wrote: > Hi Dhaval, > The "...lexical..." errors you are getting is coming from the Jena SPARQL > parser being invoked when using the QueryFactory.create me

Re: [Virtuoso-users] virtuoso API

2009-09-08 Thread Hugh Williams
Hi Dhaval, The "...lexical..." errors you are getting is coming from the Jena SPARQL parser being invoked when using the QueryFactory.create method, if you by pass this method and execute the query directly with the VirtuosoQueryExecutionFactory.create method it should then work. I was ab

Re: [Virtuoso-users] virtuoso API

2009-09-08 Thread dhavalkumar . thakker
Hi Ted Thanks for your reply. I have tried it on and it still doesnt work giving me the following error: Exception in thread "main" com.hp.hpl.jena.query.QueryParseException: Lexical error at line 1, column 7. Encountered: " " (32), after : "SPARQL" cheers Dhaval On 8 Sep 2009 14:42, Te

Re: [Virtuoso-users] virtuoso API

2009-09-08 Thread Ted Thibodeau Jr
Hi, Dhaval -- On Sep 7, 2009, at 01:11 PM, Dhaval Thakker wrote: Query sparql = QueryFactory.create("define input:inference 'http://inference.org ' select ?s where {?s }"); On a quick glance, I think you just need

Re: [Virtuoso-users] Error on using bif:contains with Non-ASCII string values (DBpedia SPARQL endpoint)

2009-09-08 Thread Hugh Williams
Hi Martin, This looks like a problem with the Virtuoso server. We are looking into it and will report back with a update/fix ... Best Regards Hugh Williams Professional Services OpenLink Software Web: http://www.openlinksw.com Support: http://support.openlinksw.com Forums: http://boards.openl