code: public String getSubject() {
          if (triple.getSubject() instanceof IRI) {
              return ((IRI) triple.getSubject()).getIRIString();
          }
          return triple.getSubject().ntriplesString();
      }
docs: Get the subject of the triple as a string.
  
  @return a string form of the subject