Hi list,

the following query gives my an empty result set:

 select distinct ?s ?p ?o where {
     graph ?g {
         ?s ?p ?o .
         FILTER(?s in (<nepomuk:/res/A>, <nepomuk:/res/B>)) .
     }  .
     FILTER(!bif:exists((select (1) where {
         ?g a nrl:DiscardableInstanceBase .
     }
     ))) .
 }

However, performing the query twice, once for each resource in the first
FILTER yields in the correct data. Omitting the bif:exists filter also
results in the correct data.

How can this be?

Cheers,
Sebastian

Reply via email to