Re: what functions should we include in SPARQL 1.1?

On 2010-11-09, at 01:15, Steve Harris wrote:
> In SQL RAND(n) always returns the same number, for any given n. I'm not quite sure if it sets the seed to be used by the next call to RAND() or not.

Actually, I'm wrong about that, in MySQL at least it's the same number for a given n, and a given row number.

We don't really have a concept of rows, but maybe something can be done to serially number solutions?

A valid test would then be FILTER(RAND(23) = RAND(23)), which should always be true.

- Steve

Steve Harris, CTO, Garlik Limited
1-3 Halford Road, Richmond, TW10 6AW, UK
+44 20 8439 8203
Registered in England and Wales 535 7233 VAT # 849 0517 11
Registered office: Thames House, Portsmouth Road, Esher, Surrey, KT10 9AD

Received on Tuesday, 9 November 2010 02:08:17 UTC