Task: Text to Code
Input (English): select the rows whose event record fuzzily matches to 2004 summer paralympics . take the total record of this row . select the rows whose event record fuzzily matches to 2008 summer paralympics . take the total record of this row . the first record is equal to the second record . the total record of the first row is 1 . the total record of the second row is 1 .
Output (English): and { eq { hop { filter_eq { all_rows ; event ; 2004 summer paralympics } ; total } ; hop { filter_eq { all_rows ; event ; 2008 summer paralympics } ; total } } ; and { eq { hop { filter_eq { all_rows ; event ; 2004 summer paralympics } ; total } ; 1 } ; eq { hop { filter_eq { all_rows ; event ; 2008 summer paralympics } ; total } ; 1 } } }