Dataset Viewer
Auto-converted to Parquet Duplicate
db_id
stringclasses
69 values
question
stringlengths
24
277
evidence
stringlengths
0
673
SQL
stringlengths
30
728
question_id
int64
1
9.43k
justify
dict
tof
bool
1 class
movie_platform
State the most popular movie? When was it released and who is the director for the movie?
most popular movie refers to MAX(movie_popularity); when it was released refers to movie_release_year; director for the movie refers to director_name;
SELECT movie_title, movie_release_year, director_name FROM movies ORDER BY movie_popularity DESC LIMIT 1
1
{ "sql": [ "true", "true", "true", "true", "true" ], "evidence": [ "true", "true", "true", "true", "true" ] }
true
movie_platform
What is the average number of Mubi users who love movies directed by Stanley Kubrick?
average = AVG(movie_popularity); number of Mubi users who loves the movie refers to movie_popularity;
SELECT AVG(movie_popularity) FROM movies WHERE director_name = 'Stanley Kubrick'
4
{ "sql": [ "true", "true", "true", "true", "true" ], "evidence": [ "true", "true", "true", "true", "true" ] }
true
movie_platform
What is the average rating for movie titled 'When Will I Be Loved'?
average rating = DIVIDE((SUM(rating_score where movie_title = 'When Will I Be Loved')), COUNT(rating_score));
SELECT AVG(T2.rating_score) FROM movies AS T1 INNER JOIN ratings AS T2 ON T1.movie_id = T2.movie_id WHERE T1.movie_title = 'When Will I Be Loved'
5
{ "sql": [ "true", "true", "true", "true", "true" ], "evidence": [ "true", "true", "true", "true", "true" ] }
true
movie_platform
What is the user avatar url for user 41579158? What is the latest movie rated by him / her?
user avatar url refers to user_avatar_image_url; latest movie rated refers to latest rating_date;
SELECT T3.user_avatar_image_url, T3.rating_date_utc FROM movies AS T1 INNER JOIN ratings AS T2 ON T1.movie_id = T2.movie_id INNER JOIN ratings_users AS T3 ON T3.user_id = T2.user_id WHERE T3.user_id = 41579158 ORDER BY T3.rating_date_utc DESC LIMIT 1
6
{ "sql": [ "true", "true", "true", "true", "true" ], "evidence": [ "true", "true", "true", "true", "true" ] }
true
movie_platform
What is the percentage of the ratings were rated by user who was a subcriber?
user is a subscriber refers to user_subscriber = 1; percentage of ratings = DIVIDE(SUM(user_subscriber = 1), SUM(rating_score)) as percent;
SELECT CAST(SUM(CASE WHEN user_subscriber = 1 THEN 1 ELSE 0 END) AS REAL) * 100 / COUNT(*) FROM ratings
7
{ "sql": [ "true", "true", "true", "true", "true" ], "evidence": [ "true", "false", "false", "true", "true" ] }
true
movie_platform
List all movie title rated in April 2020 from user who was a trialist.
movie title rated in April 2020 refers to rating_timestamp_utc LIKE '%2020-04-%'; user is a trial list refers to user_trialist = 1;
SELECT T1.movie_title FROM movies AS T1 INNER JOIN ratings AS T2 ON T1.movie_id = T2.movie_id WHERE T2.user_trialist = 1 AND T2.rating_timestamp_utc LIKE '2020-04%'
8
{ "sql": [ "true", "false", "true", "false", "true" ], "evidence": [ "true", "true", "true", "true", "true" ] }
true
movie_platform
List ther users who gave the worst rating for movie 'Love Will Tear Us Apart'.
worst rating refers to rating_score = 1;
SELECT T1.user_id FROM ratings AS T1 INNER JOIN movies AS T2 ON T1.movie_id = T2.movie_id WHERE T2.movie_title = 'Love Will Tear Us Apart' AND T1.rating_score = 1
9
{ "sql": [ "true", "true", "true", "true", "true" ], "evidence": [ "true", "true", "true", "true", "true" ] }
true
movie_platform
List all movies with the best rating score. State the movie title and number of Mubi user who loves the movie.
best rating score refers to rating_score = 5; number of Mubi user who loves the movie refers to movie_popularity;
SELECT DISTINCT T2.movie_title, T2.movie_popularity FROM ratings AS T1 INNER JOIN movies AS T2 ON T1.movie_id = T2.movie_id WHERE T1.rating_score = 5
10
{ "sql": [ "true", "true", "true", "true", "true" ], "evidence": [ "true", "true", "true", "true", "true" ] }
true
movie_platform
For all movies where users left a critic, find the movie name, user, rating and critics comments from the user.
movies where users left a critic refers to critic IS NOT NULL; critic comments refers to critic;
SELECT T2.movie_title, T1.user_id, T1.rating_score, T1.critic FROM ratings AS T1 INNER JOIN movies AS T2 ON T1.movie_id = T2.movie_id WHERE T1.critic IS NOT NULL
12
{ "sql": [ "true", "true", "true", "true", "true" ], "evidence": [ "true", "true", "true", "true", "true" ] }
true
movie_platform
For movie titled 'Welcome to the Dollhouse', how many percentage of the ratings were rated with highest score.
rated with highest score refers to rating_score = 5; percentage = MULTIPLY(DIVIDE(SUM(rating_score = 5), COUNT(rating_score)), 100)
SELECT CAST(SUM(CASE WHEN T2.rating_score = 5 THEN 1 ELSE 0 END) AS REAL) * 100 / COUNT(*) FROM movies AS T1 INNER JOIN ratings AS T2 ON T1.movie_id = T2.movie_id WHERE T1.movie_title = 'Welcome to the Dollhouse'
13
{ "sql": [ "true", "true", "true", "true", "true" ], "evidence": [ "true", "true", "true", "true", "true" ] }
true
movie_platform
What is the percentage of rated movies were released in year 2021?
percentage = DIVIDE(SUM(movie_release_year = 2021), COUNT(rating_id)) as percent; movies released in year 2021 refers to movie_release_year = 2021;
SELECT CAST(SUM(CASE WHEN T1.movie_release_year = 2021 THEN 1 ELSE 0 END) AS REAL) * 100 / COUNT(*) FROM movies AS T1 INNER JOIN ratings AS T2 ON T1.movie_id = T2.movie_id
14
{ "sql": [ "true", "true", "true", "true", "true" ], "evidence": [ "true", "true", "true", "true", "true" ] }
true
movie_platform
Who is the director of the movie Sex, Drink and Bloodshed?
Sex, Drink and Bloodshed refers to movie title = 'Sex, Drink and Bloodshed';
SELECT director_name FROM movies WHERE movie_title = 'Sex, Drink and Bloodshed'
15
{ "sql": [ "true", "true", "true", "true", "true" ], "evidence": [ "true", "true", "true", "true", "true" ] }
true
movie_platform
What is the name of the most followed list?
most followed list refers to MAX(list_followers);
SELECT list_title FROM lists ORDER BY list_followers DESC LIMIT 1
16
{ "sql": [ "true", "true", "true", "true", "true" ], "evidence": [ "true", "true", "true", "true", "true" ] }
true
movie_platform
What is the list ID that was first created by user 85981819?
first created list refers to oldest list_creation_date_utc;
SELECT list_id FROM lists_users WHERE user_id = 85981819 ORDER BY list_creation_date_utc ASC LIMIT 1
18
{ "sql": [ "true", "true", "true", "true", "true" ], "evidence": [ "true", "true", "true", "true", "true" ] }
true
movie_platform
For movie id 1269, how many users, who was a paying subscriber and was eligible for trial when he rated the movie, gave the movie a rating score of less than or equal to 2?
paying subscriber refers to user_has_payment_method = 1; eligible for trial refers to user_eligible_for_trial = 1; rating_score< = 2;
SELECT COUNT(*) FROM ratings WHERE movie_id = 1269 AND rating_score <= 2 AND user_eligible_for_trial = 1 AND user_has_payment_method = 1
19
{ "sql": [ "true", "true", "true", "true", "true" ], "evidence": [ "true", "true", "true", "true", "true" ] }
true
movie_platform
What are the movie popularity of the movies released in 2021 that were directed by Steven Spielberg? List the names of the movies and their corresponding popularity.
movie released in 2021 refers to movie_release_year = 2021; popularity refers to movie_popularity;
SELECT movie_title, movie_popularity FROM movies WHERE movie_release_year = 2021 AND director_name = 'Steven Spielberg'
20
{ "sql": [ "true", "true", "true", "true", "true" ], "evidence": [ "true", "true", "true", "true", "true" ] }
true
movie_platform
When was the first movie released and who directed it?
first movie refers to oldest movie_release_year;
SELECT movie_release_year, director_name FROM movies WHERE movie_release_year IS NOT NULL ORDER BY movie_release_year ASC LIMIT 1
21
{ "sql": [ "true", "true", "true", "true", "true" ], "evidence": [ "true", "true", "true", "true", "true" ] }
true
movie_platform
What is the user ID of the user, who was a subscriber when he created the list, who created a list for 10 consecutive years? If there are multiple users, indicate each of their user IDs.
user was a subscriber when he created the list refers to user_subscriber = 1; user who created a list for 10 consecutive years refers to user_id with list_creation_date_utc for 10 succeeding years;
SELECT user_id FROM lists_users WHERE user_subscriber = 1 GROUP BY user_id HAVING MAX(SUBSTR(list_creation_date_utc, 1, 4)) - MIN(SUBSTR(list_creation_date_utc, 1, 4)) >= 10
22
{ "sql": [ "true", "true", "true", "true", "true" ], "evidence": [ "true", "true", "true", "true", "true" ] }
true
movie_platform
Which year was the third movie directed by Quentin Tarantino released? Indicate the user ids of the user who gave it a rating score of 4.
third movie refers to third movie that has oldest movie_release_year;
SELECT T2.movie_release_year, T1.user_id FROM ratings AS T1 INNER JOIN movies AS T2 ON T1.movie_id = T2.movie_id WHERE T1.movie_id = ( SELECT movie_id FROM movies WHERE director_name = 'Quentin Tarantino' ORDER BY movie_release_year ASC LIMIT 2, 1 ) AND T1.rating_score = 4
25
{ "sql": [ "true", "true", "true", "true", "true" ], "evidence": [ "true", "true", "true", "true", "true" ] }
true
movie_platform
What is the URL to the movie director page on Mubi of the director whose movie was critic by user 2452551 and was given 39 likes?
URL to the movie director page on Mubi refers to director_url; likes refers to critic_likes; critic_likes = 39;
SELECT T2.director_url FROM ratings AS T1 INNER JOIN movies AS T2 ON T1.movie_id = T2.movie_id WHERE T1.user_id = 2452551 AND T1.critic_likes = 39
26
{ "sql": [ "true", "true", "true", "true", "true" ], "evidence": [ "true", "true", "true", "true", "true" ] }
true
movie_platform
What is the average rating score of the movie "When Will I Be Loved" and who was its director?
average rating score = AVG(rating_score);
SELECT AVG(T1.rating_score), T2.director_name FROM ratings AS T1 INNER JOIN movies AS T2 ON T1.movie_id = T2.movie_id WHERE T2.movie_title = 'When Will I Be Loved'
27
{ "sql": [ "true", "true", "true", "true", "true" ], "evidence": [ "true", "true", "true", "true", "true" ] }
true
movie_platform
How many movies were added to the list with the most number of movies? Indicate whether the user was a paying subscriber or not when he created the list.
list with the most number of movies refers to MAX(list_movie_number); user_has_payment_method = 1 means the user was a paying subscriber when he created the list; user_has_payment_method = 0 means the user was not a paying subscriber when he created the list;
SELECT T1.list_movie_number, T2.user_has_payment_method FROM lists AS T1 INNER JOIN lists_users AS T2 ON T1.list_id = T2.list_id ORDER BY T1.list_movie_number DESC LIMIT 1
28
{ "sql": [ "true", "true", "true", "true", "true" ], "evidence": [ "true", "true", "true", "true", "true" ] }
true
movie_platform
What is the name of the movie whose critic received the highest number of likes related to the critic made by the user rating the movie?
number of likes received refers to critic likes; received the highest number of likes refers to MAX(critic_likes);
SELECT T2.movie_title FROM ratings AS T1 INNER JOIN movies AS T2 ON T1.movie_id = T2.movie_id ORDER BY T1.critic_likes DESC LIMIT 1
29
{ "sql": [ "true", "true", "true", "true", "false" ], "evidence": [ "true", "true", "true", "true", "true" ] }
true
movie_platform
How much is the popularity of the movie that has the highest popularity between 1920 to 1929 and when did the movie received its first rating score of 1 from the users who were a paying subscriber when they rated the movie ?
movie with highest popularity refers to MAX(movie_popularity); movie_release_year BETWEEN 1920 AND 1929; when the movie received its first rating score of 1 refers to oldest date in rating_timestamp_utc where rating score = 1; user was a paying subscriber when they rated the movie refers to user_has_payment_method = 1;
SELECT MAX(T2.movie_popularity), MIN(T1.rating_timestamp_utc) FROM ratings AS T1 INNER JOIN movies AS T2 ON T1.movie_id = T2.movie_id WHERE T2.movie_release_year BETWEEN 1920 AND 1929 AND T1.rating_score = 1 AND T1.user_has_payment_method = 1
30
{ "sql": [ "true", "true", "false", "true", "false" ], "evidence": [ "true", "true", "true", "true", "true" ] }
true
movie_platform
How many users, who were a paying subscriber when they rated the movie, gave the movie that was released in 1924 and directed by Erich von Stroheim a rating score of 5?
Directed by Buster Keaton refers to director_name; released in 1924 refers to movie_release_year = 1924; paying subscriber refers to user_has_payment_method = 1
SELECT COUNT(T2.user_id) FROM movies AS T1 INNER JOIN ratings AS T2 ON T1.movie_id = T2.movie_id WHERE T1.movie_release_year = 1924 AND T1.director_name = 'Erich von Stroheim' AND T2.rating_score = 5 AND T2.user_has_payment_method = 1
35
{ "sql": [ "true", "true", "true", "true", "true" ], "evidence": [ "true", "true", "true", "true", "true" ] }
true
movie_platform
What is the average number of movies added to the lists of user 8516503? Give the user profile image URL on Mubi.
user profile image URL refers to user_avatar_image_url; user 8516503 refers to user_id; Average refers to AVG(list_movie_number where user_id = 8516503)
SELECT AVG(T1.list_movie_number), T2.user_avatar_image_url FROM lists AS T1 INNER JOIN lists_users AS T2 ON T1.list_id = T2.list_id AND T1.user_id = T2.user_id WHERE T2.user_id = 8516503
36
{ "sql": [ "true", "true", "true", "true", "true" ], "evidence": [ "false", "true", "true", "true", "true" ] }
true
movie_platform
What is the URL to the rating on Mubi of the Riff-Raff movie that was given the highest rating score by user 22030372?
URL refer to rating_url; user 22030372 refer to user_id
SELECT T2.rating_url FROM movies AS T1 INNER JOIN ratings AS T2 ON T1.movie_id = T2.movie_id WHERE T2.user_id = 22030372 AND T2.rating_score = 5 AND T1.movie_title = 'Riff-Raff'
39
{ "sql": [ "true", "true", "true", "true", "true" ], "evidence": [ "true", "true", "true", "true", "true" ] }
true
movie_platform
How many users, who were not a a trialist when they rated the movie, gave the movie "The South" a rating score of not more than 2?
not a trialist refer to user_trialist = 0; rating score of not more than 2 refer to rating_score <2; The South refers to movie_title
SELECT COUNT(T2.user_id) FROM movies AS T1 INNER JOIN ratings AS T2 ON T1.movie_id = T2.movie_id WHERE T2.user_trialist = 0 AND T2.rating_score <= 2 AND T1.movie_title = 'The South'
41
{ "sql": [ "true", "true", "true", "true", "true" ], "evidence": [ "true", "true", "true", "false", "true" ] }
true
movie_platform
What is the average rating score of the movie "The Crowd" and who was its director?
director refer to director_name; The Crowd refer to movie_title; Average refer to AVG(rating_score)
SELECT AVG(T2.rating_score), T1.director_name FROM movies AS T1 INNER JOIN ratings AS T2 ON T1.movie_id = T2.movie_id WHERE T1.movie_title = 'The Crowd'
43
{ "sql": [ "true", "true", "true", "true", "true" ], "evidence": [ "true", "true", "true", "true", "true" ] }
true
movie_platform
How many movies have a popularity of more than 400 but less than 500? Indicate the name of the movies and the highest rating score each movie has received.
popularity of more than 400 but less than 500 refers to movie_popularity BETWEEN 400 AND 500; highest rating score refer to MAX(rating_score)
SELECT T1.movie_title, MAX(T2.rating_score) FROM movies AS T1 INNER JOIN ratings AS T2 ON T1.movie_id = T2.movie_id WHERE T1.movie_popularity BETWEEN 400 AND 500 GROUP BY T1.movie_title
45
{ "sql": [ "true", "true", "true", "true", "true" ], "evidence": [ "true", "true", "true", "true", "true" ] }
true
movie_platform
What is the URL to the rating on Mubi made by user 45579900 for the movie "The Vertical Ray of the Sun" that received 20 likes?
URL refer to rating_url; 20 likes refer to critic_likes = ’20’; user 45579900 refer to user_id
SELECT T2.rating_url FROM movies AS T1 INNER JOIN ratings AS T2 ON T1.movie_id = T2.movie_id WHERE T2.user_id = 45579900 AND T1.movie_title = 'The Vertical Ray of the Sun' AND T2.critic_likes = 20
46
{ "sql": [ "true", "true", "true", "true", "true" ], "evidence": [ "true", "true", "true", "true", "true" ] }
true
movie_platform
What's the description for the movie list "Short and pretty damn sweet"?
Short and pretty damn sweet is list_title; description refers to list_description;
SELECT list_description FROM lists WHERE list_title = 'Short and pretty damn sweet'
51
{ "sql": [ "true", "true", "true", "true", "true" ], "evidence": [ "true", "true", "true", "true", "true" ] }
true
movie_platform
Where can I find the movie list "Short and pretty damn sweet"?
Short and pretty damn sweet is list_title; location of the movie refers to list_url;
SELECT list_url FROM lists WHERE list_title = 'Short and pretty damn sweet'
52
{ "sql": [ "true", "true", "true", "true", "true" ], "evidence": [ "true", "true", "true", "true", "true" ] }
true
movie_platform
Among the movie lists created after 2010/1/1, how many of them have over 200 followers?
created after 2010/1/1 refers to list_update_timestamp_utc>'2010/1/1'; over 200 followers refers to list_followers>200;
SELECT COUNT(*) FROM lists WHERE list_followers > 200 AND list_update_timestamp_utc > '2010-01-01'
53
{ "sql": [ "true", "true", "true", "true", "true" ], "evidence": [ "true", "true", "true", "true", "true" ] }
true
movie_platform
How many movie lists were created by user 83373278 when he or she was a subscriber?
the user was a subscriber when he created the list refers to user_subscriber = 1; user 83373278 refers to user_id = 83373278;
SELECT COUNT(*) FROM lists_users WHERE user_id = 83373278 AND user_subscriber = 1
54
{ "sql": [ "true", "true", "true", "true", "true" ], "evidence": [ "true", "true", "true", "true", "true" ] }
true
movie_platform
In which year was the movie "La Antena" released?
movie La Antena refers to movie_title = 'La Antena'; which year refers to movie_release_year;
SELECT movie_release_year FROM movies WHERE movie_title = 'La Antena'
55
{ "sql": [ "true", "true", "true", "true", "true" ], "evidence": [ "true", "true", "true", "true", "true" ] }
true
movie_platform
Please give me the url of the movie "La Antena".
movie La Antena refers to movie_title = 'La Antena'; url refers to movie_url;
SELECT movie_url FROM movies WHERE movie_title = 'La Antena'
56
{ "sql": [ "true", "true", "true", "true", "true" ], "evidence": [ "true", "true", "true", "true", "true" ] }
true
movie_platform
Which movie is more popular, "The General" or "Il grido"?
The General and Il grido are movie_title; more popular movie refers to higher (movie_popularity);
SELECT movie_title FROM movies WHERE movie_title = 'The General' OR movie_title = 'Il grido' ORDER BY movie_popularity DESC LIMIT 1
57
{ "sql": [ "true", "true", "true", "true", "true" ], "evidence": [ "true", "true", "true", "true", "true" ] }
true
movie_platform
How many movies registered on Mubi are directed by Hong Sang-soo?
Hong Sang-soo is the name of director;
SELECT COUNT(movie_id) FROM movies WHERE director_name = 'Hong Sang-soo'
58
{ "sql": [ "true", "true", "true", "true", "true" ], "evidence": [ "true", "true", "true", "true", "true" ] }
true
movie_platform
Was the user who created the list "250 Favourite Films" a trialist when he or she created the list?
the user was a trialist when he created the list refers to user_trailist = 1; 250 Favourite Films is list_title;
SELECT T2.user_trialist FROM lists AS T1 INNER JOIN lists_users AS T2 ON T1.list_id = T2.list_id AND T1.user_id = T2.user_id WHERE T1.list_title = '250 Favourite Films'
59
{ "sql": [ "true", "true", "true", "true", "true" ], "evidence": [ "true", "true", "true", "true", "true" ] }
true
movie_platform
Please list the titles of the movie lists user 32172230 created when he or she was eligible for trial.
the user was eligible for trail when he created the list refers to user_eligile_for_trail = 1; user 32172230 refers to user_id = 32172230;
SELECT T1.list_title FROM lists AS T1 INNER JOIN lists_users AS T2 ON T1.list_id = T2.list_id AND T1.user_id = T2.user_id WHERE T1.user_id = 32172230 AND T2.user_eligible_for_trial = 1
60
{ "sql": [ "true", "true", "true", "true", "true" ], "evidence": [ "true", "true", "true", "true", "true" ] }
true
movie_platform
How many movie lists with over 100 movies had user 85981819 created when he or she was a paying subscriber?
the user was a paying subscriber when he created the list refers to user_has_payment_method = 1;  movie lists with over 100 refers to list_movie_number >100;  user 85981819 refers to user_id = 85981819;
SELECT COUNT(*) FROM lists AS T1 INNER JOIN lists_users AS T2 ON T1.list_id = T2.list_id AND T1.user_id = T2.user_id WHERE T1.user_id = 85981819 AND T1.list_movie_number > 100 AND T2.user_has_payment_method = 1
61
{ "sql": [ "true", "true", "true", "true", "true" ], "evidence": [ "true", "true", "true", "true", "true" ] }
true
movie_platform
What's the description of user 85981819's movie list with the most followers?
user 85981819 refers to user_id = 85981819; most followers refers to Max(list_followers); description refers to list_descriptions;
SELECT T1.list_description FROM lists AS T1 INNER JOIN lists_users AS T2 ON T1.list_id = T2.list_id AND T1.user_id = T2.user_id WHERE T1.user_id = 85981819 ORDER BY T1.list_followers DESC LIMIT 1
62
{ "sql": [ "true", "true", "true", "true", "true" ], "evidence": [ "true", "true", "true", "true", "true" ] }
true
movie_platform
When did the creator of the list "250 Favourite Films" last updated a movie list?
250 Favourite Films refers to list_title; last update refers to list_update_date_utc;
SELECT T2.list_update_date_utc FROM lists AS T1 INNER JOIN lists_users AS T2 ON T1.list_id = T2.list_id AND T1.user_id = T2.user_id WHERE T1.list_title = '250 Favourite Films' ORDER BY T2.list_update_date_utc DESC LIMIT 1
63
{ "sql": [ "true", "true", "false", "true", "true" ], "evidence": [ "true", "true", "true", "true", "true" ] }
true
movie_platform
What's the avatar image of the user who created the movie list "250 Favourite Films"?
250 Favourite Films refers to list_title; avatar image refers to user_avatar_image_url;
SELECT T2.user_avatar_image_url FROM lists AS T1 INNER JOIN lists_users AS T2 ON T1.list_id = T2.list_id AND T1.user_id = T2.user_id WHERE T1.list_title = '250 Favourite Films'
64
{ "sql": [ "true", "true", "true", "false", "true" ], "evidence": [ "true", "true", "true", "true", "true" ] }
true
movie_platform
How many users liked the movie "A Way of Life" to the highest extent?
like the movie highest to the extent refers to rating_score = 5; A Way of Life refers to movie_title;
SELECT COUNT(T1.user_id) FROM ratings AS T1 INNER JOIN movies AS T2 ON T1.movie_id = T2.movie_id WHERE T2.movie_title = 'A Way of Life' AND T1.rating_score = 5
66
{ "sql": [ "true", "true", "true", "true", "true" ], "evidence": [ "true", "true", "true", "true", "true" ] }
true
movie_platform
Please list all the critics made by the user rating the movie "A Way of Life".
A Way of Life refers to movie_title;
SELECT T1.critic FROM ratings AS T1 INNER JOIN movies AS T2 ON T1.movie_id = T2.movie_id WHERE T2.movie_title = 'A Way of Life'
67
{ "sql": [ "true", "true", "true", "true", "true" ], "evidence": [ "true", "true", "true", "true", "true" ] }
true
movie_platform
How many critics of the movie "Imitation of Life" got more than 1 like?
Imitation of Life refers to movie_title; critics got more than 1 like refers to critic_likes >1;
SELECT COUNT(*) FROM ratings AS T1 INNER JOIN movies AS T2 ON T1.movie_id = T2.movie_id WHERE T2.movie_title = 'Imitation of Life' AND T1.critic_likes > 1
68
{ "sql": [ "true", "true", "true", "true", "true" ], "evidence": [ "true", "true", "true", "true", "true" ] }
true
movie_platform
Which user made a critic for the film "When Will I Be Loved" and got 2 comments for the critic?
When Will I Be Loved refers to movie_title;  2 comments for the critic refers to critic_comments = 2;
SELECT T1.user_id FROM ratings AS T1 INNER JOIN movies AS T2 ON T1.movie_id = T2.movie_id WHERE T2.movie_title = 'When Will I Be Loved' AND T1.critic_comments = 2
69
{ "sql": [ "true", "true", "true", "true", "true" ], "evidence": [ "true", "true", "true", "true", "true" ] }
true
movie_platform
Was user 39115684 a trialist when he or she rated the movie "A Way of Life"?
A Way of Life' refers to movie_title; user 39115684 refers to userid = 39115684;  the user was a trialist when he rated the movie refers to user_trialist = 1;
SELECT T1.user_trialist FROM ratings AS T1 INNER JOIN movies AS T2 ON T1.movie_id = T2.movie_id WHERE T2.movie_title = 'A Way of Life' AND T1.user_id = 39115684
72
{ "sql": [ "true", "true", "true", "true", "true" ], "evidence": [ "true", "true", "true", "true", "true" ] }
true
movie_platform
Please list all the links to the ratings on the movie "A Way of Life" with a critic.
A Way of Life' refers to movie_title; with a critic refers to critic is not null, links to the ratings refers to rating_url;
SELECT T1.rating_url FROM ratings AS T1 INNER JOIN movies AS T2 ON T1.movie_id = T2.movie_id WHERE T2.movie_title = 'A Way of Life' AND T1.critic IS NOT NULL
74
{ "sql": [ "true", "true", "true", "true", "true" ], "evidence": [ "true", "true", "true", "true", "true" ] }
true
movie_platform
How many users have rated the most popular movie?
most popular refers to Max(movie_popularity);
SELECT COUNT(rating_id) FROM ratings WHERE movie_id = ( SELECT movie_id FROM movies ORDER BY movie_popularity DESC LIMIT 1 )
75
{ "sql": [ "true", "true", "true", "true", "true" ], "evidence": [ "true", "true", "true", "true", "true" ] }
true
movie_platform
User 58149469's critic on which film got 1 like and 2 comments?
user 58149469 refers to user_id = 58149469; critic with 1 like refers to critic_likes = 1; critic with 2 comments refers to critic_comments = 2;
SELECT T2.movie_title FROM ratings AS T1 INNER JOIN movies AS T2 ON T1.movie_id = T2.movie_id WHERE T1.user_id = 58149469 AND T1.critic_likes = 1 AND T1.critic_comments = 2
76
{ "sql": [ "true", "true", "true", "true", "true" ], "evidence": [ "true", "true", "true", "true", "true" ] }
true
movie_platform
Among the users who are trailists when rating the movie "When Will I Be Loved", how many of them have rated "1" on the movie?
When Will I Be Loved refers to movie_title; the user was a trialist when he rated the movie refers to user_trialist = 1;rated 1 on the movie refers to rating_score = 1;
SELECT COUNT(T1.user_id) FROM ratings AS T1 INNER JOIN movies AS T2 ON T1.movie_id = T2.movie_id WHERE T2.movie_title = 'When Will I Be Loved' AND T1.rating_score = 1 AND T1.user_trialist = 1
77
{ "sql": [ "true", "true", "true", "true", "true" ], "evidence": [ "true", "true", "true", "true", "true" ] }
true
movie_platform
What's of rating on the movie "Innocence Unprotected" by the user who created the movie list "250 Favourite Films"?
Innocence Unprotected' is movie_title; '250 Favourite Films' is list_title; rating refers to rating_score;
SELECT T1.rating_score FROM ratings AS T1 INNER JOIN movies AS T2 ON T1.movie_id = T2.movie_id INNER JOIN lists AS T3 ON T3.user_id = T1.user_id WHERE T2.movie_title = 'Innocence Unprotected' AND T3.list_title = '250 Favourite Films'
79
{ "sql": [ "true", "true", "false", "true", "true" ], "evidence": [ "true", "true", "true", "true", "true" ] }
true
movie_platform
Please list the movies rated by the user who created the movie list "250 Favourite Films".
250 Favourite Films' is list_title; movies refers to movie_title;
SELECT T2.movie_title FROM ratings AS T1 INNER JOIN movies AS T2 ON T1.movie_id = T2.movie_id INNER JOIN lists AS T3 ON T3.user_id = T1.user_id WHERE T3.list_title = '250 Favourite Films'
80
{ "sql": [ "true", "true", "false", "true", "false" ], "evidence": [ "true", "true", "true", "true", "true" ] }
true
movie_platform
What's the average rating score of the movie "A Way of Life"?
A Way of Life' is movie_title; average rating score = Divide (Sum(rating_score), Count(rating_id));
SELECT AVG(T1.rating_score) FROM ratings AS T1 INNER JOIN movies AS T2 ON T1.movie_id = T2.movie_id WHERE T2.movie_title = 'A Way of Life'
81
{ "sql": [ "true", "true", "true", "true", "true" ], "evidence": [ "true", "true", "true", "true", "true" ] }
true
movie_platform
What's the percentage of the users who have rated "1" on the movie "When Will I Be Loved"?
When Will I Be Loved' is movie_title; rated 1 refers to rating_score = 1; percentage = Divide(Count(rating_id where rating_score = 1),Count(rating_id)) *100;
SELECT CAST(SUM(CASE WHEN T1.rating_score = 1 THEN 1 ELSE 0 END) AS REAL) * 100 / COUNT(*) FROM ratings AS T1 INNER JOIN movies AS T2 ON T1.movie_id = T2.movie_id WHERE T2.movie_title = 'When Will I Be Loved'
82
{ "sql": [ "true", "true", "true", "true", "true" ], "evidence": [ "true", "true", "true", "true", "true" ] }
true
movie_platform
How much higher is the average rating score of the movie "Innocence Unprotected" than the movie "When Will I Be Loved"?
Innocence Unprotected' and 'When Will I Be Loved' are movie_title; Average rating score = Divide(Sum(rating_score), Count(rating_id));
SELECT SUM(CASE WHEN T2.movie_title = 'Innocence Unprotected' THEN T1.rating_score ELSE 0 END) / SUM(CASE WHEN T2.movie_title = 'Innocence Unprotected' THEN 1 ELSE 0 END) - SUM(CASE WHEN T2.movie_title = 'When Will I Be Loved' THEN T1.rating_score ELSE 0 END) / SUM(CASE WHEN T2.movie_title = 'When Will I Be Loved' THEN...
83
{ "sql": [ "true", "true", "true", "true", "true" ], "evidence": [ "true", "true", "true", "true", "true" ] }
true
movie_platform
Who was the director of the movie "Tokyo Eyes"?
Tokyo Eyes' is movie_title, director refers to director_name;
SELECT director_name FROM movies WHERE movie_title = 'Tokyo Eyes'
84
{ "sql": [ "true", "true", "true", "true", "true" ], "evidence": [ "true", "true", "true", "true", "true" ] }
true
movie_platform
How many films were released in 2007?
film released in 2007 refers to movie_release_year = 2007; film refers to movie
SELECT COUNT(*) FROM movies WHERE movie_release_year = 2007
85
{ "sql": [ "true", "true", "true", "true", "true" ], "evidence": [ "true", "true", "true", "true", "true" ] }
true
movie_platform
Which of the films released in 2006 was the most popular among Mubi users?
released in 2006 refers to movie_release_year = 2006; most popular refers to Max(movie_popularity); film refers to movie;
SELECT movie_title FROM movies WHERE movie_release_year = 2006 ORDER BY movie_popularity DESC LIMIT 1
86
{ "sql": [ "true", "true", "true", "true", "true" ], "evidence": [ "true", "true", "true", "true", "true" ] }
true
movie_platform
How many films did Åke Sandgren direct?
Ake Sandgren is the director name;  film refers to movie
SELECT COUNT(movie_title) FROM movies WHERE director_name = 'Åke Sandgren'
87
{ "sql": [ "true", "true", "true", "true", "true" ], "evidence": [ "true", "true", "true", "true", "true" ] }
true
movie_platform
When was the movie Cops released?
Cops' is movie_title; released refers to movie_release_year;
SELECT movie_release_year FROM movies WHERE movie_title = 'Cops'
89
{ "sql": [ "true", "true", "true", "true", "true" ], "evidence": [ "true", "true", "true", "true", "true" ] }
true
movie_platform
Please list the id of the director of the movie "It's Winter".
It's Winter' is movie_title;
SELECT director_id FROM movies WHERE movie_title = 'It''s Winter'
90
{ "sql": [ "true", "true", "true", "true", "true" ], "evidence": [ "true", "true", "true", "true", "true" ] }
true
movie_platform
Please provide the ID of the user with the most followers on the list.
most followers refers to Max(list_followers);
SELECT user_id FROM lists ORDER BY list_followers DESC LIMIT 1
91
{ "sql": [ "true", "true", "true", "true", "true" ], "evidence": [ "true", "true", "true", "true", "true" ] }
true
movie_platform
Which of the film released in 2008 scored the highest?
film released in 2008 refers to movie_release_year = 2008; scored the highest refers to Max(rating_score); film refers to movie;
SELECT T2.movie_title FROM ratings AS T1 INNER JOIN movies AS T2 ON T1.movie_id = T2.movie_id WHERE T2.movie_release_year = 2008 ORDER BY T1.rating_score DESC LIMIT 1
93
{ "sql": [ "true", "true", "true", "true", "true" ], "evidence": [ "true", "true", "true", "true", "true" ] }
true
movie_platform
Please list the names of the top three movies in the number of likes related to the critic made by the user rating the movie.
likes related to the critic made by the user rating the movie refers to critic_likes; top refers to Max(critic_likes);
SELECT T2.movie_title FROM ratings AS T1 INNER JOIN movies AS T2 ON T1.movie_id = T2.movie_id ORDER BY T1.critic_likes DESC LIMIT 3
94
{ "sql": [ "true", "true", "true", "true", "true" ], "evidence": [ "true", "true", "true", "true", "true" ] }
true
movie_platform
How many users in Mubi give the movie "White Night Wedding for 5"?
White Night Wedding' is movie_title; for 5 refers to rating_score = 5;
SELECT COUNT(T1.user_id) FROM ratings AS T1 INNER JOIN movies AS T2 ON T1.movie_id = T2.movie_id WHERE T1.rating_score = 5 AND T2.movie_title = 'White Night Wedding'
96
{ "sql": [ "true", "true", "true", "true", "true" ], "evidence": [ "true", "true", "true", "true", "true" ] }
true
movie_platform
What's the cover image of the user who created the movie list 'Georgia related films'?
Play it cool' is list_title; cover image of user refers to user_cover_image_url;
SELECT T1.user_cover_image_url FROM lists_users AS T1 INNER JOIN lists AS T2 ON T1.list_id = T2.list_id WHERE T2.list_title LIKE 'Georgia related films'
97
{ "sql": [ "true", "true", "true", "true", "true" ], "evidence": [ "false", "true", "true", "true", "true" ] }
true
movie_platform
How many followers does the list created by the user whose user_avatar_image_url is https://assets.mubicdn.net/images/avatars/74983/images-w150.jpg?1523895214 have?
followers refers to list_followers;
SELECT SUM(T2.list_followers) FROM lists_users AS T1 INNER JOIN lists AS T2 ON T1.list_id = T2.list_id WHERE T1.user_avatar_image_url = 'https://assets.mubicdn.net/images/avatars/74983/images-w150.jpg?1523895214'
98
{ "sql": [ "true", "true", "true", "true", "true" ], "evidence": [ "true", "true", "true", "true", "true" ] }
true
movie_platform
Please list the names of the movies that user 94978 scored as 5.
user 94978 refers to user_id = 94978; scored as 5 refers to rating_score = 5;
SELECT T2.movie_title FROM ratings AS T1 INNER JOIN movies AS T2 ON T1.movie_id = T2.movie_id WHERE T1.rating_score = 5 AND T1.user_id = 94978
99
{ "sql": [ "true", "true", "true", "true", "true" ], "evidence": [ "true", "true", "true", "true", "true" ] }
true
movie_platform
Please list the names of the films released in 2003 among the films scored by user 2941 .
released in 2003 refers to movie_release_year = 2003; user 2941 refers to user_id = 2941; film refers to movie;
SELECT T2.movie_title FROM ratings AS T1 INNER JOIN movies AS T2 ON T1.movie_id = T2.movie_id WHERE T2.movie_release_year = 2003 AND T1.user_id = 2941
100
{ "sql": [ "true", "true", "true", "true", "true" ], "evidence": [ "true", "true", "true", "true", "true" ] }
true
movie_platform
How many users were not trialists when they rated the movie "Patti Smith: Dream of Life"?
Patti Smith: Dream of Life' is movie_title; the user was not a trialist when he created the list refers to user_trialist = 0;
SELECT COUNT(T1.user_id) FROM ratings AS T1 INNER JOIN movies AS T2 ON T1.movie_id = T2.movie_id WHERE T2.movie_title = 'Patti Smith: Dream of Life' AND T1.user_trialist = 0
101
{ "sql": [ "true", "true", "true", "true", "true" ], "evidence": [ "true", "true", "true", "true", "true" ] }
true
movie_platform
Which movie has the highest average score in Mubi?
Highest average score refers to Max(Avg(rating_score));
SELECT T2.movie_title FROM ratings AS T1 INNER JOIN movies AS T2 ON T1.movie_id = T2.movie_id GROUP BY T2.movie_title ORDER BY SUM(T1.rating_score) / COUNT(T1.rating_id) DESC LIMIT 1
102
{ "sql": [ "true", "true", "true", "true", "true" ], "evidence": [ "true", "true", "true", "true", "true" ] }
true
movie_platform
Please list the names of the top three movies in the number comments related to the critic made by the user rating the movie.
number of comments related to the critic made by the user rating the movie refers to critic_comments; top movie refers to Max(critic_comments);
SELECT T2.movie_title FROM ratings AS T1 INNER JOIN movies AS T2 ON T1.movie_id = T2.movie_id ORDER BY T1.critic_comments DESC LIMIT 3
103
{ "sql": [ "true", "true", "true", "true", "true" ], "evidence": [ "true", "true", "true", "true", "true" ] }
true
movie_platform
What was the title of the first list created by a user 85981819? And please provide the user_avatar_image_url.
user 85981819 refers to user_id = 85981819;  first list created refers to Min (list_creation_date_utc);
SELECT T2.list_title, T1.user_avatar_image_url FROM lists_users AS T1 INNER JOIN lists AS T2 ON T1.list_id = T2.list_id WHERE T1.user_id = 85981819 ORDER BY T2.list_creation_timestamp_utc LIMIT 1
104
{ "sql": [ "true", "true", "true", "true", "true" ], "evidence": [ "true", "true", "true", "true", "true" ] }
true
movie_platform
What is the average score for the movie Versailles Rive-Gauche?
Versailles Rive-Gauche' is movie_title; average score refers to Avg(rating_score);
SELECT AVG(T1.rating_score) FROM ratings AS T1 INNER JOIN movies AS T2 ON T1.movie_id = T2.movie_id WHERE T2.movie_title LIKE 'Versailles Rive-Gauche'
106
{ "sql": [ "true", "true", "true", "true", "true" ], "evidence": [ "true", "true", "true", "true", "true" ] }
true
movie_platform
Which film rated by user 59988436 that received 21 comments?
user 59988436 refers to user_id = 59988436; received 21 comments refers to critic_comments = 21; film refers to movie;
SELECT T2.movie_title FROM ratings AS T1 INNER JOIN movies AS T2 ON T1.movie_id = T2.movie_id WHERE T1.user_id = 59988436 AND T1.critic_comments = 21
107
{ "sql": [ "true", "true", "true", "true", "true" ], "evidence": [ "true", "true", "true", "true", "true" ] }
true
movie_platform
Please list the names of the movies that received more than 20 likes?
received more than 20 likes refers to critic_likes>20;
SELECT T2.movie_title FROM ratings AS T1 INNER JOIN movies AS T2 ON T1.movie_id = T2.movie_id WHERE T1.critic_likes > 20
108
{ "sql": [ "true", "true", "true", "true", "true" ], "evidence": [ "true", "true", "true", "true", "true" ] }
true
movie_platform
What is the average score of the movie "The Fall of Berlin" in 2019?
The Fall of Berlin' is movie_title; in 2019 refers to rating_timestamp_utc = 2019; Average score refers to Avg(rating_score);
SELECT SUM(T1.rating_score) / COUNT(T1.rating_id) FROM ratings AS T1 INNER JOIN movies AS T2 ON T1.movie_id = T2.movie_id WHERE T1.rating_timestamp_utc LIKE '2019%' AND T2.movie_title LIKE 'The Fall of Berlin'
109
{ "sql": [ "true", "false", "true", "true", "true" ], "evidence": [ "true", "true", "true", "false", "true" ] }
true
movie_platform
What percentage of users rated the movie "Patti Smith: Dream of Life" by more than 3?
Patti Smith: Dream of Life' is movie_title; more than 3 refers to rating_score >3; percentage = Divide(Count(rating_score where rating_score >3), Count(rating_score))*100
SELECT CAST(SUM(CASE WHEN T1.rating_score > 3 THEN 1 ELSE 0 END) AS REAL) * 100 / COUNT(T1.rating_score) FROM ratings AS T1 INNER JOIN movies AS T2 ON T1.movie_id = T2.movie_id WHERE T2.movie_title LIKE 'Patti Smith: Dream of Life'
110
{ "sql": [ "true", "true", "true", "true", "true" ], "evidence": [ "true", "true", "true", "true", "true" ] }
true
movie_platform
Which of the film directed by director Abbas Kiarostami has the highest average score?
Abbas Kiarostami' is director_name; the highest Average score refers to Max(Avg(rating_score));
SELECT T2.movie_title FROM ratings AS T1 INNER JOIN movies AS T2 ON T1.movie_id = T2.movie_id WHERE T2.director_name = 'Abbas Kiarostami' GROUP BY T2.movie_title ORDER BY SUM(T1.rating_score) / COUNT(T1.rating_id) DESC LIMIT 1
111
{ "sql": [ "true", "true", "true", "true", "true" ], "evidence": [ "true", "true", "true", "true", "true" ] }
true
movie_platform
Which year had the most released films?
year refers to movie_release_year; most release films refers to MAX(COUNT(movie_id))
SELECT movie_release_year FROM movies GROUP BY movie_release_year ORDER BY COUNT(movie_id) DESC LIMIT 1
112
{ "sql": [ "true", "true", "true", "true", "true" ], "evidence": [ "true", "true", "true", "true", "true" ] }
true
movie_platform
Who is the director that made the most movies? Give the director's id.
director that made the most movies refers to MAX(COUNT(movie_id))
SELECT director_id FROM movies GROUP BY director_id ORDER BY COUNT(movie_id) DESC LIMIT 1
113
{ "sql": [ "true", "true", "true", "true", "true" ], "evidence": [ "true", "true", "true", "true", "true" ] }
true
movie_platform
How many movies did the director of the highest movie popularity make?
highest movie popularity refers to MAX(movie_popularity)
SELECT COUNT(movie_id) FROM movies WHERE director_id = ( SELECT director_id FROM movies ORDER BY movie_popularity DESC LIMIT 1 )
114
{ "sql": [ "true", "true", "true", "true", "true" ], "evidence": [ "true", "true", "true", "true", "true" ] }
true
movie_platform
What's the number of users gave the movie "Downfall" a rating of "4"?
movie "Downfall" refers to movie_title = 'Downfall'; rating of "4" refers to rating_score = 4
SELECT COUNT(T1.user_id) FROM ratings AS T1 INNER JOIN movies AS T2 ON T1.movie_id = T2.movie_id WHERE T2.movie_title = 'Downfall' AND T1.rating_score = 4
119
{ "sql": [ "true", "true", "true", "true", "true" ], "evidence": [ "true", "true", "true", "true", "true" ] }
true
movie_platform
Which movie got the most critic comments? Give the name of the movie.
name of the movie refers to movie_title; most critic comments refers to MAX(critic_comments)
SELECT T2.movie_title FROM ratings AS T1 INNER JOIN movies AS T2 ON T1.movie_id = T2.movie_id GROUP BY T2.movie_title ORDER BY COUNT(T1.critic_comments) DESC LIMIT 1
121
{ "sql": [ "true", "true", "true", "true", "true" ], "evidence": [ "true", "true", "true", "true", "true" ] }
true
movie_platform
Show the portrait picture of the user who created the list "Vladimir Vladimirovich Nabokov".
the list "Vladimir Vladimirovich Nabokov" refers to list_title = 'Vladimir Vladimirovich Nabokov'; portrait picture refers to user_avatar_image_url
SELECT T1.user_avatar_image_url FROM lists_users AS T1 INNER JOIN lists AS T2 ON T1.list_id = T2.list_id WHERE T2.list_title LIKE 'Vladimir Vladimirovich Nabokov'
123
{ "sql": [ "true", "true", "true", "false", "false" ], "evidence": [ "true", "true", "true", "true", "true" ] }
true
movie_platform
For the user who post the list that contained the most number of the movies, is he/she a paying subscriber when creating that list?
the list that contained the most number of the movies refers to MAX(list_movie_number); user_has_payment_method = 1 means the user was a paying subscriber when he created the list ; user_has_payment_method = 0 means the user was not a paying subscriber when he created the list
SELECT T1.user_has_payment_method FROM lists_users AS T1 INNER JOIN lists AS T2 ON T1.list_id = T2.list_id WHERE T2.list_movie_number = ( SELECT MAX(list_movie_number) FROM lists )
124
{ "sql": [ "true", "true", "true", "true", "true" ], "evidence": [ "true", "true", "true", "true", "true" ] }
true
movie_platform
How many critics were given to the movie that got the most movie popularity number.
most movie popularity number refers to MAX(movie_popularity)
SELECT COUNT(T1.critic) FROM ratings AS T1 INNER JOIN movies AS T2 ON T1.movie_id = T2.movie_id WHERE T2.movie_popularity = ( SELECT MAX(movie_popularity) FROM movies )
126
{ "sql": [ "true", "true", "true", "true", "true" ], "evidence": [ "true", "true", "true", "true", "true" ] }
true
movie_platform
Who gave a "4" rating to the movie "Freaks" at 2013/5/4 6:33:32? Give his/her user id.
4 rating refers to rating_score = 4; the movie "Freaks" refers to movie_title = 'Freaks' ; at 2013/5/4 6:33:32 refers to rating_timestamp_utc = '2013-05-04 06:33:32'
SELECT T1.user_id FROM ratings AS T1 INNER JOIN movies AS T2 ON T1.movie_id = T2.movie_id WHERE rating_score = 4 AND rating_timestamp_utc LIKE '2013-05-04 06:33:32' AND T2.movie_title LIKE 'Freaks'
127
{ "sql": [ "true", "true", "true", "true", "true" ], "evidence": [ "true", "true", "true", "true", "true" ] }
true
movie_platform
From all the movies that got more than 13000 popularity number, which one had the least ratings.
more than 13000 popularity number refers to movie_popularity > 13000; least ratings refers to MIN(rating_score)
SELECT T2.movie_title FROM ratings AS T1 INNER JOIN movies AS T2 ON T1.movie_id = T2.movie_id WHERE T2.movie_popularity > 13000 ORDER BY T1.rating_score LIMIT 1
130
{ "sql": [ "true", "true", "true", "true", "true" ], "evidence": [ "true", "true", "true", "true", "true" ] }
true
movie_platform
How many paying subscribers gave a rating to the movie "One Flew Over the Cuckoo's Nest"?
paying subscribers refer to user_has_payment_method = 1; movie "One Flew Over the Cuckoo's Nest" refers to movie_id = 'One Flew Over the Cuckoo''s Nest'
SELECT COUNT(T1.user_id) FROM ratings AS T1 INNER JOIN movies AS T2 ON T1.movie_id = T2.movie_id INNER JOIN ratings_users AS T3 ON T1.user_id = T3.user_id WHERE T2.movie_title = 'One Flew Over the Cuckoo''s Nest' AND T3.user_has_payment_method = 1
131
{ "sql": [ "true", "true", "true", "true", "true" ], "evidence": [ "true", "true", "true", "true", "true" ] }
true
movie_platform
For the lists that got more than 3000 followers, how many did the users who created those lists are paying subscribers?
got more than 3000 followers refers to list_followers > 3000; paying subscribers refer to user_has_payment_method = 1
SELECT COUNT(T1.user_id) FROM lists_users AS T1 INNER JOIN lists AS T2 ON T1.list_id = T2.list_id WHERE T2.list_followers > 3000 AND T1.user_has_payment_method = 1
132
{ "sql": [ "true", "true", "true", "true", "true" ], "evidence": [ "true", "true", "true", "true", "true" ] }
true
movie_platform
For all the movies that were released in 1995, how many lower than 3 ratings did the most popularity movie had?
released in 1995 refers to movie_release_year = '1995'; lower than 3 ratings refers to rating_score <3; most popularity movie refers to MAX(movie_popularity)
SELECT COUNT(T1.rating_score) FROM ratings AS T1 INNER JOIN movies AS T2 ON T1.movie_id = T2.movie_id WHERE T1.rating_score < 3 AND T2.movie_release_year = 1995 AND T2.movie_popularity = ( SELECT MAX(movie_popularity) FROM movies WHERE movie_release_year = 1995 )
134
{ "sql": [ "true", "true", "true", "true", "true" ], "evidence": [ "true", "true", "true", "true", "true" ] }
true
movie_platform
What is the percentage of users gave "5" to the movie "Go Go Tales"?
movie "Go Go Tales" refers to movie_title = 'Go Go Tales'; gave "5" refers to rating_score = 5; percentage refers to DIVIDE(COUNT(rating_score = 5),COUNT(rating_score))*100
SELECT CAST(SUM(CASE WHEN T1.rating_score = 5 THEN 1 ELSE 0 END) AS REAL) * 100 / COUNT(T1.user_id) FROM ratings AS T1 INNER JOIN movies AS T2 ON T1.movie_id = T2.movie_id WHERE T2.movie_title = 'Go Go Tales'
135
{ "sql": [ "true", "true", "true", "true", "true" ], "evidence": [ "true", "false", "true", "true", "true" ] }
true
movie_platform
Give the percentage of subscribers who rated who rated the movie "G.I. Jane".
movie "G.I. Jane" refers to movie_title = 'G.I. Jane'; subscribers refers to user_subscriber = 1; percentage refers to DIVIDE(COUNT(user_subscriber = 1),COUNT(user_subscriber))*100
SELECT CAST(SUM(CASE WHEN T3.user_subscriber = 1 THEN 1 ELSE 0 END) AS REAL) * 100 / COUNT(*) FROM ratings AS T1 INNER JOIN movies AS T2 ON T1.movie_id = T2.movie_id INNER JOIN lists_users AS T3 ON T1.user_id = T3.user_id WHERE T2.movie_title = 'G.I. Jane'
136
{ "sql": [ "true", "true", "true", "true", "true" ], "evidence": [ "true", "true", "true", "true", "true" ] }
true
movie_platform
For all the users who gave "A Shot in the Dark" a rating, how many percent of them is a paying subscriber?
"A Shot in the Dark" refers to movie_title = 'A Shot in the Dark'; paying subscriber refers to user_has_payment_method = 1; percentage refers to DIVIDE(COUNT(user_has_payment_method = 1),COUNT(user_has_payment_method))*100
SELECT CAST(SUM(CASE WHEN T1.user_has_payment_method = 1 THEN 1 ELSE 0 END) AS REAL) * 100 / COUNT(*) FROM ratings AS T1 INNER JOIN movies AS T2 ON T1.movie_id = T2.movie_id INNER JOIN lists_users AS T3 ON T1.user_id = T3.user_id WHERE T2.movie_title = 'A Shot in the Dark'
137
{ "sql": [ "false", "true", "true", "true", "true" ], "evidence": [ "true", "true", "true", "true", "true" ] }
true
movie_platform
What is the percentage of list created by user who was a subscriber when he created the list?
was a subscriber refers to user_subscriber = 1; percentage refers to DIVIDE(COUNT(user_subscriber = 1),COUNT(list_id))
SELECT CAST(SUM(CASE WHEN user_subscriber = 1 THEN 1 ELSE 0 END) AS REAL) * 100 / COUNT(list_id) FROM lists_users
140
{ "sql": [ "true", "true", "true", "true", "true" ], "evidence": [ "true", "true", "true", "true", "true" ] }
true
End of preview. Expand in Data Studio
README.md exists but content is empty.
Downloads last month
4