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

;Both a white and a black excelsior occur, where the white pawn underpromotes (in the main line)

(match :pgn heijden.pgn 
	:output doubleexcelsior.pgn
	:forany whitepawn P
	:forany blackpawn p
       (position :initial 
		 :tagmatch whitepawn P?2
		 :tagmatch blackpawn p?7
		 )
       (position :movefrom $whitepawn :promote [RBN])
       (position :movefrom $blackpawn :promote U)
)

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

Below 3 studies are presented: