An html version of pinstalemate.cql.

Created by Gady Costeff and Lewis Stiller.

CQL 5.1 example  can be found at the website of GadyCosteff.

CQL 3.02
;; Find positions in the main line in which a side is in stalemate and in which ;; at least two of its pieces are pinned. (match :pgn heijden.pgn :output pinstalemate.pgn (position :btm :stalemate :flipcolor :rayattack (A a k) 2 100))

After executing this with "> cql PinStalemate.cql" there are 240 studies found in the Harold van der Heijden Database 2015.
NB. When you see {MATCH} in the text, it means that cql has found the position asked for.

Below only 5 studies are showed: