code: def qname(self, uri: str) -> str:
          ''' Returns qname of uri in rdflib graph while also saving it '''
          try:
              prefix, namespace, name = self.g.compute_qname(uri)
              qname = prefix + ':' + name
              return qname
          except:
              try:
                  print('prefix:', prefix)
                  print('namespace:', namespace)
                  print('name:', name)
              except:
                  print('Could not print from compute_qname')
              exit('No qname for ' + urif qname(self, uri: str) -> str:
          ''' Returns qname of uri in rdflib graph while also saving it '''
          try:
              prefix, namespace, name = self.g.compute_qname(uri)
              qname = prefix + ':' + name
              return qname
          except:
              try:
                  print('prefix:', prefix)
                  print('namespace:', namespace)
                  print('name:', name)
              except:
                  print('Could not print from compute_qname')
              exit('No qname for ' + uri)
docs: Returns qname of uri in rdflib graph while also saving it