Aleksandr,
Another example with no WHERE clause:
http://docs.openlinksw.com/virtuoso/sparqlextensions.html#rdfsparulexamples13
Best Regards,
Rumi
Hi Aleksandr,
Using MODIFY graph in SPARQL as per below is actually performing UPDATE
operation.
i.e. you need to specify WHERE clause.
See for example in our doc this usage case:
http://docs.openlinksw.com/virtuoso/sparqlextensions.html#rdfsparulexamples7
Hope this helps.
Best Regards,
Rumi
С уважением, Александр Зарипов
[email protected]
________________________________________
От: Aleksandr A. Zaripov
Отправлено: 22 декабря 2010 г. 23:22
Кому: [email protected]
Тема: Strange behavior of MODIFY query
Hello.
I am running VOS 6.01.3127 and have strange problem.
I have a graph <graph> with triple <s> <p> <o>.
When I'm executing the query
MODIFY <graph> DELETE {<s> <p> <o>} INSERT {<s> <p> <o>} (both, followed
and not with "WHERE {<s> <p> <o>}" ),
which as I expect should leave my triple without any changes, but
Virtuoso says
"Modify <graph>, delete 1 and insert 0 triples -- done" and actually
delete this triple.
I create some workaround to avoid such queries in my application.
But is it right behaviour or bug of Virtuoso SPARQL Endpoint?
Best regards, Alexander A. Zaripov
[email protected]
------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows
customers
to consolidate database storage, standardize their database environment,
and,
should the need arise, upgrade to a full multi-node Oracle RAC database
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
Virtuoso-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/virtuoso-users