Dataset Viewer
Auto-converted to Parquet Duplicate
table_id
stringlengths
9
42
dataset_type
stringclasses
2 values
table_as_csv
stringlengths
47
8.31k
table_as_html
stringlengths
118
29.8k
table_as_markdown
stringlengths
74
10.4k
table_image_local_path_within_github_repo
stringlengths
55
104
table_image_url
stringlengths
60
110
table_properties_metadata
stringclasses
289 values
question_id
stringlengths
13
55
question
stringlengths
5
612
question_template_for_synthetic_only
stringclasses
15 values
question_properties_metadata
stringclasses
670 values
answer
stringlengths
2
1.35k
prompt
stringlengths
1.15k
33.8k
prompt_without_system
stringlengths
1.12k
33.7k
psa--8--259
realWorldHCTs
,0,1,2,3,4 0,Year Place of Occurrence,2020,2019,2018,2017 1,Residential premises,671,666,731,697 2,Vehicles,417,401,386,346 3,"Shops, markets",174,184,203,158 4,Industrial enterprises and factories,23,27,9,16 5,Farms and public parks,115,73,27,19 6,Ships and boats,4,4,7,3 7,Medical facilities,5,10,17,7 8,Educational fa...
<table id="0-1"> <tr><td>Year Place of Occurrence</td><td>2020</td><td>2019</td><td>2018</td><td>2017</td></tr> <tr><td>Residential premises</td><td>671</td><td>666</td><td>731</td><td>697</td></tr> <tr><td>Vehicles</td><td>417</td><td>401</td><td>386</td><td>346</td></tr> <tr><td>Shops, markets</td><td>174</td><td>184...
| Year Place of Occurrence | 2020 | 2019 | 2018 | 2017 | |---|---|---|---|---| | Residential premises | 671 | 666 | 731 | 697 | | Vehicles | 417 | 401 | 386 | 346 | | Shops, markets | 174 | 184 | 203 | 158 | | Industrial enterprises and factories | 23 | 27 | 9 | 16 | | Farms and public parks | 115 | 73 | 27 | 19 | | Sh...
./datasets/realWorld_datasets/tables/images/psa_8_259.jpg
https://hcsdtables.qcri.…es/psa_8_259.jpg
{"Standard Relational Table": false, "Multi Level Column": false, "Balanced Multi Level Column": false, "Symmetric Multi Level Column": false, "Unbalanced Multi Level Column": false, "Asymmetric Multi Level Column": false, "Column Aggregation": false, "Global Column Aggregation": false, "Local Column-Group Aggregation"...
psa--8--259--A2
How many fire accidents occurred in Vehicles, Shops, markets, and Farms and public parks in the years 2020, 2019, and 2018?
null
{"Row Filter": true, "Row Filter Condition Type Lookup": false, "Row Filter Condition Type Expression": false, "Row Filter Involved Columns Single": false, "Row Filter Involved Columns Multiple": false, "Row Filter Max Depth Of Involved Columns": 1, "Row Filter Retained Rows Single": false, "Row Filter Retained Rows Mu...
{417 | 401 | 386} || {174 | 184 | 203} || {115 | 73 | 27}
[{"role": "system", "content": "You are a table question answering assistant. You are given a table in CSV format and a question. Your task is to answer the question based on the information in the table. The table structure may be complex and not a standard relational table so try to understand the structure of the ta...
[{"role": "user", "content": "You are a table question answering assistant. You are given a table in CSV format and a question. Your task is to answer the question based on the information in the table. The table structure may be complex and not a standard relational table so try to understand the structure of the tabl...
psa--8--259
realWorldHCTs
,0,1,2,3,4 0,Year Place of Occurrence,2020,2019,2018,2017 1,Residential premises,671,666,731,697 2,Vehicles,417,401,386,346 3,"Shops, markets",174,184,203,158 4,Industrial enterprises and factories,23,27,9,16 5,Farms and public parks,115,73,27,19 6,Ships and boats,4,4,7,3 7,Medical facilities,5,10,17,7 8,Educational fa...
<table id="0-1"> <tr><td>Year Place of Occurrence</td><td>2020</td><td>2019</td><td>2018</td><td>2017</td></tr> <tr><td>Residential premises</td><td>671</td><td>666</td><td>731</td><td>697</td></tr> <tr><td>Vehicles</td><td>417</td><td>401</td><td>386</td><td>346</td></tr> <tr><td>Shops, markets</td><td>174</td><td>184...
| Year Place of Occurrence | 2020 | 2019 | 2018 | 2017 | |---|---|---|---|---| | Residential premises | 671 | 666 | 731 | 697 | | Vehicles | 417 | 401 | 386 | 346 | | Shops, markets | 174 | 184 | 203 | 158 | | Industrial enterprises and factories | 23 | 27 | 9 | 16 | | Farms and public parks | 115 | 73 | 27 | 19 | | Sh...
./datasets/realWorld_datasets/tables/images/psa_8_259.jpg
https://hcsdtables.qcri.…es/psa_8_259.jpg
{"Standard Relational Table": false, "Multi Level Column": false, "Balanced Multi Level Column": false, "Symmetric Multi Level Column": false, "Unbalanced Multi Level Column": false, "Asymmetric Multi Level Column": false, "Column Aggregation": false, "Global Column Aggregation": false, "Local Column-Group Aggregation"...
psa--8--259--A0
What are the top 3 places of occurrence with the highest number of fire accidents in 2020 and how many were there?
null
{"Row Filter": false, "Row Filter Condition Type Lookup": false, "Row Filter Condition Type Expression": false, "Row Filter Involved Columns Single": false, "Row Filter Involved Columns Multiple": false, "Row Filter Max Depth Of Involved Columns": false, "Row Filter Retained Rows Single": false, "Row Filter Retained Ro...
{Others | 765} || {Residential premises | 671} || {Vehicles | 417}
[{"role": "system", "content": "You are a table question answering assistant. You are given a table in CSV format and a question. Your task is to answer the question based on the information in the table. The table structure may be complex and not a standard relational table so try to understand the structure of the ta...
[{"role": "user", "content": "You are a table question answering assistant. You are given a table in CSV format and a question. Your task is to answer the question based on the information in the table. The table structure may be complex and not a standard relational table so try to understand the structure of the tabl...
psa--8--259
realWorldHCTs
,0,1,2,3,4 0,Year Place of Occurrence,2020,2019,2018,2017 1,Residential premises,671,666,731,697 2,Vehicles,417,401,386,346 3,"Shops, markets",174,184,203,158 4,Industrial enterprises and factories,23,27,9,16 5,Farms and public parks,115,73,27,19 6,Ships and boats,4,4,7,3 7,Medical facilities,5,10,17,7 8,Educational fa...
<table id="0-1"> <tr><td>Year Place of Occurrence</td><td>2020</td><td>2019</td><td>2018</td><td>2017</td></tr> <tr><td>Residential premises</td><td>671</td><td>666</td><td>731</td><td>697</td></tr> <tr><td>Vehicles</td><td>417</td><td>401</td><td>386</td><td>346</td></tr> <tr><td>Shops, markets</td><td>174</td><td>184...
| Year Place of Occurrence | 2020 | 2019 | 2018 | 2017 | |---|---|---|---|---| | Residential premises | 671 | 666 | 731 | 697 | | Vehicles | 417 | 401 | 386 | 346 | | Shops, markets | 174 | 184 | 203 | 158 | | Industrial enterprises and factories | 23 | 27 | 9 | 16 | | Farms and public parks | 115 | 73 | 27 | 19 | | Sh...
./datasets/realWorld_datasets/tables/images/psa_8_259.jpg
https://hcsdtables.qcri.…es/psa_8_259.jpg
{"Standard Relational Table": false, "Multi Level Column": false, "Balanced Multi Level Column": false, "Symmetric Multi Level Column": false, "Unbalanced Multi Level Column": false, "Asymmetric Multi Level Column": false, "Column Aggregation": false, "Global Column Aggregation": false, "Local Column-Group Aggregation"...
psa--8--259--M1
How many fires were there on ships and boats in years 2017 and 2018 combined?
null
{"Row Filter": true, "Row Filter Condition Type Lookup": true, "Row Filter Condition Type Expression": false, "Row Filter Involved Columns Single": true, "Row Filter Involved Columns Multiple": false, "Row Filter Max Depth Of Involved Columns": "1", "Row Filter Retained Rows Single": true, "Row Filter Retained Rows Mul...
{10}
[{"role": "system", "content": "You are a table question answering assistant. You are given a table in CSV format and a question. Your task is to answer the question based on the information in the table. The table structure may be complex and not a standard relational table so try to understand the structure of the ta...
[{"role": "user", "content": "You are a table question answering assistant. You are given a table in CSV format and a question. Your task is to answer the question based on the information in the table. The table structure may be complex and not a standard relational table so try to understand the structure of the tabl...
psa--8--259
realWorldHCTs
,0,1,2,3,4 0,Year Place of Occurrence,2020,2019,2018,2017 1,Residential premises,671,666,731,697 2,Vehicles,417,401,386,346 3,"Shops, markets",174,184,203,158 4,Industrial enterprises and factories,23,27,9,16 5,Farms and public parks,115,73,27,19 6,Ships and boats,4,4,7,3 7,Medical facilities,5,10,17,7 8,Educational fa...
<table id="0-1"> <tr><td>Year Place of Occurrence</td><td>2020</td><td>2019</td><td>2018</td><td>2017</td></tr> <tr><td>Residential premises</td><td>671</td><td>666</td><td>731</td><td>697</td></tr> <tr><td>Vehicles</td><td>417</td><td>401</td><td>386</td><td>346</td></tr> <tr><td>Shops, markets</td><td>174</td><td>184...
| Year Place of Occurrence | 2020 | 2019 | 2018 | 2017 | |---|---|---|---|---| | Residential premises | 671 | 666 | 731 | 697 | | Vehicles | 417 | 401 | 386 | 346 | | Shops, markets | 174 | 184 | 203 | 158 | | Industrial enterprises and factories | 23 | 27 | 9 | 16 | | Farms and public parks | 115 | 73 | 27 | 19 | | Sh...
./datasets/realWorld_datasets/tables/images/psa_8_259.jpg
https://hcsdtables.qcri.…es/psa_8_259.jpg
{"Standard Relational Table": false, "Multi Level Column": false, "Balanced Multi Level Column": false, "Symmetric Multi Level Column": false, "Unbalanced Multi Level Column": false, "Asymmetric Multi Level Column": false, "Column Aggregation": false, "Global Column Aggregation": false, "Local Column-Group Aggregation"...
psa--8--259--A3
How many fire accidents occurred in Vehicles and Shops, markets in the year 2020?
null
{"Row Filter": true, "Row Filter Condition Type Lookup": false, "Row Filter Condition Type Expression": false, "Row Filter Involved Columns Single": true, "Row Filter Involved Columns Multiple": false, "Row Filter Max Depth Of Involved Columns": 1, "Row Filter Retained Rows Single": false, "Row Filter Retained Rows Mul...
{417} || {174}
[{"role": "system", "content": "You are a table question answering assistant. You are given a table in CSV format and a question. Your task is to answer the question based on the information in the table. The table structure may be complex and not a standard relational table so try to understand the structure of the ta...
[{"role": "user", "content": "You are a table question answering assistant. You are given a table in CSV format and a question. Your task is to answer the question based on the information in the table. The table structure may be complex and not a standard relational table so try to understand the structure of the tabl...
psa--8--259
realWorldHCTs
,0,1,2,3,4 0,Year Place of Occurrence,2020,2019,2018,2017 1,Residential premises,671,666,731,697 2,Vehicles,417,401,386,346 3,"Shops, markets",174,184,203,158 4,Industrial enterprises and factories,23,27,9,16 5,Farms and public parks,115,73,27,19 6,Ships and boats,4,4,7,3 7,Medical facilities,5,10,17,7 8,Educational fa...
<table id="0-1"> <tr><td>Year Place of Occurrence</td><td>2020</td><td>2019</td><td>2018</td><td>2017</td></tr> <tr><td>Residential premises</td><td>671</td><td>666</td><td>731</td><td>697</td></tr> <tr><td>Vehicles</td><td>417</td><td>401</td><td>386</td><td>346</td></tr> <tr><td>Shops, markets</td><td>174</td><td>184...
| Year Place of Occurrence | 2020 | 2019 | 2018 | 2017 | |---|---|---|---|---| | Residential premises | 671 | 666 | 731 | 697 | | Vehicles | 417 | 401 | 386 | 346 | | Shops, markets | 174 | 184 | 203 | 158 | | Industrial enterprises and factories | 23 | 27 | 9 | 16 | | Farms and public parks | 115 | 73 | 27 | 19 | | Sh...
./datasets/realWorld_datasets/tables/images/psa_8_259.jpg
https://hcsdtables.qcri.…es/psa_8_259.jpg
{"Standard Relational Table": false, "Multi Level Column": false, "Balanced Multi Level Column": false, "Symmetric Multi Level Column": false, "Unbalanced Multi Level Column": false, "Asymmetric Multi Level Column": false, "Column Aggregation": false, "Global Column Aggregation": false, "Local Column-Group Aggregation"...
psa--8--259--A5
For the 'Residential premises' and 'Vehicles', what is the total number of fire accidents that occurred in 2019 and 2020?
null
{"Row Filter": true, "Row Filter Condition Type Lookup": false, "Row Filter Condition Type Expression": false, "Row Filter Involved Columns Single": true, "Row Filter Involved Columns Multiple": false, "Row Filter Max Depth Of Involved Columns": 1, "Row Filter Retained Rows Single": false, "Row Filter Retained Rows Mul...
{2155}
[{"role": "system", "content": "You are a table question answering assistant. You are given a table in CSV format and a question. Your task is to answer the question based on the information in the table. The table structure may be complex and not a standard relational table so try to understand the structure of the ta...
[{"role": "user", "content": "You are a table question answering assistant. You are given a table in CSV format and a question. Your task is to answer the question based on the information in the table. The table structure may be complex and not a standard relational table so try to understand the structure of the tabl...
psa--8--259
realWorldHCTs
,0,1,2,3,4 0,Year Place of Occurrence,2020,2019,2018,2017 1,Residential premises,671,666,731,697 2,Vehicles,417,401,386,346 3,"Shops, markets",174,184,203,158 4,Industrial enterprises and factories,23,27,9,16 5,Farms and public parks,115,73,27,19 6,Ships and boats,4,4,7,3 7,Medical facilities,5,10,17,7 8,Educational fa...
<table id="0-1"> <tr><td>Year Place of Occurrence</td><td>2020</td><td>2019</td><td>2018</td><td>2017</td></tr> <tr><td>Residential premises</td><td>671</td><td>666</td><td>731</td><td>697</td></tr> <tr><td>Vehicles</td><td>417</td><td>401</td><td>386</td><td>346</td></tr> <tr><td>Shops, markets</td><td>174</td><td>184...
| Year Place of Occurrence | 2020 | 2019 | 2018 | 2017 | |---|---|---|---|---| | Residential premises | 671 | 666 | 731 | 697 | | Vehicles | 417 | 401 | 386 | 346 | | Shops, markets | 174 | 184 | 203 | 158 | | Industrial enterprises and factories | 23 | 27 | 9 | 16 | | Farms and public parks | 115 | 73 | 27 | 19 | | Sh...
./datasets/realWorld_datasets/tables/images/psa_8_259.jpg
https://hcsdtables.qcri.…es/psa_8_259.jpg
{"Standard Relational Table": false, "Multi Level Column": false, "Balanced Multi Level Column": false, "Symmetric Multi Level Column": false, "Unbalanced Multi Level Column": false, "Asymmetric Multi Level Column": false, "Column Aggregation": false, "Global Column Aggregation": false, "Local Column-Group Aggregation"...
psa--8--259--A1
Did the number of fire accidents in residential premises and vehicles combined exceed 1000 in any year from 2017 to 2020?
null
{"Row Filter": false, "Row Filter Condition Type Lookup": false, "Row Filter Condition Type Expression": false, "Row Filter Involved Columns Single": false, "Row Filter Involved Columns Multiple": false, "Row Filter Max Depth Of Involved Columns": false, "Row Filter Retained Rows Single": false, "Row Filter Retained Ro...
Yes
[{"role": "system", "content": "You are a table question answering assistant. You are given a table in CSV format and a question. Your task is to answer the question based on the information in the table. The table structure may be complex and not a standard relational table so try to understand the structure of the ta...
[{"role": "user", "content": "You are a table question answering assistant. You are given a table in CSV format and a question. Your task is to answer the question based on the information in the table. The table structure may be complex and not a standard relational table so try to understand the structure of the tabl...
psa--8--259
realWorldHCTs
,0,1,2,3,4 0,Year Place of Occurrence,2020,2019,2018,2017 1,Residential premises,671,666,731,697 2,Vehicles,417,401,386,346 3,"Shops, markets",174,184,203,158 4,Industrial enterprises and factories,23,27,9,16 5,Farms and public parks,115,73,27,19 6,Ships and boats,4,4,7,3 7,Medical facilities,5,10,17,7 8,Educational fa...
<table id="0-1"> <tr><td>Year Place of Occurrence</td><td>2020</td><td>2019</td><td>2018</td><td>2017</td></tr> <tr><td>Residential premises</td><td>671</td><td>666</td><td>731</td><td>697</td></tr> <tr><td>Vehicles</td><td>417</td><td>401</td><td>386</td><td>346</td></tr> <tr><td>Shops, markets</td><td>174</td><td>184...
| Year Place of Occurrence | 2020 | 2019 | 2018 | 2017 | |---|---|---|---|---| | Residential premises | 671 | 666 | 731 | 697 | | Vehicles | 417 | 401 | 386 | 346 | | Shops, markets | 174 | 184 | 203 | 158 | | Industrial enterprises and factories | 23 | 27 | 9 | 16 | | Farms and public parks | 115 | 73 | 27 | 19 | | Sh...
./datasets/realWorld_datasets/tables/images/psa_8_259.jpg
https://hcsdtables.qcri.…es/psa_8_259.jpg
{"Standard Relational Table": false, "Multi Level Column": false, "Balanced Multi Level Column": false, "Symmetric Multi Level Column": false, "Unbalanced Multi Level Column": false, "Asymmetric Multi Level Column": false, "Column Aggregation": false, "Global Column Aggregation": false, "Local Column-Group Aggregation"...
psa--8--259--A4
In the year 2020, were there more fire accidents in residential premises than in vehicles?
null
{"Row Filter": false, "Row Filter Condition Type Lookup": false, "Row Filter Condition Type Expression": false, "Row Filter Involved Columns Single": false, "Row Filter Involved Columns Multiple": false, "Row Filter Max Depth Of Involved Columns": false, "Row Filter Retained Rows Single": false, "Row Filter Retained Ro...
Yes
[{"role": "system", "content": "You are a table question answering assistant. You are given a table in CSV format and a question. Your task is to answer the question based on the information in the table. The table structure may be complex and not a standard relational table so try to understand the structure of the ta...
[{"role": "user", "content": "You are a table question answering assistant. You are given a table in CSV format and a question. Your task is to answer the question based on the information in the table. The table structure may be complex and not a standard relational table so try to understand the structure of the tabl...
psa--4--174
realWorldHCTs
,0,1,2,3,4,5,6,7,8,9,10 0,Nationality & Gender Age Group (in Years),Total,__,__,Non-Qataris,__,__,Qataris,__,__,() 1,__,Total,Females,Males,Total,Females,Males,Total,Females,Males,__ 2,Under 1 Year,161,79,82,108,54,54,53,25,28, 3,1,15,9,6,13,8,5,2,1,1, 4,2,4,1,3,3,1,2,1,0,1, 5,3,7,1,6,7,1,6,0,0,0, 6,4,3,2,1,2,1,1,1,1,0...
<table id="0-1"> <tr><td rowspan="2">Nationality &amp; Gender</td><td colspan="3">Total</td><td colspan="3">Non-Qataris</td><td colspan="3">QatariS</td><td rowspan="2">()</td></tr> <tr><td>Total</td><td>Females</td><td>Males</td><td>Total</td><td>Females</td><td>Males</td><td>Total</td><td>Females</td><td>Males</td></t...
| Nationality & Gender | Total | | | Non-Qataris | | | QatariS | | | () | |---|---|---|---|---|---|---|---|---|---|---| | | Total | Females | Males | Total | Females | Males | Total | Females | Males | | | Under 1 Year | 161 | 79 | 82 | 108 | 54 | 54 | 53 | 25 | 28 | | | 1 | 15 | 9 | 6 | 13 | 8 | 5 | 2 | 1 | 1...
./datasets/realWorld_datasets/tables/images/psa_4_174.jpg
https://hcsdtables.qcri.…es/psa_4_174.jpg
{"Standard Relational Table": false, "Multi Level Column": true, "Balanced Multi Level Column": true, "Symmetric Multi Level Column": true, "Unbalanced Multi Level Column": false, "Asymmetric Multi Level Column": false, "Column Aggregation": true, "Global Column Aggregation": true, "Local Column-Group Aggregation": tru...
psa--4--174--A5
How many Non-Qatari females were registered in the age group 30-34?
null
{"Row Filter": true, "Row Filter Condition Type Lookup": false, "Row Filter Condition Type Expression": true, "Row Filter Involved Columns Single": true, "Row Filter Involved Columns Multiple": false, "Row Filter Max Depth Of Involved Columns": 1, "Row Filter Retained Rows Single": false, "Row Filter Retained Rows Mult...
{24}
[{"role": "system", "content": "You are a table question answering assistant. You are given a table in CSV format and a question. Your task is to answer the question based on the information in the table. The table structure may be complex and not a standard relational table so try to understand the structure of the ta...
[{"role": "user", "content": "You are a table question answering assistant. You are given a table in CSV format and a question. Your task is to answer the question based on the information in the table. The table structure may be complex and not a standard relational table so try to understand the structure of the tabl...
psa--4--174
realWorldHCTs
,0,1,2,3,4,5,6,7,8,9,10 0,Nationality & Gender Age Group (in Years),Total,__,__,Non-Qataris,__,__,Qataris,__,__,() 1,__,Total,Females,Males,Total,Females,Males,Total,Females,Males,__ 2,Under 1 Year,161,79,82,108,54,54,53,25,28, 3,1,15,9,6,13,8,5,2,1,1, 4,2,4,1,3,3,1,2,1,0,1, 5,3,7,1,6,7,1,6,0,0,0, 6,4,3,2,1,2,1,1,1,1,0...
<table id="0-1"> <tr><td rowspan="2">Nationality &amp; Gender</td><td colspan="3">Total</td><td colspan="3">Non-Qataris</td><td colspan="3">QatariS</td><td rowspan="2">()</td></tr> <tr><td>Total</td><td>Females</td><td>Males</td><td>Total</td><td>Females</td><td>Males</td><td>Total</td><td>Females</td><td>Males</td></t...
| Nationality & Gender | Total | | | Non-Qataris | | | QatariS | | | () | |---|---|---|---|---|---|---|---|---|---|---| | | Total | Females | Males | Total | Females | Males | Total | Females | Males | | | Under 1 Year | 161 | 79 | 82 | 108 | 54 | 54 | 53 | 25 | 28 | | | 1 | 15 | 9 | 6 | 13 | 8 | 5 | 2 | 1 | 1...
./datasets/realWorld_datasets/tables/images/psa_4_174.jpg
https://hcsdtables.qcri.…es/psa_4_174.jpg
{"Standard Relational Table": false, "Multi Level Column": true, "Balanced Multi Level Column": true, "Symmetric Multi Level Column": true, "Unbalanced Multi Level Column": false, "Asymmetric Multi Level Column": false, "Column Aggregation": true, "Global Column Aggregation": true, "Local Column-Group Aggregation": tru...
psa--4--174--M0
What is the number of qataris females when the age group is 10-14?
null
{"Row Filter": true, "Row Filter Condition Type Lookup": true, "Row Filter Condition Type Expression": false, "Row Filter Involved Columns Single": true, "Row Filter Involved Columns Multiple": false, "Row Filter Max Depth Of Involved Columns": "1", "Row Filter Retained Rows Single": true, "Row Filter Retained Rows Mul...
{1}
[{"role": "system", "content": "You are a table question answering assistant. You are given a table in CSV format and a question. Your task is to answer the question based on the information in the table. The table structure may be complex and not a standard relational table so try to understand the structure of the ta...
[{"role": "user", "content": "You are a table question answering assistant. You are given a table in CSV format and a question. Your task is to answer the question based on the information in the table. The table structure may be complex and not a standard relational table so try to understand the structure of the tabl...
psa--4--174
realWorldHCTs
,0,1,2,3,4,5,6,7,8,9,10 0,Nationality & Gender Age Group (in Years),Total,__,__,Non-Qataris,__,__,Qataris,__,__,() 1,__,Total,Females,Males,Total,Females,Males,Total,Females,Males,__ 2,Under 1 Year,161,79,82,108,54,54,53,25,28, 3,1,15,9,6,13,8,5,2,1,1, 4,2,4,1,3,3,1,2,1,0,1, 5,3,7,1,6,7,1,6,0,0,0, 6,4,3,2,1,2,1,1,1,1,0...
<table id="0-1"> <tr><td rowspan="2">Nationality &amp; Gender</td><td colspan="3">Total</td><td colspan="3">Non-Qataris</td><td colspan="3">QatariS</td><td rowspan="2">()</td></tr> <tr><td>Total</td><td>Females</td><td>Males</td><td>Total</td><td>Females</td><td>Males</td><td>Total</td><td>Females</td><td>Males</td></t...
| Nationality & Gender | Total | | | Non-Qataris | | | QatariS | | | () | |---|---|---|---|---|---|---|---|---|---|---| | | Total | Females | Males | Total | Females | Males | Total | Females | Males | | | Under 1 Year | 161 | 79 | 82 | 108 | 54 | 54 | 53 | 25 | 28 | | | 1 | 15 | 9 | 6 | 13 | 8 | 5 | 2 | 1 | 1...
./datasets/realWorld_datasets/tables/images/psa_4_174.jpg
https://hcsdtables.qcri.…es/psa_4_174.jpg
{"Standard Relational Table": false, "Multi Level Column": true, "Balanced Multi Level Column": true, "Symmetric Multi Level Column": true, "Unbalanced Multi Level Column": false, "Asymmetric Multi Level Column": false, "Column Aggregation": true, "Global Column Aggregation": true, "Local Column-Group Aggregation": tru...
psa--4--174--M1
What is the value in non qataris males for age group 1?
null
{"Row Filter": true, "Row Filter Condition Type Lookup": true, "Row Filter Condition Type Expression": false, "Row Filter Involved Columns Single": true, "Row Filter Involved Columns Multiple": false, "Row Filter Max Depth Of Involved Columns": "1", "Row Filter Retained Rows Single": true, "Row Filter Retained Rows Mul...
{5}
[{"role": "system", "content": "You are a table question answering assistant. You are given a table in CSV format and a question. Your task is to answer the question based on the information in the table. The table structure may be complex and not a standard relational table so try to understand the structure of the ta...
[{"role": "user", "content": "You are a table question answering assistant. You are given a table in CSV format and a question. Your task is to answer the question based on the information in the table. The table structure may be complex and not a standard relational table so try to understand the structure of the tabl...
psa--4--174
realWorldHCTs
,0,1,2,3,4,5,6,7,8,9,10 0,Nationality & Gender Age Group (in Years),Total,__,__,Non-Qataris,__,__,Qataris,__,__,() 1,__,Total,Females,Males,Total,Females,Males,Total,Females,Males,__ 2,Under 1 Year,161,79,82,108,54,54,53,25,28, 3,1,15,9,6,13,8,5,2,1,1, 4,2,4,1,3,3,1,2,1,0,1, 5,3,7,1,6,7,1,6,0,0,0, 6,4,3,2,1,2,1,1,1,1,0...
<table id="0-1"> <tr><td rowspan="2">Nationality &amp; Gender</td><td colspan="3">Total</td><td colspan="3">Non-Qataris</td><td colspan="3">QatariS</td><td rowspan="2">()</td></tr> <tr><td>Total</td><td>Females</td><td>Males</td><td>Total</td><td>Females</td><td>Males</td><td>Total</td><td>Females</td><td>Males</td></t...
| Nationality & Gender | Total | | | Non-Qataris | | | QatariS | | | () | |---|---|---|---|---|---|---|---|---|---|---| | | Total | Females | Males | Total | Females | Males | Total | Females | Males | | | Under 1 Year | 161 | 79 | 82 | 108 | 54 | 54 | 53 | 25 | 28 | | | 1 | 15 | 9 | 6 | 13 | 8 | 5 | 2 | 1 | 1...
./datasets/realWorld_datasets/tables/images/psa_4_174.jpg
https://hcsdtables.qcri.…es/psa_4_174.jpg
{"Standard Relational Table": false, "Multi Level Column": true, "Balanced Multi Level Column": true, "Symmetric Multi Level Column": true, "Unbalanced Multi Level Column": false, "Asymmetric Multi Level Column": false, "Column Aggregation": true, "Global Column Aggregation": true, "Local Column-Group Aggregation": tru...
psa--4--174--A4
What is the total number of registered deaths for Qatari females in the age group 30-34?
null
{"Row Filter": true, "Row Filter Condition Type Lookup": false, "Row Filter Condition Type Expression": false, "Row Filter Involved Columns Single": false, "Row Filter Involved Columns Multiple": true, "Row Filter Max Depth Of Involved Columns": 1, "Row Filter Retained Rows Single": true, "Row Filter Retained Rows Mult...
{4}
[{"role": "system", "content": "You are a table question answering assistant. You are given a table in CSV format and a question. Your task is to answer the question based on the information in the table. The table structure may be complex and not a standard relational table so try to understand the structure of the ta...
[{"role": "user", "content": "You are a table question answering assistant. You are given a table in CSV format and a question. Your task is to answer the question based on the information in the table. The table structure may be complex and not a standard relational table so try to understand the structure of the tabl...
psa--4--174
realWorldHCTs
,0,1,2,3,4,5,6,7,8,9,10 0,Nationality & Gender Age Group (in Years),Total,__,__,Non-Qataris,__,__,Qataris,__,__,() 1,__,Total,Females,Males,Total,Females,Males,Total,Females,Males,__ 2,Under 1 Year,161,79,82,108,54,54,53,25,28, 3,1,15,9,6,13,8,5,2,1,1, 4,2,4,1,3,3,1,2,1,0,1, 5,3,7,1,6,7,1,6,0,0,0, 6,4,3,2,1,2,1,1,1,1,0...
<table id="0-1"> <tr><td rowspan="2">Nationality &amp; Gender</td><td colspan="3">Total</td><td colspan="3">Non-Qataris</td><td colspan="3">QatariS</td><td rowspan="2">()</td></tr> <tr><td>Total</td><td>Females</td><td>Males</td><td>Total</td><td>Females</td><td>Males</td><td>Total</td><td>Females</td><td>Males</td></t...
| Nationality & Gender | Total | | | Non-Qataris | | | QatariS | | | () | |---|---|---|---|---|---|---|---|---|---|---| | | Total | Females | Males | Total | Females | Males | Total | Females | Males | | | Under 1 Year | 161 | 79 | 82 | 108 | 54 | 54 | 53 | 25 | 28 | | | 1 | 15 | 9 | 6 | 13 | 8 | 5 | 2 | 1 | 1...
./datasets/realWorld_datasets/tables/images/psa_4_174.jpg
https://hcsdtables.qcri.…es/psa_4_174.jpg
{"Standard Relational Table": false, "Multi Level Column": true, "Balanced Multi Level Column": true, "Symmetric Multi Level Column": true, "Unbalanced Multi Level Column": false, "Asymmetric Multi Level Column": false, "Column Aggregation": true, "Global Column Aggregation": true, "Local Column-Group Aggregation": tru...
psa--4--174--A3
What were the total registered deaths for Non-Qataris and Qataris in the age groups 30-34, 40-44, and 50-54 for both genders?
null
{"Row Filter": true, "Row Filter Condition Type Lookup": false, "Row Filter Condition Type Expression": false, "Row Filter Involved Columns Single": false, "Row Filter Involved Columns Multiple": false, "Row Filter Max Depth Of Involved Columns": 1, "Row Filter Retained Rows Single": false, "Row Filter Retained Rows Mu...
{152 | 14} || {122 | 14} || {124 | 34 }
[{"role": "system", "content": "You are a table question answering assistant. You are given a table in CSV format and a question. Your task is to answer the question based on the information in the table. The table structure may be complex and not a standard relational table so try to understand the structure of the ta...
[{"role": "user", "content": "You are a table question answering assistant. You are given a table in CSV format and a question. Your task is to answer the question based on the information in the table. The table structure may be complex and not a standard relational table so try to understand the structure of the tabl...
psa--4--174
realWorldHCTs
,0,1,2,3,4,5,6,7,8,9,10 0,Nationality & Gender Age Group (in Years),Total,__,__,Non-Qataris,__,__,Qataris,__,__,() 1,__,Total,Females,Males,Total,Females,Males,Total,Females,Males,__ 2,Under 1 Year,161,79,82,108,54,54,53,25,28, 3,1,15,9,6,13,8,5,2,1,1, 4,2,4,1,3,3,1,2,1,0,1, 5,3,7,1,6,7,1,6,0,0,0, 6,4,3,2,1,2,1,1,1,1,0...
<table id="0-1"> <tr><td rowspan="2">Nationality &amp; Gender</td><td colspan="3">Total</td><td colspan="3">Non-Qataris</td><td colspan="3">QatariS</td><td rowspan="2">()</td></tr> <tr><td>Total</td><td>Females</td><td>Males</td><td>Total</td><td>Females</td><td>Males</td><td>Total</td><td>Females</td><td>Males</td></t...
| Nationality & Gender | Total | | | Non-Qataris | | | QatariS | | | () | |---|---|---|---|---|---|---|---|---|---|---| | | Total | Females | Males | Total | Females | Males | Total | Females | Males | | | Under 1 Year | 161 | 79 | 82 | 108 | 54 | 54 | 53 | 25 | 28 | | | 1 | 15 | 9 | 6 | 13 | 8 | 5 | 2 | 1 | 1...
./datasets/realWorld_datasets/tables/images/psa_4_174.jpg
https://hcsdtables.qcri.…es/psa_4_174.jpg
{"Standard Relational Table": false, "Multi Level Column": true, "Balanced Multi Level Column": true, "Symmetric Multi Level Column": true, "Unbalanced Multi Level Column": false, "Asymmetric Multi Level Column": false, "Column Aggregation": true, "Global Column Aggregation": true, "Local Column-Group Aggregation": tru...
psa--4--174--A2
For the age groups 30-34 and 45-49, what is the total number of registered deaths for Qatari males and females combined in 2016?
null
{"Row Filter": true, "Row Filter Condition Type Lookup": false, "Row Filter Condition Type Expression": false, "Row Filter Involved Columns Single": true, "Row Filter Involved Columns Multiple": false, "Row Filter Max Depth Of Involved Columns": 1, "Row Filter Retained Rows Single": false, "Row Filter Retained Rows Mul...
{32}
[{"role": "system", "content": "You are a table question answering assistant. You are given a table in CSV format and a question. Your task is to answer the question based on the information in the table. The table structure may be complex and not a standard relational table so try to understand the structure of the ta...
[{"role": "user", "content": "You are a table question answering assistant. You are given a table in CSV format and a question. Your task is to answer the question based on the information in the table. The table structure may be complex and not a standard relational table so try to understand the structure of the tabl...
End of preview. Expand in Data Studio

HCT-QA: Human-Centric Tables Question Answering

HCT-QA is a benchmark dataset designed to evaluate large language models (LLMs) on question answering over complex, human-centric tables (HCTs). These tables often appear in documents such as research papers, reports, and webpages and present significant challenges for traditional table QA due to their non-standard layouts and compositional structure.

The dataset includes:

  • 2,188 real-world tables with 9,835 human-annotated QA pairs
  • 4,679 synthetic tables with 67,500 programmatically generated QA pairs
  • Logical and structural metadata for each table and question

πŸ“„ Paper: [Title TBD]
The associated paper is currently under review and will be linked here once published.


How to load in Python (as pandas DataFrames):

from datasets import load_dataset
import pandas as pd

dataset = load_dataset("qcri-ai/HCTQA")
    
# Convert each split to a pandas DataFrame
train_df = pd.DataFrame(dataset['train'])
val_df = pd.DataFrame(dataset['validation'])
test_df = pd.DataFrame(dataset['test'])

πŸ“Š Dataset Splits

Config Split # Examples (Placeholder)
RealWorld Train 7,500
RealWorld Test 2,335
Synthetic Train 55,000
Synthetic Test 12,500

πŸ† Leaderboard

Model Name FT (Finetuned) Recall Precision
Model-A True 0.81 0.78
Model-B False 0.64 0.61
Model-C True 0.72 0.69

πŸ“Œ If you're evaluating on this dataset, open a pull request to update the leaderboard.


Dataset Structure

Each entry in the dataset is a dictionary with the following structure:

Sample Entry

{
  "table_id": "arxiv--1--1118",
  "dataset_type": "arxiv",
  "table_data": {
    "table_as_csv": ",0,1,2\n0,Domain,Average Text Length,Aspects Identified\n1,Journalism,50,44\n...",
    "table_as_html": "<table><tr><th>Domain</th><th>Average Text Length</th>...",
    "table_as_markdown": "| Domain | Average Text Length | Aspects Identified |...",
    "table_image_local_path_within_github_repo": "tables/images/arxiv--1--1118.jpg",
    "table_image_url": "https://hcsdtables.qcri.org/datasets/all_images/arxiv_1_1118.jpg",
    "table_properties_metadata": {
      "Standard Relational Table": true,
      "Row Nesting": false,
      "Column Aggregation": false
    }
  },
  "questions": [
    {
      "question_id": "arxiv--1--1118--M0",
      "question": "Report the Domain and the Average Text Length where the Aspects Identified equals 72",
      "question_template_for_synthetic_only": "Report [column_1] and [column_2] where [column_3] equals [value]",
      "question_properties_metadata": {
        "Row Filter": true,
        "Aggregation": false,
        "Returned Columns": true
      },
      "answer": "{Psychology | 86} || {Linguistics | 90}",
      "prompt": "<system>...</system><user>...</user>",
      "prompt_without_system": "<user>...</user>"
    }
  ]
}

Ground Truth Format

Explain the GT format here
Example: {value1 | value2} || {value3 | value4}

Table Properties

For details on table and question properties please see our paper

Downloads last month
137