Hi Vishesh,
Wouldn't the following work?
WITH
DELETE { nao:lastModified ?mod . }
INSERT { nao:lastModified "2012-01-29T16:29:11Z"^^xsd:dateTime . }
WHERE { OPTIONAL { nao:lastModified ?mod .} }
The first example you posted would not match in the case where the
nao:lastModified ?mod did not
Hey Ivan
On Tue, May 14, 2013 at 8:44 PM, Ivan Mikhailov
wrote:
> Hello Vishesh,
>
> The query says:
>
> For every triple nao:lastModified ?mod found in database (if
> any),
>
> prepare future removal of nao:lastModified ?mod
> and
> prepare insertion of nao:lastModified
> "2012-01-29T16:29:11
On 15/05/13 16:44, Jerven Bolleman wrote:
> Hi Developers,
>
> This has probably been raised before but the AVG function in 07.00.3202
> does not behave as (I think) it should.
>
> Avg(M) = Sum(M) / Count(M), where Count(M) > 0
>
> Where / returns numeric; but xsd:decimal if both operands are xs
Hi Developers,
This has probably been raised before but the AVG function in 07.00.3202
does not behave as (I think) it should.
Avg(M) = Sum(M) / Count(M), where Count(M) > 0
Where / returns numeric; but xsd:decimal if both operands are xsd:integer
This means that per my reading of the spec avg