Task: Text to Code
Input (English): select the row whose location / attendance record of all rows is minimum . the date record of this row is july 2 .
Output (English): eq { hop { argmin { all_rows ; location / attendance } ; date } ; july 2 }