question
stringlengths
19
187
answer
stringlengths
1
333
type
stringclasses
5 values
columns_used
stringlengths
2
161
column_types
stringclasses
132 values
sample_answer
stringlengths
1
228
dataset
stringclasses
80 values
What are the descriptions of the 3 items with the highest quantities ordered?
['PAPER CRAFT , LITTLE BIRDIE', 'MEDIUM CERAMIC TOP STORAGE JAR', 'ASSTD DESIGN 3D PAPER STICKERS']
list[category]
['Description', 'Quantity']
['category', 'number[int32]']
['BLUE POLKADOT WRAP', 'HANGING JAM JAR T-LIGHT HOLDER', 'FAIRY CAKE FLANNEL ASSORTED COLOUR']
065_RFM
What are the descriptions of the 2 items with the lowest quantities ordered? If there is a tie then solve it with the alphabetical order of descriptions.
['PAPER CRAFT , LITTLE BIRDIE', 'MEDIUM CERAMIC TOP STORAGE JAR']
list[category]
['Description', 'Quantity']
['category', 'number[int32]']
['HANGING METAL STAR LANTERN', 'LARGE CAKE TOWEL CHOCOLATE SPOTS']
065_RFM
Which 2 countries made the most transactions?
['United Kingdom', 'Germany']
list[category]
['Country']
['category']
['United Kingdom', 'Australia']
065_RFM
Which 2 countries made the least transactions?
['Saudi Arabia', 'Bahrain']
list[category]
['Country']
['category']
['United Kingdom', 'Australia']
065_RFM
What are the invoice numbers of the top 5 transactions with the highest quantities ordered?
['581483', '541431', '578841', '542504', '573008']
list[number]
['InvoiceNo', 'Quantity']
['number[UInt32]', 'number[int32]']
['548005', '555200', '573399', '563745', '568909']
065_RFM
What are the stock codes of the bottom 5 transactions with the lowest quantities ordered? If there is a tie go with numerical order.
[23843, 23166, 23005, 23005, 84347]
list[number]
['InvoiceNo', 'Quantity']
['number[UInt32]', 'number[int32]']
['22465', '21109', '82484', '22799', '82600']
065_RFM
What are the four most commonly ordered quantities?
[1, 2, 12, 6]
list[number]
['Quantity']
['number[int32]']
[1, 4, 2, 12]
065_RFM
What are the times the two most common descriptions are repeated?
[2369, 2200]
list[number]
['Description']
['category']
[1, 1]
065_RFM
Is our average employee older than 35?
True
boolean
[]
[]
True
066_IBM_HR
Is the most frequent travel value rarely traveling?
True
boolean
[]
[]
True
066_IBM_HR
Is the highest DailyRate equal to 1499?
True
boolean
[]
[]
False
066_IBM_HR
Is the highest DailyRate negative?
False
boolean
[]
[]
False
066_IBM_HR
Is our research dept bigger than sales?
True
boolean
[]
[]
True
066_IBM_HR
Is the highest rating given to any performance to 4?
True
boolean
[]
[]
True
066_IBM_HR
Are there more employees who travel frequently than those who work in the HR department?
True
boolean
[]
[]
True
066_IBM_HR
Is the average MonthlyIncome of employees affected by attrition less than those not affected?
True
boolean
[]
[]
True
066_IBM_HR
Is the standard number of working hours the same across all employees?
True
boolean
[]
[]
True
066_IBM_HR
What is the most common role?
Sales Executive
category
[]
[]
Laboratory Technician
066_IBM_HR
Which department has the highest average YearsAtCompany?
Sales
category
[]
[]
Sales
066_IBM_HR
What is the least common marital status?
Divorced
category
[]
[]
Divorced
066_IBM_HR
What is the most frequent field of education for our employees?
Life Sciences
category
[]
[]
Life Sciences
066_IBM_HR
Which travel category has the highest average income?
Travel_Rarely
category
[]
[]
Travel_Frequently
066_IBM_HR
Which gender is most satisfied with the job on average?
Male
category
[]
[]
Male
066_IBM_HR
What is the most common score given work and life balance?
3
number
[]
[]
3
066_IBM_HR
Which EducationField do we employ the least?
Human Resources
category
[]
[]
Other
066_IBM_HR
What is the average age of our employees?
36.92
number
[]
[]
35.65
066_IBM_HR
What is the total number of different job roles offered by IBM?
9.0
number
[]
[]
6.0
066_IBM_HR
What is the maximum years someone has been at IBM?
40.0
number
[]
[]
25.0
066_IBM_HR
What is the median monthly income of our employees?
4919.0
number
[]
[]
3183.0
066_IBM_HR
What is the sum of the miles employees have to travel to get to work?
13513
number
[]
[]
241
066_IBM_HR
What is the average number of total working years for employees who are working in sales?
11.10
number
[]
[]
19.5
066_IBM_HR
How many employees rate their satisfaction with their environment with a score of 4?
446.0
number
[]
[]
8.0
066_IBM_HR
What is the range (max - min) of YearsSinceLastPromotion?
15.0
number
[]
[]
8.0
066_IBM_HR
What is the longest time someone has been without a promotion?
15.0
number
[]
[]
8.0
066_IBM_HR
List the unique different grades received by anyone for their performance.
[4, 3]
list[number]
[]
[]
[4, 3]
066_IBM_HR
List the amounts of the lowest 5 monthly incomes.
[1009, 1051, 1052, 1081, 1091]
list[number]
[]
[]
[2028, 2090, 2426, 2661, 2670]
066_IBM_HR
List all the different education levels of our employees can be classified into.
[2, 1, 4, 3, 5]
list[number]
[]
[]
[2, 1, 4, 3]
066_IBM_HR
List the top 5 highest PercentSalaryHike values. The answer is a list with five values, even if they are repeated.
[25, 25, 25, 25, 25]
list[number]
[]
[]
[23, 22, 21, 20, 17]
066_IBM_HR
List the 5 most common ages of our employees.
[35, 34, 36, 31, 29]
list[number]
[]
[]
[38, 32, 29, 36, 22]
066_IBM_HR
List the top 3 most common job roles our company has.
['Sales Executive', 'Research Scientist', 'Laboratory Technician']
list[category]
[]
[]
['Laboratory Technician', 'Research Scientist', 'Manufacturing Director']
066_IBM_HR
List the 2 departments that employ the most people.
['Research & Development', 'Sales']
list[category]
[]
[]
['Research & Development', 'Sales']
066_IBM_HR
List the different marital status values in our database.
['Single', 'Married', 'Divorced']
list[category]
[]
[]
['Single', 'Married', 'Divorced']
066_IBM_HR
List all the different (unique) values we use to classify the field of education of our employees.
['Life Sciences', 'Other', 'Medical', 'Marketing', 'Technical Degree', 'Human Resources']
list[category]
[]
[]
['Life Sciences', 'Other', 'Medical']
066_IBM_HR
List the top 5 BusinessTravel categories.
['Travel_Rarely', 'Travel_Frequently', 'Non-Travel']
list[category]
[]
[]
['Travel_Rarely', 'Travel_Frequently', 'Non-Travel']
066_IBM_HR
List all the unique possible values overtime can take.
['No', 'Yes']
list[category]
[]
[]
['No', 'Yes']
066_IBM_HR
List the 4 most common JobLevels.
[1, 2, 3, 4]
list[number]
[]
[]
[1, 2, 3, 4]
066_IBM_HR
List the 3 most common JobLevels.
[1, 2, 3]
list[number]
[]
[]
[1, 2, 3]
066_IBM_HR
Does the dataset contain any review that more than forty users have labeled as helpful?
True
boolean
[]
[]
False
067_TripAdvisor
Are all the reviews sources (phone or not phone) non-null?
True
boolean
[]
[]
True
067_TripAdvisor
Is 1 the least frequent overall rating given in a review?
True
boolean
[]
[]
True
067_TripAdvisor
How many reviews give ratings related to the location?
15132
number
[]
[]
15
067_TripAdvisor
Is there more overall ratings given than ratings related to the location?
True
boolean
[]
[]
True
067_TripAdvisor
Is there any review written in 2024?
False
boolean
[]
[]
False
067_TripAdvisor
Are all of our reviews labelled helpful by someone?
False
boolean
[]
[]
False
067_TripAdvisor
Are there more reviews marked as being made from a phone than not?
False
boolean
[]
[]
False
067_TripAdvisor
Is the maximum number of helpful votes found in only one review?
True
boolean
[]
[]
True
067_TripAdvisor
Is the best possible review for room ratings found in more than fifteen reviews?
True
boolean
[]
[]
False
067_TripAdvisor
Which year had the highest number of reviews made?
2012
number
[]
[]
2012
067_TripAdvisor
What is the average rating given to rooms?
3.92
number
[]
[]
3.5
067_TripAdvisor
What (non-null) room rating is most common?
5
number
[]
[]
5
067_TripAdvisor
Which value is most frequent for num_helpful_votes`?
0
number
[]
[]
0
067_TripAdvisor
Who is the author of 'value with a view'?
charlietrisj
category
[]
[]
charlietrisj
067_TripAdvisor
What is the average review length (in characters) without taking the title into account?
806.7501
number
[]
[]
1241.05
067_TripAdvisor
What is the total number of reviews?
20000.0
number
[]
[]
20.0
067_TripAdvisor
What is the highest number of users that has labeled a single review as helpful?
66.0
number
[]
[]
5.0
067_TripAdvisor
What is the average number of helpful votes?
1.1509
number
[]
[]
0.7999
067_TripAdvisor
What is the length of the longest text of a review (in chars)?
12592
number
[]
[]
5463
067_TripAdvisor
What is the year of the first review made?
2002
number
[]
[]
2004
067_TripAdvisor
How many reviews did family fun guru write?
1
number
[]
[]
1
067_TripAdvisor
What is the sum of all helpful votes for these reviews?
23020
number
[]
[]
16
067_TripAdvisor
List the top 4 years according to the number of reviews.
[2012, 2011, 2010, 2009]
list[number]
[]
[]
[2012, 2010, 2011, 2009]
067_TripAdvisor
List the 5 (non-unique) highest values of `num_helpful_votes`.
[66, 52, 47, 44, 43]
list[number]
[]
[]
[5, 3, 2, 2, 1]
067_TripAdvisor
List the usernames of the authors who provided a username and wrote more than 3 reviews. If there are none answer with an empty list.
['Manny S', 'David S','ZP83','palmsprings0']
list[category]
[]
[]
[]
067_TripAdvisor
List the usernames of the authors who provided a username and wrote more than 4 reviews. If there are none answer with an empty list.
['Manny S']
list[category]
[]
[]
[]
067_TripAdvisor
List the 5 largest non-unique (they can be repeated) offering IDs.
[3523356, 3236579, 3235844, 3235844, 3235844]
list[number]
[]
[]
[1164645, 643970, 281828, 262330, 258705]
067_TripAdvisor
List the 4 most common years a guest stayed at a property.
['2012', '2011', '2010', '2009']
list[category]
[]
[]
['2011', '2012', '2010', '2009']
067_TripAdvisor
Does any entry in the dataset have a supplier contract greater than one million dollars?
True
boolean
[]
[]
False
068_WorldBank_Awards
Is there any region which was awarded only one contract?
False
boolean
[]
[]
False
068_WorldBank_Awards
Is India amongst the borrower countries?
True
boolean
[]
[]
False
068_WorldBank_Awards
Is India the borrower country with the most contracts awarded?
True
boolean
[]
[]
False
068_WorldBank_Awards
Is there any project where the review is made before its execution?
True
boolean
[]
[]
True
068_WorldBank_Awards
Is there any project where the review is made after its execution?
True
boolean
[]
[]
True
068_WorldBank_Awards
Is any supplier from the US?
True
boolean
[]
[]
False
068_WorldBank_Awards
What is the most frequent method of procurement for a given contract?
Request for Quotations
category
[]
[]
Request for Quotations
068_WorldBank_Awards
Which region has the most contracts?
SOUTH ASIA
category
[]
[]
Western and Central Africa
068_WorldBank_Awards
What is the longest name amongst the countries which have borrowed money?
Lao People's Democratic Republic
category
[]
[]
Micronesia, Federated States of
068_WorldBank_Awards
What is the procurement category associated with the largest contract?
Civil Works
category
[]
[]
Consultant Services
068_WorldBank_Awards
Which region has the largest contracts on average?
EUROPE AND CENTRAL ASIA
category
[]
[]
Eastern and Southern Africa
068_WorldBank_Awards
Who is the most frequent country of borrowers present in the dataset?
India
category
[]
[]
Burkina Faso
068_WorldBank_Awards
Which global project practice would appear first if we sorted the columnn from A to Z?
Agriculture, Fishing and Forestry
category
[]
[]
Agriculture, Fishing and Forestry
068_WorldBank_Awards
How big is the biggest contract in the dataset? Answer in USD.
812960107.83
number
[]
[]
800433.3
068_WorldBank_Awards
How many different fiscal years the contracts belong to?
9.0
number
[]
[]
3.0
068_WorldBank_Awards
What is the total number of procurements in the dataset?
239461.0
number
[]
[]
20.0
068_WorldBank_Awards
How big is the average procurement across all entries?
530724.5038668092
number
[]
[]
164490.6105
068_WorldBank_Awards
Assuming supplier IDs are assigned from lowest to highest, what is the ID of the oldest supplier present in the dataset?
427.0
number
[]
[]
477763.0
068_WorldBank_Awards
What is the standard deviation of the contracts awarded?
5652503.36
number
[]
[]
224496.80
068_WorldBank_Awards
What is the total number of supplier contracts in the 2024 fiscal year?
27051
number
[]
[]
13
068_WorldBank_Awards
List the 3 quantities of usd associated with the top 3 biggest contracts.
[812960107.83, 616609217.47, 577047623.48]
list[number]
[]
[]
[800433.3, 716716.34, 369866.76]
068_WorldBank_Awards
Are there contracts awarded after the 2020 fiscal year had ended?
True
boolean
[]
[]
True
068_WorldBank_Awards
Assuming new suppliers get the last assigned id + 1, what are the unique IDs of the earliest 5 different suppliers we have in the dataset?
[427.0, 832.0, 1418.0, 2530.0, 3058.0 ]
list[number]
[]
[]
[477763.0, 552271.0, 754040.0, 783608.0, 841649.0]
068_WorldBank_Awards