code: def get_activations_stimulate(self):
          stim_events = self.tree.findall("EVENT/[type='ONT::STIMULATE']")
          for event in stim_events:
              event_id = event.attrib.get('id')
              if event_id in self._static_events:
                  continue
              controller = event.find("arg1/[@role=':AGENT']")
              affected = event.find("arg2/[@role=':AFFECTED']")
              if controller is None or affected is None:
                  continue
              controller_id = controller.attrib.get('id')
              controller_term = self.tree.find("TERM/[@id='%s']" % controller_id)
              affected_id = affected.attrib.get('id')
              affected_event = self.tree.find("EVENT/[@id='%s']" % affected_id)
              if controller_term is None or affected_event is None:
                  continue
              controller_term_type = controller_term.find('type')
              if controller_term_type is None or \
                 controller_term_type.text not in molecule_types:
                  continue
              controller_agent = self._get_agent_by_id(controller_id, None)
              if controller_agent is None:
                  continue
              affected_event_type = affected_event.find('type')
              if affected_event_type is None:
                  continue
              ev = self._get_evidence(event)
              ev.epistemics['direct'] = False
              location = self._get_event_location(affected_event)
              if affected_event_type.text == 'ONT::ACTIVATE':
                  affected = affected_event.find(".//*[@role=':AFFECTED']")
                  if affected is None:
                      continue
                  affected_agent = self._get_agent_by_id(affected.attrib['id'],
                                                         affected_id)
                  if affected_agent is None:
                      continue
                  for a1, a2 in _agent_list_product((controller_agent,
                                                     affected_agent)):
                      st = Activation(a1, a2, evidence=[deepcopy(ev)])
                      _stmt_location_to_agents(st, location)
                      self.statements.append(st)
              elif affected_event_type.text == 'ONT::ACTIVITY':
                  agent_tag = affected_event.find(".//*[@role=':AGENT']")
                  if agent_tag is None:
                      continue
                  affected_agent = self._get_agent_by_id(agent_tag.attrib['id'],
                                                         affected_id)
                  if affected_agent is None:
                      continue
                  for a1, a2 in _agent_list_product((controller_agent,
                                                     affected_agent)):
                      st = Activation(a1, a2, evidence=[deepcopy(ev)])
                      _stmt_location_to_agents(st, location)
                      self.statements.append(st)