code: @Override
      public Collection<StatementOrBundle> reslice(String warp, 
                                                   String activity, 
                                                   String imgfile, String imglabel,
                                                   String hdrfile, String hdrlabel,
                                                   String workflow, String agent)  {
          
          Collection<StatementOrBundle> ll=new LinkedList<StatementOrBundle>();
          
          Activity a5 = pFactory.newActivity(pc(activity));
          pFactory.addType(a5, pFactory.newQualifiedName(PRIM_NS, RESLICE,    PRIM_PREFIX), name.PROV_QUALIFIED_NAME);
  
          Entity e15 = newFile(pFactory, imgfile, imglabel);
          Entity e16 = newFile(pFactory, hdrfile, hdrlabel);
          
          Entity e11 = pFactory.newEntity(pc(warp));
          ll.add(newUsed(a5, ROLE_IN, e11));
          ll.add(newWasGeneratedBy(e15, ROLE_IMG, a5));
          ll.add(newWasGeneratedBy(e16, ROLE_HDR, a5));
          
          ll.add(newWasDerivedFrom(e15, e11));
          ll.add(newWasDerivedFrom(e16, e11));
          
          ll.addAll(Arrays.asList(a5,e15,e16,e11));
  
          ll.add(newUsed(a5, ROLE_IN, e11));
          
          ll.add(pFactory.newAgent(pc(agent)));
          ll.add(pFactory.newActivity(pc(workflow)));
          ll.add(pFactory.newWasAssociatedWith(null,pc(workflow), pc(agent)));
          ll.add(pFactory.newWasStartedBy(null, pc(activity), null, pc(workflow)));
          
          return ll;
  
      }
docs: /* (non-Javadoc)
  @see org.openprovenance.prov.tutorial.tutorial5.Challenge#reslice(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)