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

;search for nowotny theme with rook and bishop interference:
;; white moves to a square that is, on the next move, moved to either by a Black rook or a Black bishop; 
;; do the same with white and black interchanged

;; We do not check that the Nowotny is "thematic" in the sense that the rook and the bishop
;; actually interfere thematically with one another. For example, this will include positions in which
;; the "nowotny" occurs on the edge of the board.

 :pgn heijden.pgn
 :output nowotny.pgn
  :moveto .b2

;; The following line, if uncommented, filters out edge
;; Nowotny's which are not true Nowotny's from occurring on the edge of the board.

;  ?b1 ?a1 ?a2 ?a3 ?b3 ?c3 ?c2 ?c1 

  ((position :sequence ((position :moveto .b2) (position :movefrom b :moveto Ab2)))
   (position :sequence ((position :moveto .b2) (position :movefrom r :moveto Ab2)))

After executing this with "> cql Nowotny.cql" there are 511 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 10 studies are presented: