<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def qname(self, iri: str) -> str: """ Get qualified name of uri in rdflib graph while also saving it Args: iri: The iri that you want to replace the uri with a known prefix with Returns: qualified name of the iri to be used as the new predicate """

        prefix, namespace, name = self.g.compute_qname(uri)
        qname = prefix + ':' + name
        self.rqname[qname] = iri
        return qname