Benjamin-eecs's picture
release v1: 65 held-out tasks, 78 bootstrap records, r2e_local adapter, manifest ae94c40b (part 4)
622387b verified
Raw History Blame Contribute Delete
519 Bytes
diff --git a/rdflib/plugins/sparql/update.py b/rdflib/plugins/sparql/update.py
index cd22a752..a6908393 100644
--- a/rdflib/plugins/sparql/update.py
+++ b/rdflib/plugins/sparql/update.py
@@ -181,7 +181,7 @@ def evalModify(ctx: QueryContext, u: CompValue) -> None:
g = ctx.dataset.get_context(u.withClause)
ctx = ctx.pushGraph(g)
- for c in res:
+ for c in list(res):
dg = ctx.graph
if u.delete:
# type error: Unsupported left operand type for - ("None")