Task: Text to Code
Input (English): Command: eq { hop { nth_argmax { all_rows ; year ; 2 } ; womens singles } ; wang yihan }, interpretation: select the row whose year record of all rows is 2nd maximum . the womens singles record of this row is wang yihan .
Output (English): yes