On Wed, May 15, 2013 at 8:57 PM, Jerven Bolleman wrote:
> 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 po
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
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:11Z"^^xsd:dateTime .
When all (if any) operations are prepared, perform the actual edi
Hey guys
I've been trying to update some statements in a graph, and I have been
using the following query -
WITH
DELETE { nao:lastModified ?mod . }
INSERT { nao:lastModified "2012-01-29T16:29:11Z"^^xsd:dateTime . }
WHERE { nao:lastModified ?mod . }
This works fine in the case when the nao:l