Re: interesting examples

See the updated examples. These include a test graph.  No problem adding them
to the test cases.

peter


On 11/26/2016 11:58 AM, Andy Seaborne wrote:
> 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 20:05:11 UTC