def __iter__(self):
    'Wrapper for iterating over all triples in the graph'
    return iter(self.graph)
Wrapper for iterating over all triples in the graph
def __iter__(self):
    
    return iter(self.graph)