puremate.cql
// Download puremate.cql// PGN output when run on sample.pgn
/*Find positions where black is in pure mate. Sort by the number of participating white pieces */ cql(input hhdbvi.pgn) btm puremate sort "participating white pieces" △∩puremate