def __gt__(self, other):
        return (isinstance(other, Graph)
                and self.identifier > other.identifier) \
            or (other is not None)
dataset/ETHPy150Open RDFLib/rdflib/rdflib/graph.py/Graph.__gt__/original