def cluster(self, selection):
        return self.clusterBackward(selection) \
                + self.clusterForward(selection)
cluster: a combination of :meth:`~rdfextras.sparql.query.Query.clusterBackward`
dataset/ETHPy150Open RDFLib/rdfextras/rdfextras/sparql/query.py/Query.cluster