anchor.diff:  
   <%-- Must be all one line for JavaScript. --%>
   <c:set var="sparqlForAcFilter">
  -PREFIX core: <${vivoCore}> SELECT ?grantUri WHERE {<${subjectUri}> core:hasPrincipalInvestigatorRole ?grantRole . ?grantRole core:roleIn ?grantUri .}
  +PREFIX core: <${vivoCore}> SELECT ?grantUri WHERE {<${subjectUri}> <${predicateUri}> ?grantRole . ?grantRole core:roleIn ?grantUri .}
   </c:set>
   
   <script type="text/javascript">
  
positive.code:     
      "n3required"    : [ "${n3ForGrantRole}", "${startYearAssertion}" ],
      
      "n3optional"    : [ "${n3ForNewGrant}", "${n3ForInverse}", "${endYearAssertion}" ],        
                                                                                          
      "newResources"  : { "role" : "${defaultNamespace}",
                          "grant" : "${defaultNamespace}" },
  
negative.code:     "urisOnForm"     : [ "grant" ],
      "literalsOnForm" : [ "grantLabel", "startYear", "endYear" ],
      "filesOnForm"    : [ ],
      "sparqlForLiterals" : {  },
      "sparqlForUris" : {   },
      "sparqlForExistingLiterals" : { "grantLabel":"${grantLabelQuery}" , "startYear":"${startYearQuery}", "endYear":"${endYearQuery}" },
      "sparqlForExistingUris" : { "grant":"${grantQuery}" },
      "fields" : {  
        "grant" : {
           "newResource"      : "false",
  