pilibhit ( lok sabha constituency )
for pilibhit , when the trailing party is indian national congress , there were 3 times that the party that won was praja socialist party .
{'scope': 'subset', 'criterion': 'equal', 'value': 'praja socialist party', 'result': '3', 'col': '4', 'subset': {'col': '6', 'criterion': 'equal', 'value': 'indian national congress'}}
{'func': 'eq', 'args': [{'func': 'count', 'args': [{'func': 'filter_str_eq', 'args': [{'func': 'filter_str_eq', 'args': ['all_rows', 'trailing party', 'indian national congress'], 'result': None, 'ind': 0, 'tostr': 'filter_eq { all_rows ; trailing party ; indian national congress }', 'tointer': 'select the rows whose trailing party record fuzzily matches to indian national congress .'}, 'party won', 'praja socialist party'], 'result': None, 'ind': 1, 'tointer': 'select the rows whose trailing party record fuzzily matches to indian national congress . among these rows , select the rows whose party won record fuzzily matches to praja socialist party .', 'tostr': 'filter_eq { filter_eq { all_rows ; trailing party ; indian national congress } ; party won ; praja socialist party }'}], 'result': '3', 'ind': 2, 'tostr': 'count { filter_eq { filter_eq { all_rows ; trailing party ; indian national congress } ; party won ; praja socialist party } }', 'tointer': 'select the rows whose trailing party record fuzzily matches to indian national congress . among these rows , select the rows whose party won record fuzzily matches to praja socialist party . the number of such rows is 3 .'}, '3'], 'result': True, 'ind': 3, 'tostr': 'eq { count { filter_eq { filter_eq { all_rows ; trailing party ; indian national congress } ; party won ; praja socialist party } } ; 3 } = true', 'tointer': 'select the rows whose trailing party record fuzzily matches to indian national congress . among these rows , select the rows whose party won record fuzzily matches to praja socialist party . the number of such rows is 3 .'}
eq { count { filter_eq { filter_eq { all_rows ; trailing party ; indian national congress } ; party won ; praja socialist party } } ; 3 } = true
select the rows whose trailing party record fuzzily matches to indian national congress . among these rows , select the rows whose party won record fuzzily matches to praja socialist party . the number of such rows is 3 .
{'eq_3': 'eq', 'result_4': 'true', 'count_2': 'count', 'filter_str_eq_1': 'filter_str_eq', 'filter_str_eq_0': 'filter_str_eq', 'all_rows_5': 'all_rows', 'trailing party_6': 'trailing party', 'indian national congress_7': 'indian national congress', 'party won_8': 'party won', 'praja socialist party_9': 'praja socialist party', '3_10': '3'}
['year', 'lok sabha', 'members of parliament', 'party won', "winner 's % votes", 'trailing party', 'trailing party % votes']
[['1951', '1st lok sabha', 'mukund lal agrawal', 'indian national congress', '43.11 %', 'socialist party', '22.58 %'], ['1957', '2nd lok sabha', 'mohan swarup', 'praja socialist party', '50.54 %', 'indian national congress', '34.86 %'], ['1962', '3rd lok sabha', 'mohan swarup', 'praja socialist party', '29.62 %', 'indian national congress', '27.42 %'], ['1967', '4th lok sabha', 'mohan swarup', 'praja socialist party', '28.24 %', 'indian national congress', '24.26 %'], ['1971', '5th lok sabha', 'mohan swarup', 'indian national congress', '38.96 %', 'indian national organization', '24.74 %'], ['1977', '6th lok sabha', 'md shamsul hasan khan', 'bharatiya lok dal', '71.32 %', 'indian national congress', '19.73 %'], ['1980', '7th lok sabha', 'harish kumar gangawar', 'indian national congress', '40.42 %', 'janata party', '25.34 %'], ['1984', '8th lok sabha', 'bhanu pratap singh', 'indian national congress', '63.84 %', 'bharatiya lok dal', '23.39 %'], ['1989', '9th lok sabha', 'maneka gandhi', 'janata dal', '57.34 %', 'indian national congress', '29.37 %'], ['1991', '10th lok sabha', 'parshuram gangwar', 'bharatiya janta party', '30.86 %', 'janata dal', '29.40 %'], ['1996', '11th lok sabha', 'maneka gandhi', 'janata dal', '59.83 %', 'bharatiya janta party', '17.01 %'], ['1998', '12th lok sabha', 'maneka gandhi', 'independent', '55.99 %', 'bahujan samaj party', '22.60 %'], ['1999', '13th lok sabha', 'maneka gandhi', 'independent', '57.94 %', 'bahujan samaj party', '25.88 %'], ['2004', '14th lok sabha', 'maneka gandhi', 'bharatiya janta party', '37.75 %', 'samajwadi party', '22.58 %'], ['2009', '15th lok sabha', 'feroze varun gandhi', 'bharatiya janta party', '49.79 %', 'indian national congress', '16.38 %']]