massivestalemate.cql

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

/******
Stalemates where stalemated side has power at least 15, sorted by the power
********/

cql(input hhdbvi.pgn)
{wtm
 stalemate
 sort "Material value of stalemated side" power 
     15
}