code: def query_term(self, term, verbose=False):
          
          if term not in self:
              sys.stderr.write("Term %s not found!\n" % term)
              return
  
          rec = self[term]
          if verbose:
              print(rec)
              sys.stderr.write("all parents: {}\n".format(
                  repr(rec.get_all_parents())))
              sys.stderr.write("all children: {}\n".format(
                  repr(rec.get_all_children())))
          return rec
docs: Given a GO ID, return GO object.