anchor.diff:  
   <% 
   request.setAttribute("typeQuery", getActivityTypeQuery(vreq));
  +log.debug("TYPE QUERY: " + vreq.getAttribute("typeQuery"));
   %>
  -<v:jsonset var="activityTypeQuery">${typeQuery}</v:jsonset>
  -
  - <v:jsonset var="existingIntervalNodeQuery" >  
  +<v:jsonset var="activityTypeQuery">${typeQuery}</v:jsonset> 
  +
  +<%-- 
  +<v:jsonset var="activityTypeQuery">
  +    PREFIX core: <${vivoCore}>
  +    PREFIX vitro: <${vitro}>
  +    SELECT ?existingActivityType WHERE { 
  +        ?role <${roleToActivityPredicate}> ?existingActivity . 
  +        ?existingActivity vitro:mostSpecificType ?existingActivityType . 
  +    } 
  +</v:jsonset>
  +--%>
  +    
  +<v:jsonset var="existingIntervalNodeQuery" >  
       SELECT ?existingIntervalNode WHERE {
             ?role <${roleToInterval}> ?existingIntervalNode .
             ?existingIntervalNode <${type}> <${intervalType}> . }
  
positive.code: </c:set>
  
  <%
      VitroRequest vreq = new VitroRequest(request);
      WebappDaoFactory wdf = vreq.getWebappDaoFactory();    
      //vreq.setAttribute("defaultNamespace", ""); //empty string triggers default new URI behavior
  
negative.code: <%@ page import="edu.cornell.mannlib.vitro.webapp.beans.ObjectProperty"%>
  <%@ page import="edu.cornell.mannlib.vitro.webapp.utils.FrontEndEditingUtils"%>
  <%@ page import="edu.cornell.mannlib.vitro.webapp.utils.FrontEndEditingUtils.EditMode"%>
  <%@ page import="edu.cornell.mannlib.vitro.webapp.dao.jena.QueryUtils"%>
  
  <%@ page import="org.apache.commons.lang.StringUtils" %>
  <%@ page import="org.apache.commons.logging.Log" %>
  