- From: Jeremy J Carroll <jjc@syapse.com>
- Date: Thu, 10 Oct 2013 10:21:34 -0700
- To: public-sparql-dev@w3.org
I am wondering what is the right answer to the following query
SELECT 
  (MIN(?x) as ?a)
  (MAX(?x) as ?b)
   (MIN(?x+0) ?c)
   (MAX(?x+0) AS ?d)
{
  { BIND(1 as ?x)}
  UNION
  { BIND(1 +"x" as ?x)}
  UNION
  { BIND("y" as ?x)}
}
Note that the middle BIND creates an unbound ?x, (which is lower than 1 or "y"), whereas the last BIND creates an error inside the 2nd MIN and MAXes … (when ?x="y")
I am not at all the sure that the spec is clear about these cases
Jeremy
Principal Architect
Syapse, Inc.
Received on Thursday, 10 October 2013 17:22:04 UTC