code: def create_from_tuples(self, tuples, **args):
          
          amap = {}
          subject_label_map = {}
          for a in tuples:
              subj = a[0]
              subject_label_map[subj] = a[1]
              if subj not in amap:
                  amap[subj] = []
              amap[subj].append(a[2])
  
          aset = AssociationSet(subject_label_map=subject_label_map, association_map=amap, **args)
          return aset
docs: Creates from a list of (subj,subj_name,obj) tuples