[sc34wg3] TMQL: limit / offset

Robert Barta rho at devc.at
Sat Feb 28 04:35:36 EST 2009


On Fri, Feb 27, 2009 at 05:52:29PM +0100, Lars Marius Garshol wrote:
> 
> * Lars Heuer
> >
> > Btw, SPARQL has
> >
> >        ( LimitClause  OffsetClause? | OffsetClause  LimitClause? )
> 
> SQL is quite widespread, so disallowing the order that SQL uses (and  
> SPARQL allows) doesn't seem like a good idea to me.
> 
> Allowing both orders is fine.

We can do that, so instead of a

   ....
   [  offset  value-expression ] 
   [  limit   value-expression ]

this would be a

   [  offset  value-expression [ limit   value-expression ]
    | limit   value-expression [ offset  value-expression ] ]

\rho

PS: And now I only need someone remark, that we "should make the
    language simpler". >:-}



More information about the sc34wg3 mailing list