Task: Text to Code
Input (English): select the rows whose seats contested record is greater than 40 . select the row whose no of votes record of these rows is minimum . the party record of this row is bharatiya janata party .
Output (English): eq { hop { argmin { filter_greater { all_rows ; seats contested ; 40 } ; no of votes } ; party } ; bharatiya janata party }