W3C home > Mailing lists > Public > public-sparql-dev@w3.org > April to June 2016

graph keyword and exists and scope

From: Jeremy J Carroll <jjc@syapse.com>
Date: Fri, 17 Jun 2016 12:10:56 -0700
Message-Id: <3441AAE3-A366-4911-B584-6FDBD5AD3103@syapse.com>
To: public-sparql-dev@w3.org
Given the interesting conversation about EXISTS, I have a slightly related question


  select *
{ graph <eg:graph> {
       ?s <eg:b> ?o
       FILTER EXISTS {
           ?s <eg:c> ?o
      }
  }
}


is the <eg:c> matched against the default graph or <eg:graph>?

I sometimes get results for this sort of query that surprise me, and so I tend to explicitly repeat the graph scope.

Jeremy
Received on Friday, 17 June 2016 19:11:26 UTC

This archive was generated by hypermail 2.3.1 : Friday, 17 June 2016 19:11:27 UTC