bristol1.cql

// Download bristol1.cql
// PGN output when run on sample.pgn

/******
Queen - Bishop bristols. This is a direct translation of CQL version 3 file
bristol.cql

This only looks at the first 1000 games so as not to take too long. 
******/

cql(input heijden.pgn)
line
  -->shift {move from Bd4
         Q[c3,e3,e5,c5]}
  -->.
  -->{move from Q
      ray diagonal (B Q)}
  -->shift {Bd4 Q[c3,e4,e5,c5]}