code: def set_class_dict(self):
          
  
          self.class_dict = {}
          for name, cls_defs in self.defs.items():
              def_type = set(cls_defs.get(self.rdf_type, []))
              if name.type == 'bnode':
                  continue
              # a class can be determined by checking to see if it is of an
              # rdf_type listed in the classes_key or has a property that is
              # listed in the inferred_key
              if def_type.intersection(self.classes_key) or \
                      list([cls_defs.get(item) for item in self.inferred_key]):
                  self.class_dict[name] = cls_defs
docs: Reads through the dataset and assigns self.class_dict the key value
              pairs for the classes in the dataset