

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

dataset/ETHPy150Open RDFLib/rdflib/rdflib/plugins/sparql/update.py evalCopy/original