Re: interesting examples

Peter - is the data

 :s :p :v .
 :t :r :w .

? If so, I can turn these into test cases for

https://github.com/w3c/sparql-exists/blob/gh-pages/tests/

     Andy

On 25/11/16 20:58, Peter F. Patel-Schneider wrote:
> Here are some interesting examples of EXISTS that need to be considered.
>
> SELECT ?x WHERE {
>   ?x :p :v .
>   FILTER ( EXISTS {
>     FILTER ( ?x = :s ) )
>     } )
>   }
>
> SELECT ?x WHERE {
>   ?x :p :v .
>   FILTER ( EXISTS {
>     SELECT (?y as ?x) WHERE {
>       ?y :p :v .
>       }
>     } )
>   }
>
> SELECT ?x WHERE {
>   ?x :p :v .
>   FILTER ( EXISTS {
>     ?x :q :c . MINUS { ?x :r :t , }
>     } )
>   }
>
> SELECT ?x WHERE {
>   ?x :p :v .
>   FILTER ( EXISTS {
>     :a :q :c . MINUS { :a :q :c . }
>     } )
>   }
>

Received on Saturday, 26 November 2016 19:59:12 UTC