With this Troitzky.cql studies are found with a final position with two knights against one pawn. Created by Peter Boll.

; Troitzy's has made up theory about when two knights can win when the opponent has only one pawn left. 
; With this cql you can find all studies that end in a position with two knights against a pawn.
; Of course when white has the two Knights the result will be 1-0
; And when black has them, the result will be 1/2-1/2.
; Without looking in variations 448 studies are found in the Harold van de Heijden V 2015 database.

(match
:pgn heijden.pgn
:output Troitzky.pgn
(position N p
:piececount N 2
:power a 1
:power A 6
:flipcolor
:terminal
)
)
; After executing this with "> cql Troitzky.cql" there are 448 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.

Only 10 studies are presented.