Datasets:
id stringlengths 32 32 | table_id stringlengths 1 30 | table_source stringclasses 2
values | sentence_id stringlengths 1 5 | sub_sentence_id stringclasses 23
values | sub_sentence stringlengths 3 369 | question stringlengths 28 359 | answer listlengths 1 13 | aggregation listlengths 1 3 | linked_cells stringlengths 112 1.84k | answer_formulas listlengths 1 10 | reference_cells_map stringlengths 2 390 | table_title stringlengths 0 564 | table_html stringlengths 363 13.4k | table_json stringlengths 823 22.5k |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
006e304c1c80127c12da2a041702ad17 | 1000 | statcan | 5757 | 1 | a higher proportion of men than women were admitted under the family sponsorship program. | which had a higher proportion of admittances under the family sponsorship program,women or men? | [
"men"
] | [
"pair-argmax"
] | {"entity_link": {"top": {"family sponsorship program": {"(0, 4)": "family-sponsored immigrants"}}, "left": {"men": {"(14, 0)": "men"}, "women": {"(3, 0)": "women"}, "[ANSWER]": {"(14, 0)": "men"}}, "top_left_corner": {}}, "quantity_link": {}} | [
"=A17"
] | {"A17": "(14, 0)"} | distribution of black immigrants aged 25 to 59, born in the caribbean and bermuda or in latin america, admitted since 1980 at age 25 or older, by admission category, sex and country of birth, canada, 2016 | <table><caption>distribution of black immigrants aged 25 to 59, born in the caribbean and bermuda or in latin america, admitted since 1980 at age 25 or older, by admission category, sex and country of birth, canada, 2016</caption><thead><tr><th colspan="3" rowspan="2"></th><th colspan="3" rowspan="1">economic immigrant... | {"title": "distribution of black immigrants aged 25 to 59, born in the caribbean and bermuda or in latin america, admitted since 1980 at age 25 or older, by admission category, sex and country of birth, canada, 2016", "top_root": {"name": "<TOP>", "value": "<TOP>", "type": "string", "line_idx": null, "children_dict": [... |
96db851bc4d88b027ffa428dea62e748 | 1001 | statcan | 5762 | 1 | for immigrants from some african countries of origin, like cameroon, cote d'ivoire and senegal, more than half of the male immigrants were admitted as a principal applicant under the economic program. | list african countries of origin that have more than half of the male immigrants admitted as a principal applicant under the economic program. | [
"cameroon",
"cote d'ivoire",
"senegal"
] | [
"greater_than"
] | {"entity_link": {"top": {"admitted as a principal applicant under the economic program": {"(1, 1)": "principal applicants"}}, "left": {"male immigrants": {"(22, 0)": "men"}, "[ANSWER]": {"(33, 0)": "cameroon", "(36, 0)": "cote d'ivoire", "(37, 0)": "senegal"}}, "top_left_corner": {"immigrants from some african countrie... | [
"=A36",
"= A39",
"=A40"
] | {"A36": "(33, 0)", "A39": "(36, 0)", "A40": "(37, 0)"} | distribution of black immigrants aged 25 to 59, born in africa and admitted since 1980 at age 25 or older, by admission category, sex and country of birth, canada, 2016 | <table><caption>distribution of black immigrants aged 25 to 59, born in africa and admitted since 1980 at age 25 or older, by admission category, sex and country of birth, canada, 2016</caption><thead><tr><th colspan="3" rowspan="2"></th><th colspan="3" rowspan="1">economic immigrants</th><th colspan="1" rowspan="2">fa... | {"title": "distribution of black immigrants aged 25 to 59, born in africa and admitted since 1980 at age 25 or older, by admission category, sex and country of birth, canada, 2016", "top_root": {"name": "<TOP>", "value": "<TOP>", "type": "string", "line_idx": null, "children_dict": [{"name": "economic immigrants", "val... |
46f5c6ff99aa9d0f5d04fd847593fc87 | 1002 | statcan | 5763 | 1 | the black immigrant populations stand out for their prevalence of lone mothers, compared with the rest of the canadian population. | which population has more women aged 25 to 59 who were lone parents? black immigrants or the rest of the canadian population? | [
"black population"
] | [
"pair-argmax"
] | {"entity_link": {"top": {}, "left": {"the rest of the canadian population": {"(3, 0)": "rest of the population"}, "[ANSWER]": {"(2, 0)": "black population"}}, "top_left_corner": {}}, "quantity_link": {}} | [
"=A5"
] | {"A5": "(2, 0)"} | percentage of women aged 25 to 59 who were lone parents, by region of origin of the immigrant and canadian-born populations, 2001 to 2016 | <table><caption>percentage of women aged 25 to 59 who were lone parents, by region of origin of the immigrant and canadian-born populations, 2001 to 2016</caption><thead><tr><th colspan="3" rowspan="1"></th><th colspan="1" rowspan="1">2001</th><th colspan="1" rowspan="1">2006</th><th colspan="1" rowspan="1">2011</th><t... | {"title": "percentage of women aged 25 to 59 who were lone parents, by region of origin of the immigrant and canadian-born populations, 2001 to 2016", "top_root": {"name": "<TOP>", "value": "<TOP>", "type": "string", "line_idx": null, "children_dict": [{"name": "2001", "value": "2001", "type": "string", "children_dict"... |
ea1e8a9b80bbc4bc75089edece4613ab | 1002 | statcan | 5764 | 1 | among black immigrant women aged 25 to 59 in 2016, about three in ten were lone parents. | how many percent of black immigrant women aged 25 to 59 in 2016 were lone parents? | [
"29.2"
] | [
"none"
] | {"entity_link": {"top": {"in 2016": {"(0, 4)": 2016.0}}, "left": {"black immigrant women aged 25 to 59": {"(5, 0)": "black population"}}, "top_left_corner": {}}, "quantity_link": {"[ANSWER]": {"(6, 4)": 29.2}}} | [
"=E9"
] | {"E9": "(6, 4)"} | percentage of women aged 25 to 59 who were lone parents, by region of origin of the immigrant and canadian-born populations, 2001 to 2016 | <table><caption>percentage of women aged 25 to 59 who were lone parents, by region of origin of the immigrant and canadian-born populations, 2001 to 2016</caption><thead><tr><th colspan="3" rowspan="1"></th><th colspan="1" rowspan="1">2001</th><th colspan="1" rowspan="1">2006</th><th colspan="1" rowspan="1">2011</th><t... | {"title": "percentage of women aged 25 to 59 who were lone parents, by region of origin of the immigrant and canadian-born populations, 2001 to 2016", "top_root": {"name": "<TOP>", "value": "<TOP>", "type": "string", "line_idx": null, "children_dict": [{"name": "2001", "value": "2001", "type": "string", "children_dict"... |
7a669cbe702769e1b9b5facc0244f24b | 1002 | statcan | 5765 | 1 | among black immigrant women aged 25 to 59 in 2016, one in ten for other immigrant women were lone parents. | among black immigrant women aged 25 to 59 in 2016, how many percent of other immigrant women were lone parents? | [
"9.8"
] | [
"none"
] | {"entity_link": {"top": {"in 2016": {"(0, 4)": 2016.0}}, "left": {"black immigrant women aged 25 to 59": {"(5, 0)": "black population"}, "other immigrant women": {"(10, 0)": "rest of the population"}}, "top_left_corner": {}}, "quantity_link": {"[ANSWER]": {"(10, 4)": 9.8}}} | [
"=E13"
] | {"E13": "(10, 4)"} | percentage of women aged 25 to 59 who were lone parents, by region of origin of the immigrant and canadian-born populations, 2001 to 2016 | <table><caption>percentage of women aged 25 to 59 who were lone parents, by region of origin of the immigrant and canadian-born populations, 2001 to 2016</caption><thead><tr><th colspan="3" rowspan="1"></th><th colspan="1" rowspan="1">2001</th><th colspan="1" rowspan="1">2006</th><th colspan="1" rowspan="1">2011</th><t... | {"title": "percentage of women aged 25 to 59 who were lone parents, by region of origin of the immigrant and canadian-born populations, 2001 to 2016", "top_root": {"name": "<TOP>", "value": "<TOP>", "type": "string", "line_idx": null, "children_dict": [{"name": "2001", "value": "2001", "type": "string", "children_dict"... |
a39496f71bad9ca3352cf1cfee049e97 | 1002 | statcan | 5766 | 1 | the highest proportion of lone mothers was found in women from caribbean and latin-american countries among black immigrant women aged 25 to 59 in 2016. | which region of origion of the immigrants has the highest proportion of lone mothers among black immigrant women aged 25 to 59 in 2016? | [
"caribbean and latin america"
] | [
"argmax"
] | {"entity_link": {"top": {"in 2016": {"(0, 4)": 2016.0}}, "left": {"black immigrant women aged 25 to 59": {"(5, 0)": "black population"}, "[ANSWER]": {"(7, 0)": "caribbean and latin america"}, "proportion": {"(1, 1)": "percent"}}, "top_left_corner": {}}, "quantity_link": {}} | [
"=A10"
] | {"A10": "(7, 0)"} | percentage of women aged 25 to 59 who were lone parents, by region of origin of the immigrant and canadian-born populations, 2001 to 2016 | <table><caption>percentage of women aged 25 to 59 who were lone parents, by region of origin of the immigrant and canadian-born populations, 2001 to 2016</caption><thead><tr><th colspan="3" rowspan="1"></th><th colspan="1" rowspan="1">2001</th><th colspan="1" rowspan="1">2006</th><th colspan="1" rowspan="1">2011</th><t... | {"title": "percentage of women aged 25 to 59 who were lone parents, by region of origin of the immigrant and canadian-born populations, 2001 to 2016", "top_root": {"name": "<TOP>", "value": "<TOP>", "type": "string", "line_idx": null, "children_dict": [{"name": "2001", "value": "2001", "type": "string", "children_dict"... |
41c09839ad631914ee8fb625dd81bc05 | 1003 | statcan | 5773 | 1 | the proportions of black male immigrants from the caribbean and latin america with a postsecondary diploma or a university diploma were lower than those of black male immigrants from africa. | which region of birth has fewer proportion of black male immigrants with a postsecondary diploma or a university diploma? black male immigrants from africa or from caribbean and latin america? | [
"caribbean and latin america"
] | [
"pair-argmin"
] | {"entity_link": {"top": {"black male immigrants": {"(0, 3)": "men"}, "with a postsecondary diploma or a university diploma": {"(1, 3)": "non-university or university postsecondary diploma"}}, "left": {"from africa": {"(4, 0)": "africa"}, "[ANSWER]": {"(3, 0)": "caribbean and latin america"}, "proportions": {"(2, 1)": "... | [
"=A6"
] | {"A6": "(3, 0)"} | percentage of black immigrants aged 25 to 59 with a postsecondary diploma, by sex and region or country of birth, canada, 2016 | <table><caption>percentage of black immigrants aged 25 to 59 with a postsecondary diploma, by sex and region or country of birth, canada, 2016</caption><thead><tr><th colspan="2" rowspan="2"></th><th colspan="2" rowspan="1">women</th><th colspan="2" rowspan="1">men</th></tr><tr><th colspan="1" rowspan="1">non-universit... | {"title": "percentage of black immigrants aged 25 to 59 with a postsecondary diploma, by sex and region or country of birth, canada, 2016", "top_root": {"name": "<TOP>", "value": "<TOP>", "type": "string", "line_idx": null, "children_dict": [{"name": "women", "value": "women", "type": "string", "children_dict": [{"name... |
8fb0e0a6818fcfa37daab4e055b84f53 | 1003 | statcan | 5774 | 1 | the proportion holding a postsecondary diploma for women born in the caribbean or latin america in 2016 was slightly higher than those born in africa. | which region of birth has higher proportion of black female immigrants with a postsecondary diploma or a university diploma? black female immigrants from africa or from caribbean and latin america? | [
"caribbean and latin america"
] | [
"pair-argmax"
] | {"entity_link": {"top": {"women": {"(0, 1)": "women"}, "holding a postsecondary diploma": {"(1, 1)": "non-university or university postsecondary diploma"}}, "left": {"those born in africa": {"(4, 0)": "africa"}, "[ANSWER]": {"(3, 0)": "caribbean and latin america"}, "proportion": {"(2, 1)": "percent"}}, "top_left_corne... | [
"=A6"
] | {"A6": "(3, 0)"} | percentage of black immigrants aged 25 to 59 with a postsecondary diploma, by sex and region or country of birth, canada, 2016 | <table><caption>percentage of black immigrants aged 25 to 59 with a postsecondary diploma, by sex and region or country of birth, canada, 2016</caption><thead><tr><th colspan="2" rowspan="2"></th><th colspan="2" rowspan="1">women</th><th colspan="2" rowspan="1">men</th></tr><tr><th colspan="1" rowspan="1">non-universit... | {"title": "percentage of black immigrants aged 25 to 59 with a postsecondary diploma, by sex and region or country of birth, canada, 2016", "top_root": {"name": "<TOP>", "value": "<TOP>", "type": "string", "line_idx": null, "children_dict": [{"name": "women", "value": "women", "type": "string", "children_dict": [{"name... |
88d1459e99dabcc8efddd55b087dd2a6 | 1005 | statcan | 5783 | 1 | among black immigrant women, the employment rate was higher for women born in the caribbean or in latin america than for women born in africa. | among black immigrant women, which region of birth has a higher the employment rate? women born in the caribbean or in latin america tor women born in africa? | [
"caribbean and latin america"
] | [
"pair-argmax"
] | {"entity_link": {"top": {"black immigrant women": {"(0, 1)": "women"}, "the employment rate": {"(1, 1)": "employment rate"}}, "left": {"in africa": {"(4, 0)": "africa"}, "[ANSWER]": {"(3, 0)": "caribbean and latin america"}}, "top_left_corner": {}}, "quantity_link": {}} | [
"=A6"
] | {"A6": "(3, 0)"} | employment and unemployment rates (expressed as percentages) of black immigrant populations aged 25 to 59, by sex and country of birth, canada, 2016 | <table><caption>employment and unemployment rates (expressed as percentages) of black immigrant populations aged 25 to 59, by sex and country of birth, canada, 2016</caption><thead><tr><th colspan="2" rowspan="2"></th><th colspan="2" rowspan="1">women</th><th colspan="2" rowspan="1">men</th></tr><tr><th colspan="1" row... | {"title": "employment and unemployment rates (expressed as percentages) of black immigrant populations aged 25 to 59, by sex and country of birth, canada, 2016", "top_root": {"name": "<TOP>", "value": "<TOP>", "type": "string", "line_idx": null, "children_dict": [{"name": "women", "value": "women", "type": "string", "c... |
5a4282c6be891490fcc018c2cba63deb | 1005 | statcan | 5785 | 1 | among women, immigrants from somalia, sudan, the democratic republic of the congo and nigeria had the lowest employment rates. | which top 4 countries of birth had the lowest the lowest employment rates? | [
"democratic republic of the congo",
"nigeria",
"somalia",
"sudan"
] | [
"topk-argmin"
] | {"entity_link": {"top": {"women": {"(0, 1)": "women"}, "employment rates": {"(1, 1)": "employment rate"}}, "left": {"[ANSWER]": {"(26, 0)": "democratic republic of the congo", "(28, 0)": "nigeria", "(18, 0)": "somalia", "(20, 0)": "sudan"}}, "top_left_corner": {}}, "quantity_link": {}} | [
"=A29",
"=A31",
"=A21",
"=A23"
] | {"A29": "(26, 0)", "A31": "(28, 0)", "A21": "(18, 0)", "A23": "(20, 0)"} | employment and unemployment rates (expressed as percentages) of black immigrant populations aged 25 to 59, by sex and country of birth, canada, 2016 | <table><caption>employment and unemployment rates (expressed as percentages) of black immigrant populations aged 25 to 59, by sex and country of birth, canada, 2016</caption><thead><tr><th colspan="2" rowspan="2"></th><th colspan="2" rowspan="1">women</th><th colspan="2" rowspan="1">men</th></tr><tr><th colspan="1" row... | {"title": "employment and unemployment rates (expressed as percentages) of black immigrant populations aged 25 to 59, by sex and country of birth, canada, 2016", "top_root": {"name": "<TOP>", "value": "<TOP>", "type": "string", "line_idx": null, "children_dict": [{"name": "women", "value": "women", "type": "string", "c... |
d197945e0b0a3e7db1face7153fa0e1a | 1006 | statcan | 5791 | 1 | unemployment was higher d for women whose region of ancestry was africa than those in caribbean and latin america. | which region of ancestry has a higher uunemployment? women whose region of ancestry was africa or those in caribbean and latin america? | [
"women"
] | [
"pair-argmax"
] | {"entity_link": {"top": {"unemployment": {"(1, 2)": "unemployment rate"}, "[ANSWER]": {"(0, 1)": "women"}}, "left": {"africa": {"(5, 0)": "africa"}, "in caribbean and latin america": {"(4, 0)": "caribbean and latin america"}}, "top_left_corner": {"region of ancestry": {"(0, 0)": "region or country of ancestry"}}}, "qua... | [
"=B3"
] | {"B3": "(0, 1)"} | employment and unemployment rates (expressed as percentages) of the canadian-born black population aged 25 to 59, by sex and country of ancestry, 2016 | <table><caption>employment and unemployment rates (expressed as percentages) of the canadian-born black population aged 25 to 59, by sex and country of ancestry, 2016</caption><thead><tr><th colspan="3" rowspan="2"></th><th colspan="2" rowspan="1">women</th><th colspan="2" rowspan="1">men</th></tr><tr><th colspan="1" r... | {"title": "employment and unemployment rates (expressed as percentages) of the canadian-born black population aged 25 to 59, by sex and country of ancestry, 2016", "top_root": {"name": "<TOP>", "value": "<TOP>", "type": "string", "line_idx": null, "children_dict": [{"name": "women", "value": "women", "type": "string", ... |
2c4b9acc4e415d3b25bc80c695925abb | 1007 | statcan | 5792 | 1 | black female workers were mostly concentrated in the health care and social assistance sector. | which sector has the most black female workers? | [
"health care and social assistance"
] | [
"argmax"
] | {"entity_link": {"top": {"black female workers": {"(0, 1)": "black female workers"}}, "left": {"[ANSWER]": {"(17, 0)": "health care and social assistance"}}, "top_left_corner": {"sector": {"(0, 0)": "sector"}}}, "quantity_link": {}} | [
"=A20"
] | {"A20": "(17, 0)"} | percentage distribution of black female workers and other female workers aged 25 to 59, by industry sector and generation, canada, 2016 | <table><caption>percentage distribution of black female workers and other female workers aged 25 to 59, by industry sector and generation, canada, 2016</caption><thead><tr><th colspan="2" rowspan="2"></th><th colspan="4" rowspan="1">black female workers</th><th colspan="4" rowspan="1">other female workers</th></tr><tr>... | {"title": "percentage distribution of black female workers and other female workers aged 25 to 59, by industry sector and generation, canada, 2016", "top_root": {"name": "<TOP>", "value": "<TOP>", "type": "string", "line_idx": null, "children_dict": [{"name": "black female workers", "value": "black female workers", "ty... |
a26ae67eff821dd8815180d2473d1f3a | 1007 | statcan | 5792 | 2 | black female workers in the health care and social assistance sector are 12 percentage points higher than the rest of the employed female population. | which sector has the most black female workers? | [
"11.7"
] | [
"diff"
] | {"entity_link": {"top": {"black female workers": {"(0, 1)": "black female workers"}, "the rest of the employed female population": {"(0, 5)": "other female workers"}}, "left": {"health care and social assistance sector": {"(17, 0)": "health care and social assistance"}}, "top_left_corner": {}}, "quantity_link": {"[ANSW... | [
"=E20-I20"
] | {"E20": "(17, 4)", "I20": "(17, 8)"} | percentage distribution of black female workers and other female workers aged 25 to 59, by industry sector and generation, canada, 2016 | <table><caption>percentage distribution of black female workers and other female workers aged 25 to 59, by industry sector and generation, canada, 2016</caption><thead><tr><th colspan="2" rowspan="2"></th><th colspan="4" rowspan="1">black female workers</th><th colspan="4" rowspan="1">other female workers</th></tr><tr>... | {"title": "percentage distribution of black female workers and other female workers aged 25 to 59, by industry sector and generation, canada, 2016", "top_root": {"name": "<TOP>", "value": "<TOP>", "type": "string", "line_idx": null, "children_dict": [{"name": "black female workers", "value": "black female workers", "ty... |
0acc0fe9776a18af39c7f1d28ef329a8 | 1007 | statcan | 5793 | 1 | among immigrant women, black immigrant women worked in the health care and social assistance sector was 18% higher than other immigrant women. | among immigrant women, how many percent of black immigrant women worked in the health care and social assistance sector was higher than other immigrant women? | [
"17.6"
] | [
"diff"
] | {"entity_link": {"top": {"other immigrant women": {"(1, 5)": "immigrant"}, "black immigrant women": {"(1, 1)": "immigrant"}}, "left": {"health care and social assistance sector": {"(17, 0)": "health care and social assistance"}}, "top_left_corner": {}}, "quantity_link": {"[ANSWER]": {"(17, 1)": 36.6, "(17, 5)": 19.0}}} | [
"=B20-F20"
] | {"B20": "(17, 1)", "F20": "(17, 5)"} | percentage distribution of black female workers and other female workers aged 25 to 59, by industry sector and generation, canada, 2016 | <table><caption>percentage distribution of black female workers and other female workers aged 25 to 59, by industry sector and generation, canada, 2016</caption><thead><tr><th colspan="2" rowspan="2"></th><th colspan="4" rowspan="1">black female workers</th><th colspan="4" rowspan="1">other female workers</th></tr><tr>... | {"title": "percentage distribution of black female workers and other female workers aged 25 to 59, by industry sector and generation, canada, 2016", "top_root": {"name": "<TOP>", "value": "<TOP>", "type": "string", "line_idx": null, "children_dict": [{"name": "black female workers", "value": "black female workers", "ty... |
a2525a2b21b510b3f2ccf5a855f4ea7d | 1010 | statcan | 5811 | 1 | in 2015, low-income status (according to the market basket measure [mbm]) affected 27% of black children and 14% of other children. | in 2015, how many percent of black children and other children, respectively, are affected by low-income status (according to the market basket measure [mbm])? | [
"27.2",
"14.4"
] | [
"none"
] | {"entity_link": {"top": {}, "left": {"in 2015": {"(9, 0)": 2015.0}, "low-income status": {"(8, 0)": "low income"}, "black children": {"(2, 0)": "black children"}, "other children": {"(10, 0)": "other children"}}, "top_left_corner": {}}, "quantity_link": {"[ANSWER]": {"(9, 4)": 27.2, "(17, 4)": 14.4}}} | [
"=E12",
"=E20"
] | {"E12": "(9, 4)", "E20": "(17, 4)"} | percentage of children under 15 living in a low-income situation, by the family's immigrant or generation status, canada, 2000 to 2015 | <table><caption>percentage of children under 15 living in a low-income situation, by the family's immigrant or generation status, canada, 2000 to 2015</caption><thead><tr><th colspan="3" rowspan="1"></th><th colspan="1" rowspan="1">immigrant families</th><th colspan="1" rowspan="1">second-generation families</th><th co... | {"title": "percentage of children under 15 living in a low-income situation, by the family's immigrant or generation status, canada, 2000 to 2015", "top_root": {"name": "<TOP>", "value": "<TOP>", "type": "string", "line_idx": null, "children_dict": [{"name": "immigrant families", "value": "immigrant families", "type": ... |
77f084dcf3165fc6f75977ded4b5337f | 1010 | statcan | 5813 | 1 | approximately one-quarter of black children from second-generation families had low-income status (mbm) in 2015. | how many percent of black children from second-generation families had low-income status (mbm) in 2015? | [
"24.9"
] | [
"none"
] | {"entity_link": {"top": {"second-generation families": {"(0, 2)": "second-generation families"}}, "left": {"black children": {"(2, 0)": "black children"}, "low-income status(mbm)": {"(8, 0)": "low income"}, "in 2015": {"(9, 0)": 2015.0}}, "top_left_corner": {}}, "quantity_link": {"[ANSWER]": {"(7, 2)": 24.9}}} | [
"=C10"
] | {"C10": "(7, 2)"} | percentage of children under 15 living in a low-income situation, by the family's immigrant or generation status, canada, 2000 to 2015 | <table><caption>percentage of children under 15 living in a low-income situation, by the family's immigrant or generation status, canada, 2000 to 2015</caption><thead><tr><th colspan="3" rowspan="1"></th><th colspan="1" rowspan="1">immigrant families</th><th colspan="1" rowspan="1">second-generation families</th><th co... | {"title": "percentage of children under 15 living in a low-income situation, by the family's immigrant or generation status, canada, 2000 to 2015", "top_root": {"name": "<TOP>", "value": "<TOP>", "type": "string", "line_idx": null, "children_dict": [{"name": "immigrant families", "value": "immigrant families", "type": ... |
1bc26a98ed159a9c52df18ef0b6c09b3 | 1010 | statcan | 5815 | 1 | the before-tax low-income rate for black children born to immigrant families fell by nearly 16 percentage points from 46% in 2000 to 30% in 2015. | how many percentage points of the before-tax low-income rate for black children born to immigrant families are decreased from 2000 to 2015? | [
"16.1"
] | [
"diff"
] | {"entity_link": {"top": {"immigrant families": {"(0, 1)": "immigrant families"}}, "left": {"the before-tax low-income rate": {"(3, 0)": "low income before taxes"}, "black children": {"(2, 0)": "black children"}, "in 2000": {"(4, 0)": 2000.0}, "in 2015": {"(7, 0)": 2015.0}, "percentage points": {"(1, 1)": "percent"}}, "... | [
"=B7-B10"
] | {"B7": "(4, 1)", "B10": "(7, 1)"} | percentage of children under 15 living in a low-income situation, by the family's immigrant or generation status, canada, 2000 to 2015 | <table><caption>percentage of children under 15 living in a low-income situation, by the family's immigrant or generation status, canada, 2000 to 2015</caption><thead><tr><th colspan="3" rowspan="1"></th><th colspan="1" rowspan="1">immigrant families</th><th colspan="1" rowspan="1">second-generation families</th><th co... | {"title": "percentage of children under 15 living in a low-income situation, by the family's immigrant or generation status, canada, 2000 to 2015", "top_root": {"name": "<TOP>", "value": "<TOP>", "type": "string", "line_idx": null, "children_dict": [{"name": "immigrant families", "value": "immigrant families", "type": ... |
5a188fa0c7b3bcc0e23d588e2308cd8b | 1010 | statcan | 5817 | 1 | in 2015, the low-income rate was nearly twice as high among black children compared with other children. | in 2015, how many times of the low-income rate was higher among black children compared with other children? | [
"1.888889"
] | [
"div"
] | {"entity_link": {"top": {}, "left": {"in 2015": {"(9, 0)": 2015.0}, "low-income rate": {"(8, 0)": "low income"}, "black children": {"(2, 0)": "black children"}, "other children": {"(10, 0)": "other children"}}, "top_left_corner": {}}, "quantity_link": {"[ANSWER]": {"(9, 4)": 27.2, "(17, 4)": 14.4}}} | [
"=E12/E20"
] | {"E12": "(9, 4)", "E20": "(17, 4)"} | percentage of children under 15 living in a low-income situation, by the family's immigrant or generation status, canada, 2000 to 2015 | <table><caption>percentage of children under 15 living in a low-income situation, by the family's immigrant or generation status, canada, 2000 to 2015</caption><thead><tr><th colspan="3" rowspan="1"></th><th colspan="1" rowspan="1">immigrant families</th><th colspan="1" rowspan="1">second-generation families</th><th co... | {"title": "percentage of children under 15 living in a low-income situation, by the family's immigrant or generation status, canada, 2000 to 2015", "top_root": {"name": "<TOP>", "value": "<TOP>", "type": "string", "line_idx": null, "children_dict": [{"name": "immigrant families", "value": "immigrant families", "type": ... |
HiTab-StatCan-NSF
A commercially-permissive subset of Microsoft HiTab (ACL 2022) containing only the Statistics Canada and NSF table sources. The Wikipedia/ToTTo subset (CC-BY-SA-4.0, share-alike) is excluded.
License
- NSF tables (~14% of rows): sourced from US National Science Foundation reports. US federal government works are public domain under 17 U.S.C. § 105.
- StatCan tables (~86% of rows): sourced from Statistics Canada reports under the Statistics Canada Open Government Licence, which permits commercial use with attribution. Cite as: "Adapted from Statistics Canada. Reproduced and distributed on an 'as is' basis with the permission of Statistics Canada."
The original HiTab dataset is released under C-UDA-1.0. That agreement's Section 1.3 preserves your rights under any other applicable licence, so the per-source terms above govern the StatCan and NSF subsets.
Source
Built from microsoft/HiTab by
filtering table_source to statcan and nsf.
Content
Hierarchical table question answering and table-to-text generation covering
Canadian statistical reports (demographics, immigration, economics, health)
and US NSF science and engineering statistics. Tables have multi-level row
and column headers encoded as HTML with rowspan/colspan and as raw JSON.
Splits
| Split | Rows | StatCan | NSF |
|---|---|---|---|
| train | 6,041 | 5,486 | 555 |
| validation | 1,378 | 1,268 | 110 |
| test | 1,286 | 1,189 | 97 |
| total | 8,705 | 7,943 | 762 |
Schema
| Field | Type | Description |
|---|---|---|
id |
string | Original HiTab MD5 row identifier |
table_id |
string | Table file key (matches HiTab tables/hmt/) |
table_source |
string | statcan or nsf |
question |
string | Natural language question |
answer |
list[string] | Answer values (numbers and strings both as strings) |
aggregation |
list[string] | Aggregation operation(s) required |
sub_sentence |
string | Reference table-to-text sentence |
sentence_id |
string | HiTab sentence group identifier |
sub_sentence_id |
string | HiTab sub-sentence identifier |
linked_cells |
string (JSON) | Cell-to-entity/quantity linkage map |
answer_formulas |
list[string] | Spreadsheet-style formulas for answers |
reference_cells_map |
string (JSON) | Formula cell reference map |
table_title |
string | Full table title |
table_html |
string | Table rendered as HTML with hierarchical rowspan/colspan headers |
table_json |
string | Full table as JSON (title, top_root, left_root, data trees) |
Use table_source to filter to a single provenance if your licence
constraints require it.
Usage
from datasets import load_dataset
# All clean rows
ds = load_dataset("rootsautomation/HiTab-StatCan-NSF")
# Public-domain only (NSF)
nsf = ds.filter(lambda x: x["table_source"] == "nsf")
# StatCan only
statcan = ds.filter(lambda x: x["table_source"] == "statcan")
Citation
If you use this dataset please cite the original HiTab paper:
@inproceedings{cheng-etal-2022-hitab,
title = {{HiTab}: A Hierarchical Table Dataset for Question Answering
and Natural Language Generation},
author = {Cheng, Zhoujun and Dong, Haoyu and Wang, Zhiruo and Jia,
Ran and Guo, Jiaqi and Gao, Yan and Han, Shi and Lou, Jian-Guang
and Zhang, Dongmei},
booktitle = {Proceedings of the 60th Annual Meeting of the Association
for Computational Linguistics (Volume 1: Long Papers)},
year = {2022},
pages = {867--880},
}
- Downloads last month
- 87