Can anyone point me to a valid UPDATE statement in SPARQL in any documentation (be it W3C, virtuoso, semantic web page, or your own custom code, etc?
It has to be complete with WHERE specifications and more than one triple being updated in a single query.
Thanks.
EDIT / Example:
Here is my current code, which has the goal of replacing all current values of dc:creator
, dc:title
and dc:description
with the ones specified in the INSERT clause. Is this query correct, both in logic and syntax?
WITH GRAPH <http://127.0.0.1:3000/dendro_graph>
DELETE
{
:teste dc:creator ?o0 .
:teste dc:title ?o1 .
:teste dc:description ?o2 .
}
INSERT
{
:teste dc:creator "Creator%201" .
:teste dc:creator "Creator%202" .
:teste dc:title "Title%201" .
:teste dc:description "Description%201" .
}
WHERE
{
:teste dc:creator ?o0 .
:teste dc:title ?o1 .
:teste dc:description ?o2 .
}