fortune global 500
walmart is 2nd on the fortune global 500 list with a revenue of 469.2 billion usd .
{'scope': 'all', 'row': '2', 'col': '5', 'order': '2', 'col_other': '2', 'max_or_min': 'max_to_min', 'value_mentioned': 'yes', 'subset': None}
{'func': 'and', 'args': [{'func': 'eq', 'args': [{'func': 'nth_max', 'args': ['all_rows', 'revenue in usd', '2'], 'result': '469.2 billion', 'ind': 0, 'tostr': 'nth_max { all_rows ; revenue in usd ; 2 }', 'tointer': 'the 2nd maximum revenue in usd record of all rows is 469.2 billion .'}, '469.2 billion'], 'result': True, 'ind': 1, 'tostr': 'eq { nth_max { all_rows ; revenue in usd ; 2 } ; 469.2 billion }', 'tointer': 'the 2nd maximum revenue in usd record of all rows is 469.2 billion .'}, {'func': 'str_eq', 'args': [{'func': 'str_hop', 'args': [{'func': 'nth_argmax', 'args': ['all_rows', 'revenue in usd', '2'], 'result': None, 'ind': 2, 'tostr': 'nth_argmax { all_rows ; revenue in usd ; 2 }'}, 'company'], 'result': 'walmart', 'ind': 3, 'tostr': 'hop { nth_argmax { all_rows ; revenue in usd ; 2 } ; company }'}, 'walmart'], 'result': True, 'ind': 4, 'tostr': 'eq { hop { nth_argmax { all_rows ; revenue in usd ; 2 } ; company } ; walmart }', 'tointer': 'the company record of the row with 2nd maximum revenue in usd record is walmart .'}], 'result': True, 'ind': 5, 'tostr': 'and { eq { nth_max { all_rows ; revenue in usd ; 2 } ; 469.2 billion } ; eq { hop { nth_argmax { all_rows ; revenue in usd ; 2 } ; company } ; walmart } } = true', 'tointer': 'the 2nd maximum revenue in usd record of all rows is 469.2 billion . the company record of the row with 2nd maximum revenue in usd record is walmart .'}
and { eq { nth_max { all_rows ; revenue in usd ; 2 } ; 469.2 billion } ; eq { hop { nth_argmax { all_rows ; revenue in usd ; 2 } ; company } ; walmart } } = true
the 2nd maximum revenue in usd record of all rows is 469.2 billion . the company record of the row with 2nd maximum revenue in usd record is walmart .
{'and_5': 'and', 'result_6': 'true', 'eq_1': 'eq', 'nth_max_0': 'nth_max', 'all_rows_7': 'all_rows', 'revenue in usd_8': 'revenue in usd', '2_9': '2', '469.2 billion_10': '469.2 billion', 'str_eq_4': 'str_eq', 'str_hop_3': 'str_hop', 'nth_argmax_2': 'nth_argmax', 'all_rows_11': 'all_rows', 'revenue in usd_12': 'revenue in usd', '2_13': '2', 'company_14': 'company', 'walmart_15': 'walmart'}
['rank', 'company', 'country', 'industry', 'revenue in usd']
[['1', 'royal dutch shell', 'netherlands', 'petroleum', '481.7 billion'], ['2', 'walmart', 'united states', 'retail', '469.2 billion'], ['3', 'exxonmobil', 'united states', 'petroleum', '449.9 billion'], ['4', 'sinopec', 'china', 'petroleum', '428.2 billion'], ['5', 'china national petroleum corporation', 'china', 'petroleum', '408.6 billion'], ['6', 'bp', 'united kingdom', 'petroleum', '388.3 billion'], ['7', 'state grid corporation of china', 'china', 'power', '298.4 billion'], ['8', 'toyota', 'japan', 'automobiles', '265.7 billion'], ['9', 'volkswagen', 'germany', 'automobiles', '247.6 billion'], ['10', 'total', 'france', 'petroleum', '234.3 billion']]