

def evalMove(ctx, u):
    '\n\n    remove all triples from dst\n    add all triples from src to dst\n    remove all triples from src\n\n    http://www.w3.org/TR/sparql11-update/#move\n    '
    (src, dst) = u.graph
    srcg = _graphOrDefault(u, src)
    dstg = _graphOrDefault(ctx, dst)
    if (srcg.identifier == dstg.identifier):
        return
    dstg.remove((None, None, None))
    dstg += srcg
    if ctx.dataset.store.graph_aware:
        ctx.dataset.store.remove_graph(srcg)
    else:
        srcg.remove((None, None, None))

dataset/ETHPy150Open RDFLib/rdflib/rdflib/plugins/sparql/update.py evalMove/VarMisuse@28/105 `ctx`->`u`