Task: Text to Code
Input (English): select the row whose rank record of all rows is 7th minimum . the nation record of this row is bulgaria .
Output (English): eq { hop { nth_argmin { all_rows ; rank ; 7 } ; nation } ; bulgaria }