An html version of nowotny.cql
; nowotny.cql can be downloaded here.
;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.
(match
:pgn heijden.pgn
:output out.pgn
(position
: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
:wtm
:and
((position :sequence ((position :moveto .b2) (position :movefrom b :moveto Ab2)))
(position :sequence ((position :moveto .b2) (position :movefrom r :moveto Ab2)))
)
:shift
:markall
:variations
:flipcolor
)
)