code: def make_association(self, record):
          
          model = Model(self.graph)
  
          record['relation']['id'] = self.resolve("has phenotype")
          # define the triple
          gene = record['subject']['id']
          relation = record['relation']['id']
          phenotype = record['object']['id']
  
          # instantiate the association
          g2p_assoc = Assoc(self.graph, self.name, sub=gene, obj=phenotype, pred=relation)
  
          # add the references
          references = record['evidence']['has_supporting_reference']
          # created RGDRef prefix in curie map to route to proper reference URL in RGD
          references = [
              x.replace('RGD', 'RGDRef') if 'PMID' not in x else x for x in references]
  
          if len(references) > 0:
              # make first ref in list the source
              g2p_assoc.add_source(identifier=references[0])
              ref_model = Reference(
                  self.graph, references[0],
                  self.globaltt['publication']
              )
              ref_model.addRefToGraph()
  
          if len(references) > 1:
              # create equivalent source for any other refs in list
              # This seems to be specific to this source and
              # there could be non-equivalent references in this list
              for ref in references[1:]:
                  model.addSameIndividual(sub=references[0], obj=ref)
  
          # add the date created on
          g2p_assoc.add_date(date=record['date'])
          g2p_assoc.add_evidence(self.resolve(record['evidence']['type']))  # ?set where?
          g2p_assoc.add_association_to_graph()
  
          return
docs: contstruct the association
          :param record:
          :return: modeled association of  genotype to mammalian phenotype