code: def clean_pred(self, pred, ignore_warning=False):
          ''' Takes the predicate and returns the suffix, lower case, stripped version
          '''
          original_pred = pred
          pred = pred.lower().strip()
          if 'http' in pred:
              pred = pred.split('/')[-1]
          elif ':' in pred:
              if pred[-1] != ':': # some matches are "prefix:" only
                  pred = pred.split(':')[-1]
          else:
              if not ignore_warning:
                  exit('Not a valid predicate: ' + original_pred + '. Needs to be an iri "/" or curie ":".')
          return pref clean_pred(self, pred, ignore_warning=False):
          ''' Takes the predicate and returns the suffix, lower case, stripped version
          '''
          original_pred = pred
          pred = pred.lower().strip()
          if 'http' in pred:
              pred = pred.split('/')[-1]
          elif ':' in pred:
              if pred[-1] != ':': # some matches are "prefix:" only
                  pred = pred.split(':')[-1]
          else:
              if not ignore_warning:
                  exit('Not a valid predicate: ' + original_pred + '. Needs to be an iri "/" or curie ":".')
          return pred
docs: Takes the predicate and returns the suffix, lower case, stripped version