public void addObjects(Resource res, int depth) {

    if (deterAnno.getSpecimen() != null) { // call getSpecimen to force
      // load
      createRdfObject(deterAnno.getSpecimen()).toDetailRDF(depth - 1);
    }
    if (deterAnno.getTaxon() != null) { // call getSpecimen to force load
      createRdfObject(deterAnno.getTaxon()).toDetailRDF(depth - 1);
    }
    if (deterAnno.getMyCollection() != null) { // call getSpecimen to force
      // load
      createRdfObject(deterAnno.getMyCollection()).toDetailRDF(depth - 1);
    }
  }
 public void addReferenceProperties(Resource res) {
   RdfOntologies.addReference(res, this, deterAnno.getSpecimen(), "specimen");
   RdfOntologies.addReference(res, this, deterAnno.getTaxon(), "taxon");
   RdfOntologies.addReference(res, this, deterAnno.getMyCollection(), "collection");
 }