fortune global 500
2 of the fortune global 500 companies from china are in the petroleum industry .
{'scope': 'subset', 'criterion': 'equal', 'value': 'petroleum', 'result': '2', 'col': '4', 'subset': {'col': '3', 'criterion': 'equal', 'value': 'china'}}
{'func': 'eq', 'args': [{'func': 'count', 'args': [{'func': 'filter_str_eq', 'args': [{'func': 'filter_str_eq', 'args': ['all_rows', 'country', 'china'], 'result': None, 'ind': 0, 'tostr': 'filter_eq { all_rows ; country ; china }', 'tointer': 'select the rows whose country record fuzzily matches to china .'}, 'industry', 'petroleum'], 'result': None, 'ind': 1, 'tointer': 'select the rows whose country record fuzzily matches to china . among these rows , select the rows whose industry record fuzzily matches to petroleum .', 'tostr': 'filter_eq { filter_eq { all_rows ; country ; china } ; industry ; petroleum }'}], 'result': '2', 'ind': 2, 'tostr': 'count { filter_eq { filter_eq { all_rows ; country ; china } ; industry ; petroleum } }', 'tointer': 'select the rows whose country record fuzzily matches to china . among these rows , select the rows whose industry record fuzzily matches to petroleum . the number of such rows is 2 .'}, '2'], 'result': True, 'ind': 3, 'tostr': 'eq { count { filter_eq { filter_eq { all_rows ; country ; china } ; industry ; petroleum } } ; 2 } = true', 'tointer': 'select the rows whose country record fuzzily matches to china . among these rows , select the rows whose industry record fuzzily matches to petroleum . the number of such rows is 2 .'}
eq { count { filter_eq { filter_eq { all_rows ; country ; china } ; industry ; petroleum } } ; 2 } = true
select the rows whose country record fuzzily matches to china . among these rows , select the rows whose industry record fuzzily matches to petroleum . the number of such rows is 2 .
{'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', 'country_6': 'country', 'china_7': 'china', 'industry_8': 'industry', 'petroleum_9': 'petroleum', '2_10': '2'}
['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']]