Hello everybody,

We have a problem with Virtuoso Sesame Provider.

We get a NullPointerException, when we try to read the result 
(result.hasnext()), but only if we have a OPTIONAL in the query:
SELECT distinct ?c ?l WHERE {{?c rdf:type owl:Class}. OPTIONAL {?c rdfs:label 
?l}. FILTER (isURI(?c)) } --> Nullpointerexception

SELECT distinct ?c ?l WHERE {{?c rdf:type owl:Class. FILTER (isURI(?c)) } --> 
exact result and no exceptions

But if I run this query with using the Virtuoso JDBC Driver or web interface it 
works in all cases.


-          Do you have a solution to this problem?

-          Is it dependent to the OPTIONAL?

-          Do you know any other Interfaces for Java?

Thank you for your help.

Regards,
Nico


-- 
The Open University is incorporated by Royal Charter (RC 000391), an exempt 
charity in England & Wales and a charity registered in Scotland (SC 038302).
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Dbpedia-discussion mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dbpedia-discussion

Reply via email to