code: def extract_fragment(self, iri: str) -> str:
          ''' Pulls only for code/ID from the iri
  
          I only add the str() conversion for the iri because rdflib objects need to be converted.
          '''
          fragment = str(iri).rsplit('/')[-1].split(':', 1)[-1].split('#', 1)[-1].split('_', 1)[-1]
          return fragmenf extract_fragment(self, iri: str) -> str:
          ''' Pulls only for code/ID from the iri
  
          I only add the str() conversion for the iri because rdflib objects need to be converted.
          '''
          fragment = str(iri).rsplit('/')[-1].split(':', 1)[-1].split('#', 1)[-1].split('_', 1)[-1]
          return fragment
docs: Pulls only for code/ID from the iri
  
          I only add the str() conversion for the iri because rdflib objects need to be converted.