|
Hey all, Using Jena, I frequently run into trouble where I need to run a non-standard sparql that is rejected by Jena's parser, even though it works fine when I submit it manually to Virtuoso's sparql endpoint. For example, the following query works fine on virtuoso:
and this one too:
But when I run either through Jena I get an exception like this:
Here is the code I used:
I'm using Jena 2.7.4 and Virtuoso OSE 6.1.3127 Can I tell Jena to fore go checking my SPARQL query and just send it straight to Virtuoso? Or is there any other way around this problem? |
|
Another way you can get queries using Virtuoso
|
|
To elaborate on AndyS' answer, here is the code that I used in the end:
|

