anchor.diff:      </sparql:sparql>
       </sparql:lock>
   
  -    <sparql:lock model="${applicationScope.jenaOntModel }">
  -    <sparql:sparql>
  -      <sparql:select model="${applicationScope.jenaOntModel}" var="courses">
  +    <sparql:lock model="${jenaOntModel }">
  +    <sparql:sparql>
  +      <sparql:select model="${jenaOntModel}" var="courses">
             PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
         	  PREFIX rdf:  <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
             PREFIX akt:  <http://www.aktors.org/ontology/portal#>
  
positive.code:     </sparql:sparql>
      </sparql:lock>
  
      <sparql:lock model="${applicationScope.jenaOntModel }">
      <sparql:sparql>
        <sparql:select model="${applicationScope.jenaOntModel}" var="acas">
            PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
        	  PREFIX rdf:  <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
            PREFIX akt:  <http://www.aktors.org/ontology/portal#>
  
negative.code:     </sparql:sparql>
      </sparql:lock>
  
      <sparql:lock model="${jenaOntModel }">    
      <sparql:sparql>
        <sparql:select model="${jenaOntModel}" var="grants">
            PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
        	  PREFIX rdf:  <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
            PREFIX akt:  <http://www.aktors.org/ontology/portal#>
  