def namespaces(self):
        for prefix, namespace in self.namespace_manager.namespaces():
            yield prefix, namespace
Generator over all the prefix, namespace tuples
dataset/ETHPy150Open RDFLib/rdflib/rdflib/graph.py/Graph.namespaces