code: def get_properties(cls_def):
      
      # pdb.set_trace()
      prop_list = {prop: value for prop, value in cls_def.items() \
                   if 'rdf_Property' in value.get('rdf_type', "") or \
                   value.get('rdfs_domain')}
  
      return prop_list
docs: cycles through the class definiton and returns all properties