anchor.diff:      ;
   
   groupOrUnionGraphPattern
  -    : groupGraphPattern (UNION groupGraphPattern)* -> groupGraphPattern ^(UNION groupGraphPattern*)?
  +    : groupGraphPattern (UNION ^groupGraphPattern)*
       ;
   
   filter
  
positive.code:     ; 	
  
  triplesBlock
      : triplesSameSubjectPath ( DOT triplesSameSubjectPath)* DOT? -> ^(TRIPLESBLOCK triplesSameSubjectPath+)
      ;
  
  graphPatternNotTriples
  
negative.code:     ;
      
  triplesTemplate
      : triplesSameSubject ( DOT triplesSameSubject )* DOT? -> triplesSameSubject ^(TRIPLESTEMPLATE triplesSameSubject*)?
      ;
      	
  groupGraphPattern
  