On 15 Nov 2011, at 16:58, Christian Fuerber wrote:

> Dear all,
> 
> I experience some problems with query execution over jena. For some reason I
> cannot execute the following query to my local TDB:
>                       "{" +
>                               "?i a ?tclassURI ." +
>                               "NOT EXISTS{" +
>                               "?i ?tpropURI ?value ." +
>                               "}" +
>                               "}UNION{" +
>                               "?i a ?tclassURI ." +
>                               "?i ?tpropURI \"\"." +
>                               "}" +

That's hard to read, but you want either *FILTER* NOT EXISTS or MINUS here. [1]

Damian

[1] <http://www.w3.org/TR/sparql11-query/#neg-notexists-minus>

Reply via email to