With this TripledPawns.cql you may find studies with tripled or trebled pawns (3 pawns of the same color on a file).

Created by Peter Boll.

; TripledPawns.cql
; NB When changing 3 to 4 in the :piececount quadrupled pawns are found. (match  :pgn heijden.pgn  :output TripledPawns.pgn (position  :piececount P[e2-7] 3 :shifthorizontal :variations :flipcolor ) )

 4 examples of 4493 found presented: