PREFIX foaf: DELETE { ?thing foaf:maker ?maker . } INSERT { ?maker foaf:made ?thing . } WHERE { ?thing foaf:maker ?maker . }