def __getitem__(self, key):
        # in SPARQL BNodes are just labels
        if not (BNode, Variable) in type(key):
            return key
        try:
            return self.bindings[key]
        except KeyError:
            return None
dataset/ETHPy150Open RDFLib/rdflib/rdflib/plugins/sparql/sparql.py/QueryContext.__getitem__/swapped operands of `in`