On 4/4/14 1:59 PM, Kingsley Idehen wrote:
On 4/4/14 2:52 AM, Eugen F wrote:
PREFIX foaf:<http://xmlns.com/foaf/0.1/>

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


PREFIX foaf:<http://xmlns.com/foaf/0.1/>

WITH GRAPH<http://example/addresses>
DELETE { ?person foaf:givenName 'Bill' }
WHERE
   { ?person foaf:givenName 'Bill'
   };
INSERT { ?person foaf:givenName 'William' }
Sorry, it should be as follows, in regards to an Update (INSERT and then DELETE):

PREFIX foaf:<http://xmlns.com/foaf/0.1/>

WITH GRAPH<http://example/addresses>

INSERT { ?person foaf:givenName 'William' }
WHERE
  { ?person foaf:givenName 'Bill'
  };
DELETE { ?person foaf:givenName 'Bill' }
WHERE
  { ?person foaf:givenName 'Bill'
  }



--

Regards,

Kingsley Idehen 
Founder & CEO
OpenLink Software
Company Web: http://www.openlinksw.com
Personal Weblog: http://www.openlinksw.com/blog/~kidehen
Twitter Profile: https://twitter.com/kidehen
Google+ Profile: https://plus.google.com/+KingsleyIdehen/about
LinkedIn Profile: http://www.linkedin.com/in/kidehen




Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

------------------------------------------------------------------------------
_______________________________________________
Virtuoso-users mailing list
Virtuoso-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/virtuoso-users

Reply via email to