forbes global 2000
the profits for bp in 2000 were higher than the profits for hsbc .
{'row_1': '8', 'row_2': '5', 'col': '6', 'col_other': '2', 'relation': 'greater', 'record_mentioned': 'no', 'diff_result': None}
{'func': 'greater', 'args': [{'func': 'num_hop', 'args': [{'func': 'filter_str_eq', 'args': ['all_rows', 'company', 'bp'], 'result': None, 'ind': 0, 'tointer': 'select the rows whose company record fuzzily matches to bp .', 'tostr': 'filter_eq { all_rows ; company ; bp }'}, 'profits ( billion )'], 'result': None, 'ind': 2, 'tostr': 'hop { filter_eq { all_rows ; company ; bp } ; profits ( billion ) }', 'tointer': 'select the rows whose company record fuzzily matches to bp . take the profits ( billion ) record of this row .'}, {'func': 'num_hop', 'args': [{'func': 'filter_str_eq', 'args': ['all_rows', 'company', 'hsbc'], 'result': None, 'ind': 1, 'tointer': 'select the rows whose company record fuzzily matches to hsbc .', 'tostr': 'filter_eq { all_rows ; company ; hsbc }'}, 'profits ( billion )'], 'result': None, 'ind': 3, 'tostr': 'hop { filter_eq { all_rows ; company ; hsbc } ; profits ( billion ) }', 'tointer': 'select the rows whose company record fuzzily matches to hsbc . take the profits ( billion ) record of this row .'}], 'result': True, 'ind': 4, 'tostr': 'greater { hop { filter_eq { all_rows ; company ; bp } ; profits ( billion ) } ; hop { filter_eq { all_rows ; company ; hsbc } ; profits ( billion ) } } = true', 'tointer': 'select the rows whose company record fuzzily matches to bp . take the profits ( billion ) record of this row . select the rows whose company record fuzzily matches to hsbc . take the profits ( billion ) record of this row . the first record is greater than the second record .'}
greater { hop { filter_eq { all_rows ; company ; bp } ; profits ( billion ) } ; hop { filter_eq { all_rows ; company ; hsbc } ; profits ( billion ) } } = true
select the rows whose company record fuzzily matches to bp . take the profits ( billion ) record of this row . select the rows whose company record fuzzily matches to hsbc . take the profits ( billion ) record of this row . the first record is greater than the second record .
{'greater_4': 'greater', 'result_5': 'true', 'num_hop_2': 'num_hop', 'filter_str_eq_0': 'filter_str_eq', 'all_rows_6': 'all_rows', 'company_7': 'company', 'bp_8': 'bp', 'profits (billion )_9': 'profits ( billion )', 'num_hop_3': 'num_hop', 'filter_str_eq_1': 'filter_str_eq', 'all_rows_10': 'all_rows', 'company_11': 'company', 'hsbc_12': 'hsbc', 'profits (billion )_13': 'profits ( billion )'}
['rank', 'company', 'country', 'industry', 'sales ( billion )', 'profits ( billion )', 'assets ( billion )', 'market value ( billion )']
[['1', 'citigroup', 'usa', 'banking', '108.28', '17.05', '1 , 4.10', '247.66'], ['2', 'general electric', 'usa', 'conglomerates', '152.36', '16.59', '750.33', '372.14'], ['3', 'american international group', 'usa', 'insurance', '95.04', '10.91', '776.42', '173.99'], ['4', 'bank of america', 'usa', 'banking', '65.45', '14.14', '1110.46', '188.77'], ['5', 'hsbc', 'uk', 'banking', '62.97', '9.52', '1031.29', '186.74'], ['6', 'exxonmobil', 'usa', 'oil & gas', '263.99', '25.33', '195.26', '405.25'], ['7', 'royal dutch shell', 'netherlands', 'oil & gas', '265.19', '18.54', '193.83', '221.49'], ['8', 'bp', 'uk', 'oil & gas', '285.06', '15.73', '191.11', '231.88'], ['9', 'ing group', 'netherlands', 'diversified financials', '92.01', '8.10', '1175.16', '68.04']]