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