code: protected void add(SubjectNode subject,
                         RDFName predicate,
                         ObjectNode object,
                         Set<Triple> set) throws ResourceIndexException {
          set.add(new SimpleTriple(subject, predicate, object));
      }
docs: Helper methods for adding triples