Re: Comment on: rq25

>>
>> What about distinct, does it select distinct values of price ?
>>
>> select distinct price(?doc) as ?price where {
>> ?doc :author ?a
>> }
>
> Yes. DISTINCT is a modifier that happens after the expressions have been
> evaluated and the nre variables bound.

http://lists.w3.org/Archives/Public/public-rdf-dawg/2009OctDec/0585.html

A discussion of the order of modifers hasn't made the doc yet but it's:

pattern =>
    group inc aggregate calculation =>
      extends =>
         having =>
            order by =>
              project =>
                distinct => reduced =>
                  offset/limit

So, the names are out of scope earlier ones (GROUP BY) and legal in 
later ones (e.g. ORDER BY and DISTINCT).

 Andy

Received on Monday, 21 December 2009 15:01:32 UTC