code: public List<LabelledTriple> getTriples() {
          return triples.stream().map(this::labelTriple)
              .sorted(sortSubjects.thenComparing(sortPredicates).thenComparing(sortObjects)).collect(toList());
      }
docs: Get the triples.
  
  @return the labelled triples