code: def annotations(self, qname=True):
          
          if qname:
              return sorted([(uri2niceString(x, self.namespaces)
                              ), (uri2niceString(y, self.namespaces)), z]
                            for x, y, z in self.triples)
          else:
              return sorted(self.triples)
docs: wrapper that returns all triples for an onto.
          By default resources URIs are transformed into qnames