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 |
---|---|---|---|---|---|---|
Who are the artists of the bottom 5 ranked songs?
|
['marvin gaye', 'wilson pickett', 'neil diamond', 'jerry butler', 'the beatles']
|
list[category]
|
['Rank', 'Artist']
|
['number[uint8]', 'category']
|
['don henley', 'lady antebellum', 'the who', 'aerosmith', 'the dave clark five']
|
035_Billboard
|
What are the ranks of the top 3 songs with the most occurrences of the word 'love' in their lyrics?
|
[64, 41, 28]
|
list[number]
|
['Rank', 'Lyrics']
|
['number[uint8]', 'text']
|
[11, 2, 5]
|
035_Billboard
|
What are the years of production of the bottom 4 ranked songs?
|
[1965, 1966, 1967, 1968]
|
list[number]
|
['Rank', 'Year']
|
['number[uint8]', 'number[uint16]']
|
[1989, 2010, 1971, 1989]
|
035_Billboard
|
What are the ranks of the 2 songs produced in the earliest year?
|
[1, 2]
|
list[number]
|
['Rank', 'Year']
|
['number[uint8]', 'number[uint16]']
|
[80, 34]
|
035_Billboard
|
What are the years of production of the top 5 songs with the longest lyrics?
|
[1998, 2009, 2010, 2007, 2002]
|
list[number]
|
['Year', 'Lyrics']
|
['number[uint16]', 'text']
|
[2013, 1973, 1988, 1994, 2005]
|
035_Billboard
|
Is the song with the highest rank from 1965 by the Beatles?
|
False
|
boolean
|
['Rank', 'Year', 'Artist']
|
['number[uint8]', 'number[uint16]', 'category']
|
False
|
035_Billboard
|
Which artist has the song with the highest rank in 1965?
|
sam the sham and the pharaohs
|
category
|
['Rank', 'Year', 'Artist']
|
['number[uint8]', 'number[uint16]', 'category']
|
wayne fontana the mindbenders
|
035_Billboard
|
Who are the artists of the top 3 songs in 1965?
|
['sam the sham and the pharaohs', 'four tops', 'the beach boys']
|
list[category]
|
['Rank', 'Year', 'Artist']
|
['number[uint8]', 'number[uint16]', 'category']
|
['wayne fontana the mindbenders', 'the dave clark five']
|
035_Billboard
|
What are the years of production of the top 3 songs with the word 'love' in their lyrics by the Beatles?
|
[1967, 1965, 1966]
|
list[number]
|
['Year', 'Lyrics', 'Artist']
|
['number[uint16]', 'text', 'category']
|
[]
|
035_Billboard
|
Are there records where the 'count' exceeds 20,000?
|
True
|
boolean
|
['count']
|
['number[uint16]']
|
False
|
036_US
|
Do we have any records originating from 'Jefferson'?
|
True
|
boolean
|
['name_origin']
|
['category']
|
True
|
036_US
|
Are there destinations with the name 'Baldwin'?
|
True
|
boolean
|
['name_dest']
|
['category']
|
False
|
036_US
|
Are there records where the latitude of the destination is greater than 60?
|
True
|
boolean
|
['lat_dest']
|
['number[double]']
|
False
|
036_US
|
How many unique destinations are there in the dataset?
|
3219
|
number
|
['dest']
|
['number[uint32]']
|
20
|
036_US
|
On average, how many times is each origin-destination pair reported?
|
67.7453798126951
|
number
|
['count']
|
['number[uint16]']
|
17.55
|
036_US
|
What's the highest count value in the dataset?
|
40580
|
number
|
['count']
|
['number[uint16]']
|
66
|
036_US
|
How many unique origin names are there in the dataset?
|
1904
|
number
|
['name_origin']
|
['category']
|
17
|
036_US
|
From which origin do we have the highest 'count' recorded?
| null |
category
|
['count', 'name_origin']
|
['number[uint16]', 'category']
|
18077
|
036_US
|
To which destination do we find the highest 'count' reported?
|
Los Angeles
|
category
|
['count', 'name_dest']
|
['number[uint16]', 'category']
|
6001
|
036_US
|
Which origin has the lowest latitude?
|
Guáanica
|
category
|
['lat_origin', 'name_origin']
|
['number[double]', 'category']
|
Okaloosa
|
036_US
|
Which destination has the highest longitude?
|
Fajardo
|
category
|
['lon_dest', 'name_dest']
|
['number[double]', 'category']
|
Montgomery
|
036_US
|
What are the 3 origins with the highest average count?
|
['Los Angeles', 'New York', 'San Francisco']
|
list[category]
|
['name_origin', 'count']
|
['category', 'number[uint16]']
|
['Alameda', 'Douglas', 'Monroe']
|
036_US
|
Which are the 4 destinations with the lowest average count?
|
['Kalawao', 'Loving', 'Kenedy', 'Wheatland']
|
list[category]
|
['name_dest', 'count']
|
['category', 'number[uint16]']
|
['Dallas', 'Volusia', 'Madison', 'Delaware']
|
036_US
|
List the 5 origins with the highest average latitude values.
|
['North Slope', 'Northwest Arctic', 'Yukon-Koyukuk', 'Nome', 'Fairbanks North Star']
|
list[category]
|
['name_origin', 'lat_origin']
|
['category', 'number[double]']
|
['El Dorado', 'Delaware', 'San Mateo', 'Ashland', 'Dallas']
|
036_US
|
Which 2 origins have the lowest non-null average longitude values?
|
['Aleutians West', 'Nome']
|
list[category]
|
['name_origin', 'lon_origin']
|
['category', 'number[double]']
|
['Mason', 'Contra Costa']
|
036_US
|
List the highest 5 count values.
|
[40580, 39899, 38430, 28524, 24452]
|
list[number]
|
['count']
|
['number[uint16]']
|
[66, 35, 32, 30, 25]
|
036_US
|
What are the 3 highest latitude values for destinations?
|
[69.42718361, 69.42718361, 69.42718361]
|
list[number]
|
['lat_dest']
|
['number[double]']
|
[46.39399576, 46.27467409, 43.15268452]
|
036_US
|
Rank the lowest 4 longitude values for origins.
|
[-167.08526, -167.08526, -167.08526, -167.08526]
|
list[number]
|
['lon_origin']
|
['number[double]']
|
[-123.1229957, -121.8986791, -121.7629538, -119.6502747]
|
036_US
|
Which 6 destination IDs have the highest average counts?
|
[6037, 36061, 48201, 6059, 6071, 6085]
|
list[number]
|
['dest', 'count']
|
['number[uint32]', 'number[uint16]']
|
[6001, 20045, 36055, 13035, 26103, 55003]
|
036_US
|
Are there talks with more than a million views?
|
True
|
boolean
|
['views']
|
['number[uint32]']
|
True
|
037_Ted
|
Is there a talk by 'Elon Musk'?
|
True
|
boolean
|
['speaker_1']
|
['category']
|
False
|
037_Ted
|
Are there any TEDx events included?
|
True
|
boolean
|
['event']
|
['category']
|
True
|
037_Ted
|
Are there talks available in more than 10 languages?
|
True
|
boolean
|
['available_lang']
|
['list[category]']
|
True
|
037_Ted
|
How many unique speakers are there in the dataset?
|
3274
|
number
|
['speaker_1']
|
['category']
|
20
|
037_Ted
|
What's the average number of views for the talks?
|
2148005.5737827714
|
number
|
['views']
|
['number[uint32]']
|
1502352.85
|
037_Ted
|
What's the maximum duration of a talk (in seconds)?
|
3922
|
number
|
['duration']
|
['number[uint16]']
|
1523
|
037_Ted
|
How many talks have more than 500 comments?
|
186
|
number
|
['comments']
|
['number[UInt16]']
|
2
|
037_Ted
|
Which event has the highest average views?
|
TEDxPuget Sound
|
category
|
['event', 'views']
|
['category', 'number[uint32]']
|
TEDxRainier
|
037_Ted
|
Which speaker's talk has the most comments?
|
Richard Dawkins
|
category
|
['speaker_1', 'comments']
|
['category', 'number[UInt16]']
|
'Suzana Herculano-Houzel'
|
037_Ted
|
Which talk's title has the least views?
|
Por qué necesitamos proteger el alta mar
|
category
|
['title', 'views']
|
['text', 'number[uint32]']
|
Online predators spread fake porn of me. Here's how I fought back
|
037_Ted
|
In which event was the longest talk held?
|
Countdown
|
category
|
['event', 'duration']
|
['category', 'number[uint16]']
|
TED1984
|
037_Ted
|
Which are the top 4 events with the highest average number of comments?
|
['TEDxPuget Sound', 'TEDxHouston', 'TEDxFiDiWomen', 'TEDxUW']
|
list[category]
|
['event', 'comments']
|
['category', 'number[UInt16]']
|
['TEDGlobal 2013', 'TED2016', 'TEDxRainier', 'TEDIndia 2009']
|
037_Ted
|
List the top 3 most frequent speakers in the dataset. If two have the same count go by alphabetical order.
|
['Alex Gendler', 'Iseult Gillespie', 'Emma Bryce']
|
list[category]
|
['speaker_1']
|
['category']
|
['Al Gore', 'Anand Agarawala', 'Andrés Ruzo']
|
037_Ted
|
Which 5 events have the shortest average talk durations?
|
['TEDxConcorde', 'Small Thing Big Idea', 'The TED Interview', 'TEDxConcordiaUPortland', 'The Way We Work']
|
list[category]
|
['event', 'duration']
|
['category', 'number[uint16]']
|
['TEDIndia 2009', 'TED2007', 'TED-Ed', 'TEDGlobal 2017', 'TEDxRainier']
|
037_Ted
|
List 2 events with the most number of talks.
|
['TED-Ed', 'TED2018']
|
list[category]
|
['event']
|
['category']
|
['TEDGlobal 2010', 'TEDxCanberra']
|
037_Ted
|
What are the top 4 most viewed talks' view counts?
|
[65051954, 57074270, 56932551, 49730580]
|
list[number]
|
['views']
|
['number[uint32]']
|
[3492293, 3082440, 2478498, 2438526]
|
037_Ted
|
List the 3 shortest talk durations in the dataset.
|
[60, 78, 78]
|
list[number]
|
['duration']
|
['number[uint16]']
|
[268, 279, 287]
|
037_Ted
|
What are the 5 highest number of comments?
|
[6449.0, 4931.0, 3424.0, 3006.0, 2984.0]
|
list[number]
|
['comments']
|
['number[UInt16]']
|
[1050, 624, 373, 170, 148]
|
037_Ted
|
List the view counts of the 6 least viewed talks.
|
[0, 0, 0, 0, 0, 0]
|
list[number]
|
['views']
|
['number[uint32]']
|
[195172, 310677, 451421, 477710, 779329, 887739]
|
037_Ted
|
Is it true that the oldest person in the dataset has a stroke?
|
True
|
boolean
|
['age', 'stroke']
|
['number[UInt8]', 'number[uint8]']
|
False
|
038_Stroke
|
Do all smokers have hypertension?
|
False
|
boolean
|
['smoking_status', 'hypertension']
|
['category', 'number[uint8]']
|
False
|
038_Stroke
|
Are all people with heart diseases married?
|
False
|
boolean
|
['heart_disease', 'ever_married']
|
['number[uint8]', 'category']
|
True
|
038_Stroke
|
Is the average glucose level higher for males than females?
|
True
|
boolean
|
['gender', 'avg_glucose_level']
|
['category', 'number[double]']
|
False
|
038_Stroke
|
How many people in the dataset have a stroke?
|
249
|
number
|
['stroke']
|
['number[uint8]']
|
1
|
038_Stroke
|
What is the average age of people who smoke?
|
47.09632446134347
|
number
|
['smoking_status', 'age']
|
['category', 'number[UInt8]']
|
50.333333333333336
|
038_Stroke
|
What is the highest glucose level recorded in the dataset?
|
271.74
|
number
|
['avg_glucose_level']
|
['number[double]']
|
143.43
|
038_Stroke
|
How many unique 'work_type' categories are there in the dataset?
|
5
|
number
|
['work_type']
|
['category']
|
4
|
038_Stroke
|
What is the most common work type among stroke patients?
|
Private
|
category
|
['stroke', 'work_type']
|
['number[uint8]', 'category']
|
Self-employed
|
038_Stroke
|
What is the smoking status of the youngest person in the dataset?
|
Unknown
|
category
|
['age', 'smoking_status']
|
['number[UInt8]', 'category']
|
Unknown
|
038_Stroke
|
What is the residence type of the person with the highest BMI?
|
Rural
|
category
|
['bmi', 'Residence_type']
|
['number[double]', 'category']
|
Urban
|
038_Stroke
|
What is the gender of the person with the lowest glucose level?
|
Female
|
category
|
['avg_glucose_level', 'gender']
|
['number[double]', 'category']
|
Female
|
038_Stroke
|
What are the top 3 work types among people with heart diseases?
|
['Private', 'Self-employed', 'Govt_job']
|
list[category]
|
['heart_disease', 'work_type']
|
['number[uint8]', 'category']
|
['Private']
|
038_Stroke
|
What are the 5 most common smoking statuses among people with a stroke?
|
['never smoked', 'formerly smoked', 'Unknown', 'smokes']
|
list[category]
|
['stroke', 'smoking_status']
|
['number[uint8]', 'category']
|
['Unknown']
|
038_Stroke
|
What are the top 2 residence types of people with hypertension?
|
['Rural', 'Urban']
|
list[category]
|
['hypertension', 'Residence_type']
|
['number[uint8]', 'category']
|
['Rural']
|
038_Stroke
|
What are the top 2 work types among people who have never married?
|
['Private', 'children']
|
list[category]
|
['ever_married', 'work_type']
|
['category', 'category']
|
['children', 'Self-employed']
|
038_Stroke
|
What are the oldest 5 ages of people with strokes?
|
[82.0, 82.0, 82.0, 82.0, 82.0]
|
list[number]
|
['stroke', 'age']
|
['number[uint8]', 'number[UInt8]']
|
[43.0]
|
038_Stroke
|
What are the 3 lowest BMIs among people who smoke?
|
[15.7, 16.7, 16.7]
|
list[number]
|
['smoking_status', 'bmi']
|
['category', 'number[double]']
|
[26.8, 34.1, 35.6]
|
038_Stroke
|
What are the top 4 glucose levels of people who have heart diseases?
|
[271.74, 254.63, 254.6, 252.72]
|
list[number]
|
['heart_disease', 'avg_glucose_level']
|
['number[uint8]', 'number[double]']
|
[62.2]
|
038_Stroke
|
What are the 6 highest ages of people who have never married?
|
[82.0, 82.0, 82.0, 82.0, 82.0, 82.0]
|
list[number]
|
['ever_married', 'age']
|
['category', 'number[UInt8]']
|
[51.0, 42.0, 31.0, 26.0, 10.0, 8.0]
|
038_Stroke
|
Are there any reflections with more than 10 sentences?
|
True
|
boolean
|
['num_sentence']
|
['number[uint8]']
|
False
|
039_Happy
|
Is there a reflection from 'USA' with over 5 sentences?
|
True
|
boolean
|
['country', 'num_sentence']
|
['category', 'number[uint8]']
|
False
|
039_Happy
|
Are there any reflections categorized as 'affection'?
|
True
|
boolean
|
['predicted_category']
|
['category']
|
True
|
039_Happy
|
Are there any married individuals who reflected on 'exercise'?
|
True
|
boolean
|
['marital', 'predicted_category']
|
['category', 'category']
|
False
|
039_Happy
|
How many unique reflection periods are there?
|
2
|
number
|
['reflection_period']
|
['category']
|
2
|
039_Happy
|
On average, how many sentences are there in the reflections?
|
1.3407668971005122
|
number
|
['num_sentence']
|
['number[uint8]']
|
1.05
|
039_Happy
|
What's the highest age of an individual in the dataset?
|
233.0
|
number
|
['age']
|
['number[UInt8]']
|
54.0
|
039_Happy
|
How many reflections are from 'IND'?
|
16729
|
number
|
['country']
|
['category']
|
2
|
039_Happy
|
Which country has the highest average number of sentences in their reflections?
|
UKR
|
category
|
['country', 'num_sentence']
|
['category', 'number[uint8]']
|
USA
|
039_Happy
|
Which gender has the most reflections categorized as 'affection'?
|
f
|
category
|
['gender', 'predicted_category']
|
['category', 'category']
|
f
|
039_Happy
|
From which country is the oldest individual who reflected?
|
USA
|
category
|
['country', 'age']
|
['category', 'number[UInt8]']
|
USA
|
039_Happy
|
Which marital status has the most reflections on 'bonding'?
|
single
|
category
|
['marital', 'predicted_category']
|
['category', 'category']
|
single
|
039_Happy
|
Which are the top 3 countries with the highest average number of sentences in their reflections?
|
['UKR', 'CRI', 'HKG']
|
list[category]
|
['country', 'num_sentence']
|
['category', 'number[uint8]']
|
['USA', 'IND']
|
039_Happy
|
List the 4 most common predicted categories in the dataset.
|
['affection', 'achievement', 'enjoy_the_moment', 'bonding']
|
list[category]
|
['predicted_category']
|
['category']
|
['affection', 'achievement', 'enjoy_the_moment', 'nature']
|
039_Happy
|
Which 5 countries have the youngest average age of reflectors?
|
['KAZ', 'ALB', 'LKA', 'MAR', 'SLV']
|
list[category]
|
['country', 'age']
|
['category', 'number[UInt8]']
|
['IND', 'USA']
|
039_Happy
|
List 2 genders with the most number of reflections.
|
['m', 'f']
|
list[category]
|
['gender']
|
['category']
|
['f', 'm']
|
039_Happy
|
What are the lowest 4 number of sentences?
|
[1, 1, 1, 1]
|
list[number]
|
['wid', 'num_sentence']
|
['number[uint16]', 'number[uint8]']
|
[1, 1, 1, 1]
|
039_Happy
|
List the 3 highest ages in the dataset.
|
[233.0, 233.0, 233.0]
|
list[number]
|
['age']
|
['number[UInt8]']
|
[54.0, 49.0, 48.0]
|
039_Happy
|
Which are the highest 5 number of sentences?
|
[69, 60, 58, 56, 53, 51]
|
list[number]
|
['num_sentence']
|
['number[uint8]']
|
[2, 1, 1, 1, 1]
|
039_Happy
|
List the age of the 6 youngest individuals in the dataset.
|
[2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0]
|
list[number]
|
['age']
|
['number[UInt8]']
|
[22.0, 22.0, 24.0, 24.0, 24.0, 26.0]
|
039_Happy
|
Is it true that the youngest participant has met their match?
|
False
|
boolean
|
['age', 'match']
|
['number[UInt8]', 'number[uint8]']
|
False
|
040_Speed
|
Do all people who got a match have the same race as their partner?
|
False
|
boolean
|
['match', 'samerace']
|
['number[uint8]', 'number[uint8]']
|
False
|
040_Speed
|
Are all participants who expected more than 5 matches male?
|
True
|
boolean
|
['expected_num_matches', 'gender']
|
['number[UInt8]', 'category']
|
True
|
040_Speed
|
Is the average age of participants who got a match higher than those who didn't?
|
False
|
boolean
|
['match', 'age']
|
['number[uint8]', 'number[UInt8]']
|
True
|
040_Speed
|
How many participants had a match?
|
1380
|
number
|
['match']
|
['number[uint8]']
|
4
|
040_Speed
|
What is the average age of participants who have the same race as their partner?
|
26.390236506973924
|
number
|
['samerace', 'age']
|
['number[uint8]', 'number[UInt8]']
|
28.0
|
040_Speed
|
What is the highest number of matches expected by any participant in the dataset?
|
18.0
|
number
|
['expected_num_matches']
|
['number[UInt8]']
|
9.0
|
040_Speed
|
How many unique 'race' categories are there in the dataset?
|
5
|
number
|
['race']
|
['category']
|
3
|
040_Speed
|
What is the most common race among participants who got a match?
|
european/caucasian-american
|
category
|
['match', 'race']
|
['number[uint8]', 'category']
|
european/caucasian-american
|
040_Speed
|
What is the gender of the youngest participant in the dataset?
|
male
|
category
|
['age', 'gender']
|
['number[UInt8]', 'category']
|
female
|
040_Speed
|
What is the race of the participant with the highest number of expected matches?
|
other
|
category
|
['expected_num_matches', 'race']
|
['number[UInt8]', 'category']
|
asian/pacific islander/asian-american
|
040_Speed
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.