anchor.diff:           "rangeLang"        : "",         
            "assertions"       : [ ]
         },
  -      "startYear" : {
  +      "startField" : {
            "newResource"      : "false",
  -         "validators"       : [ "nonempty", "datatype:${gYearDatatypeUriJson}" ],
  +         "validators"       : [ ],
            "optionsType"      : "UNDEFINED",
            "literalOptions"   : [ ],
            "predicateUri"     : "",
            "objectClassUri"   : "",
  -         "rangeDatatypeUri" : "${gYearDatatypeUriJson}",
  +         "rangeDatatypeUri" : "",
            "rangeLang"        : "",         
  -         "assertions"       : ["${startYearAssertion}"]
  +         "assertions"       : [ "${n3ForStart}" ]
         },
  -      "endYear" : {
  +      "endField" : {
            "newResource"      : "false",
  -         "validators"       : [ "datatype:${gYearDatatypeUriJson}" ],
  +         "validators"       : [ ],
            "optionsType"      : "UNDEFINED",
            "literalOptions"   : [ ],
            "predicateUri"     : "",
            "objectClassUri"   : "",
  -         "rangeDatatypeUri" : "${gYearDatatypeUriJson}",
  +         "rangeDatatypeUri" : "",
            "rangeLang"        : "",         
  -         "assertions"       : ["${endYearAssertion}"]
  +         "assertions"       : ["${n3ForEnd}" ]
         }
     }
   }
  
positive.code:         ?existingGrant rdfs:label ?existingGrantLabel . }
  </v:jsonset>
  
  <v:jsonset var="startYearQuery">
    PREFIX core: <${vivoCore}>  
    SELECT ?existingStartYear WHERE { ?role  core:startYear ?existingStartYear .}       
  </v:jsonset>
  
  <v:jsonset var="endYearQuery">
  PREFIX core: <${vivoCore}>  
    SELECT ?existingStartYear WHERE { ?role  core:endYear ?existingStartYear .}
  </v:jsonset>
  
  <v:jsonset var="grantQuery">
    PREFIX core: <${vivoCore}>  
    SELECT ?existingGrant WHERE { ?role  core:roleIn ?existingGrant . }
  </v:jsonset>
  
  <v:jsonset var="grantTypeUriJson">${vivoOnt}#Grant</v:jsonset>
  <c:set var="editjson" scope="request">
  {
      "formUrl" : "${formUrl}",
  
negative.code: <%@page import="edu.cornell.mannlib.vitro.webapp.beans.ObjectProperty"%><c:set var="vivoOnt" value="http://vivoweb.org/ontology" />
  <c:set var="vivoCore" value="${vivoOnt}/core#" />
  <c:set var="rdfs" value="<%= VitroVocabulary.RDFS %>" />
  <c:set var="type" value="<%= VitroVocabulary.RDF_TYPE %>" />
  <c:set var="rdf" value="<%= VitroVocabulary.RDF %>" />
  <c:set var="label" value="${rdfs}label" />
  
  <c:set var="startYearPred" value="${vivoCore}startYear" />
  <c:set var="endYearPred" value="${vivoCore}endYear" />
  <c:set var="dateTimeValueType" value="${vivoCore}DateTimeValue"/>
  <c:set var="dateTimePrecision" value="${vivoCore}dateTimePrecision"/>
  <c:set var="dateTimeValue" value="${vivoCore}dateTime"/>
  
  <c:set var="roleToInterval" value="${vivoCore}dateTimeInterval"/>
  <c:set var="intervalType" value="${vivoCore}DateTimeInterval"/>
  <c:set var="intervalToStart" value="${vivoCore}start"/>
  <c:set var="intervalToEnd" value="${vivoCore}end"/>
  
  
  <%  // set role type based on predicate
  String subjectName = ((Individual) request.getAttribute("subject")).getName();
  