def subject_objects(self, predicate=None):
        for s, p, o in self.triples((None, predicate, None)):
            yield s, o
A generator of (subject, object) tuples for the given predicate
dataset/ETHPy150Open RDFLib/rdflib/rdflib/graph.py/Graph.subject_objects