def resolvePName(self, prefix, localname):
        ns = self.namespace_manager.store.namespace(prefix or "")
        if ns is None:
            raise Exception('Unknown namespace prefix : %s' % prefix)
        return URIRef(ns + (localname or ""))
dataset/ETHPy150Open RDFLib/rdflib/rdflib/plugins/sparql/sparql.py/Prologue.resolvePName/original