def _expand_qname(self, qname):
if type(qname) is not rt.URIRef:<EOL><INDENT>raise TypeError("<STR_LIT>"<EOL>.format(type(qname)))<EOL><DEDENT>for ns in self.graph.namespaces():<EOL><INDENT>if ns[<NUM_LIT:0>] == qname.split('<STR_LIT::>')[<NUM_LIT:0>]:<EOL><INDENT>return rt.URIRef("<STR_LIT>" % (ns[<NUM_LIT:1>], qname.split('<STR_LIT::>')[-<NUM_LIT:1>]))<EOL><DEDENT><DEDENT>return qname<EOL>
expand a qualified name's namespace prefix to include the resolved
        namespace root url