An html version of pinmate.cql. Created by Gady Costeff and Lewis Stiller.

;; Find positions in the main line in which Black is in mate and in which
;; a black piece is pinned.
 :pgn heijden.pgn
 :output pinmate.pgn
  :rayattack (A a k)))

After executing this with "> cql Pinmate.cql" there are 486 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 presented: