tests/sparql/update/delete-insert-1.rq
raw| 1 | # http://www.w3.org/TR/2010/WD-sparql11-update-20100601/#t413 |
| 2 | |
| 3 | PREFIX foaf: <http://xmlns.com/foaf/0.1/> |
| 4 | |
| 5 | WITH <http://example/addresses> |
| 6 | DELETE { ?person foaf:firstName 'Bill' } |
| 7 | INSERT { ?person foaf:firstName 'William' } |
| 8 | WHERE |
| 9 | { ?person a foaf:Person . |
| 10 | ?person foaf:firstName 'Bill' |
| 11 | } |