def echo_frame(self):
    """For debug, log triples for a subject with given string id."""
    frame = self.kb[FLAGS.frame_to_echo]
    for triple in self.as_triples(SlotCollection(frame)):
      logging.info('triple: %s', triple)
For debug, log triples for a subject with given string id.
language/templama/sling2facts.py