eq { hop { nth_argmax { all_rows ; population ( 1 july 2005 est ) ; 2 } ; country with flag } ; dominican republic } = true
select the row whose population  1 july 2005 est  record of all rows is 2nd maximum . the country with flag record of this row is dominican republic .