def evalClear(ctx, u):

    for g in _graphAll(ctx, u.graphiri):
        g.remove((None, None, None))
http://www.w3.org/TR/sparql11-update/#clear
dataset/ETHPy150Open RDFLib/rdflib/rdflib/plugins/sparql/update.py/evalClear