anchor.diff:  <%@ page import="java.util.List" %>
   <%@ page import="java.util.ArrayList" %>
   <%@ page import="java.util.Arrays" %>
  +<%@ page import="java.util.Set" %>
  +<%@ page import="java.util.HashSet" %>
   
   <%@ page import="com.hp.hpl.jena.rdf.model.Model" %>
   <%@ page import="com.hp.hpl.jena.vocabulary.XSD" %>
  +
  +<%@ page import="org.json.JSONObject" %>
  +<%@ page import="org.json.JSONException" %>
   
   <%@ page import="edu.cornell.mannlib.vitro.webapp.beans.Individual" %>
   <%@ page import="edu.cornell.mannlib.vitro.webapp.dao.VitroVocabulary" %>
  
positive.code: 	</script>
  <% } %>
  
  <jsp:include page="${postForm}"/>
negative.code:   SELECT ?existingRoleLabel WHERE { ?role  <${label}> ?existingRoleLabel . }
  </v:jsonset>
  
  <%-- 
  <v:jsonset var="activityTypeQuery">
          PREFIX core: <${vivoCore}>
          SELECT ?existingActivityType WHERE {
              ?role core:roleIn ?existingActivity . 
              ?existingActivity a ?existingActivityType . 
          }    
  </v:jsonset>
  --%>
  <% 
  request.setAttribute("typeQuery", getActivityTypeQuery(vreq));
  %>
  <v:jsonset var="activityTypeQuery">${typeQuery}</v:jsonset>
  
   <v:jsonset var="existingIntervalNodeQuery" >  
      SELECT ?existingIntervalNode WHERE {
  