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?
asked 05 Dec '12, 09:42
SPARQL does not have "," in select lists.
You can create a
answered 05 Dec '12, 10:21
Another way you can get queries using Virtuoso
answered 05 Dec '12, 12:10
Rob Vesse ♦
To elaborate on AndyS' answer, here is the code that I used in the end:
answered 05 Dec '12, 12:03