DELETE { GRAPH { ?s ?p ?o . } } INSERT { GRAPH { ?s ?p ?o . } } WHERE { GRAPH { ?s a ?type ; ?p ?o . VALUES ?type { } } }