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