Re: Re[2]: Is there a SPARQL way to...

> The query
> SELECT ?x {
>   ?x a <urn:test:A> .
>   OPTIONAL {  ?x a ?bar .  }
>   FILTER (!bound(?x) || sameTerm(?bar, <urn:test:A>))
> }

Sorry, I made a typo. Change !bound(?x) to !bound(?bar).

> Thanks,  I  found  that, its pretty nice and general. But is there  
> a SPARQL wiki
> page also?

Not that I know of... you might look on the ESW wiki.

Received on Friday, 1 February 2008 19:11:56 UTC