Chinastark/bird_dataset huggingface dataset:
Database: disney
Question: How many of Gary Trousdale's movies are adventure movies?
Evidence: Gary Trousdale refers director = 'Gary Trousdale'; the adventure movie refers to genre = 'Adventure';
SQL: SELECT COUNT(T.name) FROM ( SELECT T1.name FROM director AS T1 INNER JOIN movies_total_gross AS T2 ON T1.name = T2.movie_title WHERE T1.director = 'Gary Trousdale' AND T2.genre = 'Adventure' GROUP BY T1.name ) T
Database: disney
Question: Which director did Bill Thompson work the most with?
Evidence: Bill Thompson refers to voice-actor = 'Bill Thompson'; worked the most refers to MAX(COUNT(name));
SQL: SELECT director FROM director AS T1 INNER JOIN `voice-actors` AS T2 ON T1.name = T2.movie WHERE T2.`voice-actor` = 'Bill Thompson' GROUP BY director ORDER BY COUNT(director) DESC LIMIT 1
Database: disney
Question: What is the most popular movie directed by Ron Clements?
Evidence: Ron Clements refers to director = 'Ron Clements'; the most popular movie refers to movie_title where MAX(total_gross);
SQL: SELECT T2.name FROM movies_total_gross AS T1 INNER JOIN director AS T2 ON T2.name = T1.movie_title WHERE T2.director = 'Ron Clements' ORDER BY CAST(REPLACE(SUBSTR(total_gross, 2), ',', '') AS int) DESC LIMIT 1
Database: disney
Question: List all the voice actors in the movie directed by Ben Sharpsteen which was released on February 9, 1940.
Evidence: Ben Sharpsteen refers to director = 'Ben Sharpsteen'; released on February 9, 1940 refers to release_date = 'Feb 9, 1940';
SQL: SELECT T2.`voice-actor` FROM director AS T1 INNER JOIN `voice-actors` AS T2 INNER JOIN movies_total_gross AS T3 ON T1.name = T2.movie AND T2.movie = T3.movie_title WHERE T1.director = 'Ben Sharpsteen' AND T3.release_date = 'Feb 9, 1940' AND T2.`voice-actor` != 'None' GROUP BY T2.`voice-actor`
Database: disney
Question: How many PG adventure movies did Ron Clements direct?
Evidence: Ron Clements refers to director = 'Ron Clements'; PG is an abbreviation for parental guidance and refers to MPAA_rating = 'PG'; adventure movie refers to genre = 'Adventure';
SQL: SELECT COUNT(*) FROM director AS T1 INNER JOIN movies_total_gross AS T2 ON T1.name = T2.movie_title WHERE T1.director = 'Ron Clements' AND T2.MPAA_rating = 'PG' AND T2.genre = 'Adventure'
Database: disney
Question: How many horror movies are there?
Evidence: Horror refers to genre = 'Horror';
SQL: SELECT COUNT(movie_title) FROM `movies_total_gross` WHERE genre = 'Horror'
Database: disney
Question: Who is the villain in the movie "The Great Mouse Detective"?
Evidence: The Great Mouse Detective refers to movie_title = 'The Great Mouse Detective';
SQL: SELECT villian FROM characters WHERE movie_title = 'The Great Mouse Detective'
Database: disney
Question: List the voice actors from the movie "Meet the Robinsons".
Evidence: Meet the Robinsons refers to movie_title = 'Meet the Robinsons';
SQL: SELECT 'voice-actor' FROM `voice-actors` WHERE movie = 'Meet the Robinsons'
Database: disney
Question: Which director has made the most movies?
Evidence: the most movies refers to MAX(COUNT(name));
SQL: SELECT director, COUNT(name) FROM director GROUP BY director ORDER BY COUNT(name) DESC LIMIT 1
Database: disney
Question: From 2000 to 2010, in which year did the studio entertainment segment make the most revenue?
Evidence: From 2000 to 2010 refers to Year between 2000 and 2010; the most revenue refers to MAX("Studio Entertainment[NI 1]");
SQL: SELECT `Year` FROM revenue WHERE `Year` BETWEEN 2000 AND 2010 ORDER BY `Studio Entertainment[NI 1]` DESC LIMIT 1
Database: disney
Question: List all the songs associated with drama movies.
Evidence: drama refers to genre = 'Drama';
SQL: SELECT song FROM movies_total_gross AS T1 INNER JOIN characters AS T2 ON T1.movie_title = T2.movie_title WHERE T1.genre = 'Drama' GROUP BY song
Database: disney
Question: Who are the voice actors for all the heroes?
Evidence: FALSE;
SQL: SELECT T2.`voice-actor` FROM characters AS T1 INNER JOIN `voice-actors` AS T2 ON T2.character = T1.hero WHERE T2.movie = T1.movie_title
Database: disney
Question: Provide a list of directors from the 1990s.
Evidence: the 1990s refers to (cast(SUBSTR(release_date, instr(release_date, ', ') + 1) as int) between 1990 and 2000);
SQL: SELECT T2.director FROM movies_total_gross AS T1 INNER JOIN director AS T2 ON T1.movie_title = T2.name AND CAST(SUBSTR(release_date, INSTR(release_date, ', ') + 1) AS int) BETWEEN 1990 AND 2000 GROUP BY T2.director
Database: disney
Question: Who voiced the villain in "The Rescuers"?
Evidence: The Rescuers refers to movie_title = 'The Rescuers'; who voiced refers to voice-actor;
SQL: SELECT T1.`voice-actor` FROM `voice-actors` AS T1 INNER JOIN characters AS T2 ON T2.movie_title = T1.movie WHERE T2.movie_title = 'The Rescuers' AND T1.character = T2.villian
Database: disney
Question: List all of Wolfgang Reitherman's movies and their voice actors.
Evidence: Wolfgang Reitherman refers to director = 'Wolfgang Reitherman';
SQL: SELECT T1.name, T2.`voice-actor` FROM director AS T1 INNER JOIN `voice-actors` AS T2 ON T1.name = T2.movie WHERE T1.director = 'Wolfgang Reitherman'
Database: disney
Question: What are the characters in the PG movies?
Evidence: PG is an abbreviation for parental guidance and refers to MPAA_rating = 'PG';
SQL: SELECT DISTINCT T2.character FROM movies_total_gross AS T1 INNER JOIN `voice-actors` AS T2 ON T1.movie_title = T2.movie WHERE T1.MPAA_rating = 'PG'
Database: disney
Question: What is the highest grossing movie without a song?
Evidence: the highest grossing movie without song refers to movie_title where MAX(total_gross) and song = 'null';
SQL: SELECT T1.movie_title FROM movies_total_gross AS T1 INNER JOIN characters AS T2 ON T2.movie_title = T1.movie_title WHERE T2.song IS NULL ORDER BY CAST(REPLACE(trim(T1.total_gross, '$'), ',', '') AS REAL) DESC LIMIT 1
Database: disney
Question: Who directed the movie with the most voice actors?
Evidence: who directed refers director;
SQL: SELECT T2.director, COUNT(DISTINCT T1.`voice-actor`) FROM `voice-actors` AS T1 INNER JOIN director AS T2 ON T1.movie = T2.name GROUP BY T2.director ORDER BY COUNT(DISTINCT T1.`voice-actor`) DESC LIMIT 1
Database: disney
Question: Who are the voice actors in the movie that came out on 11/24/2010?
Evidence: Came out on 11/24/2010 refers to release_date = 'Nov 24, 2010';
SQL: SELECT T2.`voice-actor` FROM movies_total_gross AS T1 INNER JOIN `voice-actors` AS T2 ON T1.movie_title = T2.movie WHERE T1.release_date = 'Nov 24, 2010'
Database: disney
Question: List the directors of movies that feature a song.
Evidence: movies that feature a song refer to movie_title where song is not NULL;
SQL: SELECT T2.director FROM characters AS T1 INNER JOIN director AS T2 ON T1.movie_title = T2.name WHERE T1.song IS NOT NULL GROUP BY T2.director
Database: disney
Question: What are the total grosses for the movies with Jim Cummings as the voice actor?
Evidence: FALSE;
SQL: SELECT T2.movie_title FROM `voice-actors` AS T1 INNER JOIN movies_total_gross AS T2 ON T2.movie_title = T1.movie WHERE T1.`voice-actor` = 'Jim Cummings' ORDER BY CAST(REPLACE(trim(T2.total_gross, '$'), ',', '') AS REAL) DESC LIMIT 1
Database: disney
Question: Which of the movies directed by Ron Clements has the highest total gross?
Evidence: Ron Clements refer to director = 'Ron Clements'; the highest total gross refers to MAX(total_gross);
SQL: SELECT T2.movie_title FROM director AS T1 INNER JOIN movies_total_gross AS T2 ON T1.name = T2.movie_title WHERE T1.director = 'Ron Clements' ORDER BY CAST(REPLACE(trim(T2.total_gross, '$'), ',', '') AS REAL) DESC LIMIT 1
Database: disney
Question: What is the average total gross for the movies featuring Sterling Holloway?
Evidence: DIVIDE(SUM(total_gross where voice-actor = 'Sterling Holloway'); COUNT(movie_title where voice-actor = 'Sterling Holloway'));
SQL: SELECT SUM(CAST(REPLACE(trim(T2.total_gross, '$'), ',', '') AS REAL)) / COUNT(T2.movie_title) FROM `voice-actors` AS T1 INNER JOIN movies_total_gross AS T2 ON T1.movie = T2.movie_title WHERE T1.`voice-actor` = 'Sterling Holloway'
Database: disney
Question: What proportion of the total gross of all movies is from movies with songs?
Evidence: Movies with songs refer song = 'not null'; DIVIDE(SUM(total_gross where song = 'not null'), sum(total_gross)) as percentage;
SQL: SELECT CAST(COUNT(CASE WHEN T1.song IS NOT NULL THEN T2.movie_title ELSE NULL END) AS REAL) * 100 / COUNT(T2.movie_title) FROM characters AS T1 INNER JOIN movies_total_gross AS T2 ON T1.movie_title = T2.movie_title
Database: disney
Question: List the movies and genres released in 2016.
Evidence: released in 2016 refers to substr(release_date, length(release_date) - 3, length(release_date)) = '2016'; movies refer to the movie_title;
SQL: SELECT movie_title, genre FROM movies_total_gross WHERE SUBSTR(release_date, LENGTH(release_date) - 3, LENGTH(release_date)) = '2016'
Database: disney
Question: Who is the villain in Little Mermaid?
Evidence: Little Mermaid refers to movie_title = 'Little Mermaid';
SQL: SELECT villian FROM characters WHERE movie_title = 'Little Mermaid'
Database: disney
Question: List the movie titles directed by Jack Kinney.
Evidence: Jack Kinney refers to director = 'Jack Kinney';
SQL: SELECT name FROM director WHERE director = 'Jack Kinney'
Database: disney
Question: Provide the movie titles and the estimated inflation rate of the highest total grossed movie.
Evidence: The highest grossed movie refers to MAX(total_gross); DIVIDE(inflation_adjusted_gross, total_gross) as percentage;
SQL: SELECT movie_title, CAST(REPLACE(trim(inflation_adjusted_gross, '$'), ',', '') AS REAL) / CAST(REPLACE(trim(total_gross, '$'), ',', '') AS REAL) FROM movies_total_gross ORDER BY CAST(REPLACE(trim(total_gross, '$'), ',', '') AS REAL) DESC LIMIT 1
Database: disney
Question: List the PG-13 romantic comedy movie titles and their release dates.
Evidence: PG-13 refers to MPAA_rating = 'PG-13'; romantic comedy refers to genre = 'Romantic Comedy';
SQL: SELECT movie_title, release_date FROM movies_total_gross WHERE MPAA_rating = 'PG-13' AND genre = 'Romantic Comedy'
Database: disney
Question: List the movie titles and character names by Bill Thompson.
Evidence: Bill Thompson refers to voice-actor = 'Bill Thompson';
SQL: SELECT movie, character FROM `voice-actors` WHERE 'voice-actor' = 'Bill Thompson'
Database: disney
Question: List the movie titles and associated songs directed by Ron Clements.
Evidence: Ron Clements refers director = 'Ron Clements';
SQL: SELECT T1.movie_title, T1.song FROM characters AS T1 INNER JOIN director AS T2 ON T1.movie_title = T2.name WHERE T2.director = 'Ron Clements'
Database: disney
Question: Provide the titles, main characters, and associated songs of the movies directed by Wolfgang Reitherman in 1977.
Evidence: Wolfgang Reitherman refers to director = 'Wolfgang Reitherman'; 1997 refers to substr(release_date, length(release_date) - 3, length(release_date)) = '1977'; the titles refer to movie_title; main characters refer to hero;
SQL: SELECT T1.movie_title, T2.hero, T2.song FROM movies_total_gross AS T1 INNER JOIN characters AS T2 ON T1.movie_title = T2.movie_title INNER JOIN director AS T3 ON T1.movie_title = T3.name WHERE T3.director = 'Wolfgang Reitherman' AND SUBSTR(T1.release_date, LENGTH(T1.release_date) - 3, LENGTH(T1.release_date)) = '1977'
Database: disney
Question: Which movies had the main character named Donald Duck and who directed them?
Evidence: Donald Duck is the main character of the movie which refers to hero = 'Donald Duck'; movies refer to movie_title; who directed refers director;
SQL: SELECT T1.movie_title, T2.director FROM characters AS T1 INNER JOIN director AS T2 ON T1.movie_title = T2.name WHERE T1.hero = 'Donald Duck'
Database: disney
Question: Describe the hero, director, and the release date of Mulan.
Evidence: Mulan refers to movie_title = 'Mulan';
SQL: SELECT T1.hero, T2.director, T1.release_date FROM characters AS T1 INNER JOIN director AS T2 ON T1.movie_title = T2.name WHERE T1.movie_title = 'Mulan'
Database: disney
Question: Provide the title, total gross, and MPAA rating of the movie which has a hero named Elsa.
Evidence: Elsa is the main character of the movie which refers to hero = 'Elsa'; title refers to movie_title;
SQL: SELECT T1.movie_title, T1.total_gross, T1.MPAA_rating FROM movies_total_gross AS T1 INNER JOIN characters AS T2 ON T1.movie_title = T2.movie_title INNER JOIN director AS T3 ON T3.name = T1.movie_title WHERE T2.hero = 'Elsa'
Database: disney
Question: Provide the title, director, and release date of the movie voice-acted by Freddie Jones.
Evidence: Freddie Jones refers to voice-actor = 'Freddie Jones'; title refers to movie_title;
SQL: SELECT T1.movie, T3.director, T2.release_date FROM `voice-actors` AS T1 INNER JOIN characters AS T2 ON T1.movie = T2.movie_title INNER JOIN director AS T3 ON T3.name = T2.movie_title WHERE T1.`voice-actor` = 'Freddie Jones'
Database: disney
Question: Among Frank Welker's voice-acted movies, list the movie titles and the total gross when the estimated inflation rate was less than 2.
Evidence: Frank Welker refers to voice-actor = 'Frank Welker'; estimated inflation rate was less than 2 can be computed as follows DIVIDE(inflation_adjusted_gross, total_gross) as percentage < 2;
SQL: SELECT T1.movie_title, T1.total_gross FROM movies_total_gross AS T1 INNER JOIN `voice-actors` AS T2 ON T1.movie_title = T2.movie WHERE T2.`voice-actor` = 'Frank Welker' AND CAST(REPLACE(trim(T1.inflation_adjusted_gross, '$'), ',', '') AS REAL) * 1.0 / CAST(REPLACE(trim(T1.total_gross, '$'), ',', '') AS REAL) * 1.0 < 2
Database: disney
Question: Who directed the most popular movie?
Evidence: The most popular movie refers MAX(total_gross); who directed refers to director;
SQL: SELECT T2.director FROM movies_total_gross AS T1 INNER JOIN director AS T2 ON T1.movie_title = T2.name ORDER BY CAST(REPLACE(trim(T1.total_gross, '$'), ',', '') AS REAL) DESC LIMIT 1
Database: disney
Question: Describe the voice actors and villains in Cinderella.
Evidence: Cinderella refers to movie_title = ' Cinderella';
SQL: SELECT T1.`voice-actor`, T2.villian FROM `voice-actors` AS T1 INNER JOIN characters AS T2 ON T1.movie = T2.movie_title WHERE T2.movie_title = 'Cinderella'
Database: disney
Question: Who is the voice actor of the hero in Lion King?
Evidence: Lion King refers to movie_title = 'Lion King';
SQL: SELECT T1.`voice-actor` FROM `voice-actors` AS T1 INNER JOIN characters AS T2 ON T1.movie = T2.movie_title WHERE T2.movie_title = 'Lion King' AND T1.character = 'Lion King'
Database: disney
Question: Provide the directors and MPAA ratings of the musical movies released in 1993.
Evidence: Musical movies refer to genre = 'Musical'; released in 1993 refers to substr(release_date, length(release_date) - 3, length(release_date)) = '1993';
SQL: SELECT T2.director, T1.MPAA_rating FROM movies_total_gross AS T1 INNER JOIN director AS T2 ON T1.movie_title = T2.name WHERE T1.genre = 'Musical' AND SUBSTR(T1.release_date, LENGTH(T1.release_date) - 3, LENGTH(T1.release_date)) = '1993'
Database: disney
Question: Among the movies released from 1991 to 2000, calculate the percentage of comedy movies. Provide any five movie titles and directors.
Evidence: DIVIDE(COUNT(movie_title where genre = 'Comedy'), COUNT(movie_title)) as percentage where substr(release_date, length(release_date) - 3, length(release_date)) between '1991' and '2000';
SQL: SELECT CAST(COUNT(CASE WHEN T1.genre = 'Comedy' THEN T1.movie_title ELSE NULL END) AS REAL) * 100 / COUNT(T1.movie_title), group_concat(T1.movie_title), group_concat(T2.director) FROM movies_total_gross AS T1 INNER JOIN director AS T2 ON T1.movie_title = T2.name WHERE SUBSTR(T1.release_date, LENGTH(T1.release_date) - 3, LENGTH(T1.release_date)) BETWEEN '1991' AND '2000'
Database: disney
Question: Among the movies released from 2001 to 2005, list down the titles and directors of the movies which had a total gross of more than 100% above the average.
Evidence: Released from 2001 to 2005 refers to substr(release_date, length(release_date) - 3, length(release_date)) between '2001' and '2005'; DIVIDE(SUM(total_gross), COUNT(movie_title));
SQL: SELECT T2.name, T2.director FROM movies_total_gross AS T1 INNER JOIN director AS T2 ON T1.movie_title = T2.name WHERE SUBSTR(T1.release_date, LENGTH(T1.release_date) - 3, LENGTH(T1.release_date)) BETWEEN '2001' AND '2005' AND CAST(REPLACE(trim(T1.total_gross, '$'), ',', '') AS REAL) / ( SELECT SUM(CAST(REPLACE(trim(T3.total_gross, '$'), ',', '') AS REAL)) / COUNT(T3.movie_title) AS avg_gross FROM movies_total_gross AS T3 INNER JOIN director AS T4 ON T3.movie_title = T4.name WHERE SUBSTR(T3.release_date, LENGTH(T3.release_date) - 3, LENGTH(T3.release_date)) BETWEEN '2001' AND '2005' ) - 1 > 1
Database: disney
Question: Name the voice actor of the character Calliope in the movie Hercules.
Evidence: Hercules refers to movie = 'Hercules';
SQL: SELECT `voice-actor` FROM `voice-actors` WHERE movie = 'Hercules' AND character = 'Calliope'
Database: disney
Question: How many voice actors for the movie Aladdin?
Evidence: Aladdin is the name of the movie which refers to movie = 'Aladdin';
SQL: SELECT COUNT('voice-actor') FROM `voice-actors` WHERE movie = 'Aladdin'
Database: disney
Question: List the movie titles with the voice actor Jeff Bennet
Evidence: Jeff Bennett refers to voice-actor = 'Jeff Bennett';
SQL: SELECT movie FROM `voice-actors` WHERE 'voice-actor' = 'Jeff Bennett'
Database: disney
Question: Provide the director's name of Wreck-It Ralph movie.
Evidence: Wreck-It Ralph is the name of the movies which refers to name = 'Wreck-It Ralph';
SQL: SELECT director FROM director WHERE name = 'Wreck-It Ralph'
Database: disney
Question: What movies did director Jack Kinney direct?
Evidence: FALSE;
SQL: SELECT name FROM director WHERE director = 'Jack Kinney'
Database: disney
Question: How many movies were released between 1937 and 1950?
Evidence: released between 1937 and 1950 refers to substr(release_date, length(release_date) - 1,length(release_date)) between '37' and '50';
SQL: SELECT COUNT(movie_title) FROM characters WHERE SUBSTR(release_date, LENGTH(release_date) - 1, LENGTH(release_date)) BETWEEN '37' AND '50'
Database: disney
Question: Provide the name of the song from the movie directed by Ben Sharpsteen.
Evidence: Ben Sharpsteen refers to director = 'Ben Sharpsteen';
SQL: SELECT T1.song FROM characters AS T1 INNER JOIN director AS T2 ON T1.movie_title = T2.name WHERE T2.director = 'Ben Sharpsteen'
Database: disney
Question: Indicate the release date of the film The Lion King directed by Roger Allers.
Evidence: The Lion King refers to movie_title = 'The Lion King'; Roger Allers refers to director = 'Roger Allers';
SQL: SELECT T1.release_date FROM characters AS T1 INNER JOIN director AS T2 ON T1.movie_title = T2.name WHERE T2.director = 'Roger Allers' AND T1.movie_title = 'The Lion King'
Database: disney
Question: Name the villain of the movie with Scott Weinger and Brad Kane as voice actors.
Evidence: FALSE;
SQL: SELECT T1.villian FROM characters AS T1 INNER JOIN `voice-actors` AS T2 ON T1.movie_title = T2.movie WHERE T2.`voice-actor` = 'Scott Weinger Brad Kane'
Database: disney
Question: Which movies of director Wolfgang Reitherman do not have villain?
Evidence: which movies do not have villain refer to movie_title where villian is null;
SQL: SELECT T1.movie_title FROM characters AS T1 INNER JOIN director AS T2 ON T1.movie_title = T2.name WHERE T2.director = 'Wolfgang Reitherman' AND T1.villian IS NULL
Database: disney
Question: List the titles of movies directed by Jack Kinney that were released before 1947.
Evidence: Jack Kinney refers to director = 'Jack Kinney'; released before 1947 refers to substr(release_date, length(release_date) - 1, length(release_date)) < '47';
SQL: SELECT T1.movie_title FROM characters AS T1 INNER JOIN director AS T2 ON T1.movie_title = T2.name WHERE T2.director = 'Jack Kinney' AND SUBSTR(T1.release_date, LENGTH(T1.release_date) - 1, LENGTH(T1.release_date)) < '47'
Database: disney
Question: List the names of the directors whose films grossed over $100 million.
Evidence: films grossed over $100 million refer to movie_title where total_gross > 100000000;
SQL: SELECT DISTINCT T2.director FROM characters AS T1 INNER JOIN director AS T2 ON T1.movie_title = T2.name INNER JOIN movies_total_gross AS T3 ON T1.movie_title = T3.movie_title WHERE CAST(REPLACE(trim(T3.total_gross, '$'), ',', '') AS REAL) > 100000000
Database: disney
Question: Which movie's song title has the highest total gross?
Evidence: The highest total gross refers to MAX(total_gross);
SQL: SELECT T2.song FROM movies_total_gross AS T1 INNER JOIN characters AS T2 ON T1.movie_title = T2.movie_title ORDER BY CAST(REPLACE(trim(T1.total_gross, '$'), ',', '') AS REAL) DESC LIMIT 1
Database: disney
Question: Which director had the most popular film from 1937 to 1990?
Evidence: from 1937 to 1990 refers to substr(release_date, length(release_date) - 3, length(release_date)) between '1937' and '1990'; the most popular film refers to movie_title where MAX(total_gross);
SQL: SELECT T2.director FROM characters AS T1 INNER JOIN director AS T2 ON T1.movie_title = T2.name INNER JOIN movies_total_gross AS T3 ON T3.movie_title = T1.movie_title WHERE SUBSTR(T3.release_date, LENGTH(T3.release_date) - 3, LENGTH(T3.release_date)) BETWEEN '1937' AND '1990' ORDER BY CAST(REPLACE(trim(T3.total_gross, '$'), ',', '') AS REAL) DESC LIMIT 1
Database: disney
Question: List all the main characters of the movie that are comedy genre.
Evidence: Comedy refers to genre = 'Comedy'; the main character of the movie refers to hero;
SQL: SELECT T2.hero FROM movies_total_gross AS T1 INNER JOIN characters AS T2 ON T1.movie_title = T2.movie_title WHERE T1.genre = 'Comedy'
Database: disney
Question: Provide the names of voice actors for the characters of films directed by Wolfgang Reitherman.
Evidence: Wolfgang Reitherman refers to director = 'Wolfgang Reitherman';
SQL: SELECT T2.hero, T1.`voice-actor` FROM `voice-actors` AS T1 INNER JOIN characters AS T2 ON T1.movie = T2.movie_title INNER JOIN director AS T3 ON T3.name = T2.movie_title WHERE T3.director = 'Wolfgang Reitherman'
Database: disney
Question: What genre of movie has Taran as the main character?
Evidence: Taran is the main character of the movie which refers to hero = 'Taran';
SQL: SELECT T1.genre FROM movies_total_gross AS T1 INNER JOIN characters AS T2 ON T1.movie_title = T2.movie_title WHERE T2.hero = 'Taran'
Database: disney
Question: The main character Elsa is voiced by which actor and who is the director of the movie?
Evidence: Elsa is the main character of the movie which refers to hero = 'Elsa'; voiced by which actor refers to voice-actor;
SQL: SELECT T1.`voice-actor`, T3.director FROM `voice-actors` AS T1 INNER JOIN characters AS T2 ON T1.movie = T2.movie_title INNER JOIN director AS T3 ON T2.movie_title = T3.name WHERE T2.hero = 'Elsa'
Database: disney
Question: Calculate the percentage of directors whose films grossed over $100 million.
Evidence: DIVIDE(COUNT(director where total_gross > 100000000), COUNT(director)) as percentage;
SQL: SELECT CAST(COUNT(DISTINCT CASE WHEN CAST(REPLACE(trim(T1.total_gross, '$'), ',', '') AS REAL) > 100000000 THEN T3.director ELSE NULL END) AS REAL) * 100 / COUNT(DISTINCT T3.director) FROM movies_total_gross AS T1 INNER JOIN characters AS T2 ON T1.movie_title = T2.movie_title INNER JOIN director AS T3 ON T1.movie_title = T3.name
Database: disney
Question: Calculate the percentage of voice actors whose main character in the movie is in the Drama genre.
Evidence: DIVIDE(COUNT(voice-actor where genre = 'Drama'), COUNT(voice-actor)) as percentage;
SQL: SELECT CAST(COUNT(CASE WHEN T1.genre = 'Drama' THEN T3.`voice-actor` ELSE NULL END) AS REAL) * 100 / COUNT(T3.`voice-actor`) FROM movies_total_gross AS T1 INNER JOIN characters AS T2 ON T1.movie_title = T2.movie_title INNER JOIN `voice-actors` AS T3 ON T3.movie = T1.movie_title
Database: disney
Question: Name the first movie released by Disney.
Evidence: The first movie released refers to movie_title where substr(release_date, length(release_date) - 1, length(release_date)) asc limit 1;
SQL: SELECT movie_title FROM characters ORDER BY SUBSTR(release_date, LENGTH(release_date) - 1, LENGTH(release_date)) ASC LIMIT 1