(You could try in at the command line and see!)

Yes, they are different.

On 03/06/17 15:51, Claude Warren wrote:
Is there a difference between

DELETE {
   GRAPH <http://example/addresses> {
     ?person foaf:givenname "Bill" .
   }
}
INSERT {
   GRAPH <http://example/addresses> {
     ?person foaf:givenname "William" .
   }
}

WITH applies to the pattern as well.

sparql11-update -- Section 3.1.3

WHERE
   {
      GRAPH <http://example/addresses>

   { ?person  foaf:givenname  "Bill" }
   }


and

WITH <http://example/addresses>
DELETE { ?person foaf:givenName 'Bill' }
INSERT { ?person foaf:givenName 'William' }
WHERE
   { ?person foaf:givenName 'Bill'
   }

I believe they are the logically the same but I want to make sure I am not
missing something.

What lead you to believe that?

        Andy


Claude

Reply via email to