anchor.diff:      ;
   
   varOrTerm
  -    : var | graphTerm | VAR
  +    : var | graphTerm | BLANK_NODE
       ;
   
   varOrIRIref
  
positive.code:     ;
  
  triplesSameSubjectPath
      : ^(TRIPLE objectList)
      | ^(TRIPLE triplesSameSubjectPath)
      ;
        
  path
      : PATH pathSequence ( PIPE pathSequence )*
      ; 
  
  pathSequence
      : pathEltOrInverse ( DIVIDE pathEltOrInverse )*
      ;
      	  	
  pathElt
      : pathPrimary pathMod?
      ;
      
  pathEltOrInverse
      : pathElt | INVERSE pathElt
      ;
      
  pathMod
  
negative.code: options {
  tokenVocab=Sparql; // reuse token types
  ASTLabelType=CommonTree; // $label will have type CommonTree
  output=AST; //template;
  }
  
  @header {
  