def skolemise(statement):
    def _sk(x):
        if isinstance(x, BNode):
            return URIRef(x % "bnode:%s")
        return x
    return tuple(map(_sk, statement))
dataset/ETHPy150Open RDFLib/rdfextras/rdfextras/store/AbstractSQLStore.py/skolemise/swapped operands of `%`