set
dict
{ "query": "Calculate the average satisfaction of the good students with their courses.", "pos": [ "average satisfaction = DIVIDE(SUM(sat), COUNT(course_id)); satisfaction refers to sat; good student refers to grade = 'B';" ], "neg": [ "full names of the students = f_name; l_name; highest capability refers to MAX(capability); highest salary refers to salary = 'high';", "research assistant refers to the student who serves for research where the abbreviation is RA; higher popularity means more popular; prof_id refers to professor’s ID;", "If grade is null or empty, it means that this student fails to pass the course;", "research postgraduate students refers to type = 'RPG'; intelligence level of 4 and above refers to intelligence > = 4;", "A refers to an excellent grade in which grade = 'A' for the course;", "salary range refers to salary;", "average satisfaction difference = SUBTRACT(AVG(sat where salary = 'high')), (AVG(sat where salary = 'free')); satisfaction refers to sat; no salary refers to salary = 'free';", "research assistant refers to the student who serves for research where the abbreviation is RA; average salary refers to salary = 'med';", "UG is an abbreviated name of undergraduate student in which type = 'UG';", "research postgraduate student refers to type = 'RPG'; research assistant refers to the student who serves for research where the abbreviation is RA;" ] }
{ "query": "Which student failed the course Intro to Database 2? Please give his or her full name.", "pos": [ "If grade is NULL, it means that this student fails to pass the course; full name refers to f_name and l_name;" ], "neg": [ "research assistant refers to the student who serves for research where the abbreviation is RA; prof_id refers to professor’s ID; full name refers to f_name and l_name;", "research assistant refers to the student who serves for research where the abbreviation is RA; professor with the lowest teaching ability refers to prof_id where teachability = '1';", "student with the highest GPA refers to student_id where MAX(gpa);", "research assistant refers to the student who serves for research where the abbreviation is RA; higher popularity means more popular; prof_id refers to professor’s ID;", "name of the students = f_name, l_name; above average-capability refers to capability > AVG(capability);", "full names = f_name, l_name; research assistant refers to the student who serves for research where the abbreviation is RA; unpaid research assistant refers to salary = 'free';", "highest popularity refers to MAX(popularity); research capability refers to capability; capability = 5;", "difficulty refers to diff; most difficult course refers to MAX(diff); student's full names = f_name, l_name;", "full names of the students = f_name; l_name; highest capability refers to MAX(capability); highest salary refers to salary = 'high';", "research assistant refers to the student who serves for research where the abbreviation is RA;" ] }
{ "query": "Among the students with a gpa of 3.1 to 3.7, how many of them are undergraduate students?", "pos": [ "gpa of 3.1 to 3.7 refers to gpa BETWEEN 3.1 AND 3.7; undergraduate students refers to type = 'UG';" ], "neg": [ "student's last name refers to l_name; satisfaction refers to sat; highest satisfaction refers to MAX(sat);", "capability < 3; difference = subtract(count(type = 'UG')), (count(type = 'RPG')); undergraduate students refers to type = 'UG'; research postgraduate students refers to type = 'RPG';", "research assistant refers to the student who serves for research where the abbreviation is RA; average salary refers to salary = 'med';", "difficulty refers to diff; most difficult course refers to MAX(diff); student's full names = f_name, l_name;", "DIVIDE(COUNT(student_id(grade = 'B' and name = 'Computer Network')), COUNT(student_id where name = ' Computer Network')) as percentage;", "GPA of the semester = DIVIDE(SUM(MULTIPLY(credit, grade)), SUM(credit)); grade 'A' refers to gpa = 4; grade 'B' refers to gpa = 3; grade 'C' refers to gpa = 2; grade 'D' refers to gpa = 1;", "sat refers to student's satisfaction degree with the course;", "Undergraduate students refers to type = 'UG'; GPA of 3.7 and above refers to gpa > 3.7;", "highest teachability refers to MAX(teachability); high salary refers to salary = 'high';", "diff refers to difficulty; the least difficult courses refer to MIN(diff);" ] }
{ "query": "What is the highest grossing movie without a song?", "pos": [ "the highest grossing movie without song refers to movie_title where MAX(total_gross) and song = 'null';" ], "neg": [ "FALSE;", "The Great Mouse Detective refers to movie_title = 'The Great Mouse Detective';", "Will Finn refers to director = 'Will Finn';", "Donald Duck is the main character of the movie which refers to hero = 'Donald Duck'; movies refer to movie_title; who directed refers director;", "Robin Hood is the main character of the movie which refers to hero = 'Robin Hood'; movie refers to movie_title;", "The Lion King refers to movie_title = 'The Lion King'; Roger Allers refers to director = 'Roger Allers';", "Restricted refers to MPAA_rating = 'R'; horror refers to genre = 'Horror'; released between 1/1/1990 to 12/31/2015 refers to (cast(SUBSTR(release_date, instr(release_date, ', ') + 1) as int) between 1990 and 2015);", "SUBTRACT(SUM(Year = 1998), SUM(Year = 1997))", "Meet the Robinsons refers to movie_title = 'Meet the Robinsons';", "FALSE;" ] }
{ "query": "How many movies did Wolfgang Reitherman direct?", "pos": [ "Wolfgang Reitherman refers director = 'Wolfgang Reitherman';" ], "neg": [ "Ron Clements refers director = 'Ron Clements';", "Elsa is the main character of the movie which refers to hero = 'Elsa'; voiced by which actor refers to voice-actor;", "released on 2016/3/4 refers to release_date = '4-Mar-16'; adventure movie refers to genre = 'Adventure' ;", "Jack Kinney refers to director = 'Jack Kinney'; released before 1947 refers to substr(release_date, length(release_date) - 1, length(release_date)) < '47';", "Robin Hood is the main character of the movie which refers to hero = 'Robin Hood'; movie refers to movie_title;", "Elsa is the main character of the movie which refers to hero = 'Elsa'; title refers to movie_title;", "Mulan refers to movie_title = 'Mulan';", "DIVIDE(COUNT(director where total_gross > 100000000), COUNT(director)) as percentage;", "Ben Sharpsteen refers to director = 'Ben Sharpsteen';", "films grossed over $100 million refer to movie_title where total_gross > 100000000;" ] }
{ "query": "Calculate the percentage of directors whose films grossed over $100 million.", "pos": [ "DIVIDE(COUNT(director where total_gross > 100000000), COUNT(director)) as percentage;" ], "neg": [ "The Lion King refers to movie_title = 'The Lion King'; Roger Allers refers to director = 'Roger Allers';", "The Great Mouse Detective refers to movie_title = 'The Great Mouse Detective';", "Movies refer to movie_title; released between 2010 and 2016 refers to substr(release_date, length(release_date) - 1, length(release_date)) between '10' and '16';", "DIVIDE(COUNT(voice-actor where genre = 'Drama'), COUNT(voice-actor)) as percentage;", "released on 2016/3/4 refers to release_date = '4-Mar-16'; adventure movie refers to genre = 'Adventure' ;", "Ben Sharpsteen refers to director = 'Ben Sharpsteen';", "Gary Trousdale refers director = 'Gary Trousdale'; the adventure movie refers to genre = 'Adventure';", "FALSE;", "Ron Clements refers to director = 'Ron Clements'; the most popular movie refers to movie_title where MAX(total_gross);", "the most popular movie refers to movie_title where MAX(total_gross); in 1970s refers to (cast(SUBSTR(release_date, instr(release_date, ', ') + 1) as int) between 1970 and 1979);" ] }
{ "query": "What is the most popular movie directed by Ron Clements?", "pos": [ "Ron Clements refers to director = 'Ron Clements'; the most popular movie refers to movie_title where MAX(total_gross);" ], "neg": [ "Wolfgang Reitherman refers to director = 'Wolfgang Reitherman'; released in December refers to (release_date, instr(release_date, '-') + 1, 3) = 'Dec';", "which movies do not have villain refer to movie_title where villian is null;", "drama refers to genre = 'Drama';", "Elsa is the main character of the movie which refers to hero = 'Elsa'; voiced by which actor refers to voice-actor;", "Came out on 11/24/2010 refers to release_date = 'Nov 24, 2010';", "directed by Wolfgang Reitherman refers to director = 'Wolfgang Reitherman'; the most popular movie refers to MAX(total_gross);", "DIVIDE(COUNT(director where total_gross > 100000000), COUNT(director)) as percentage;", "Most productive director refers to director where MAX(COUNT(name));", "Beauty and the Beast refers to movie_title = 'Beauty and the Beast';", "DIVIDE(Walt Disney Parks and Resorts where year = 2010), SUM(year = 2010) as percentage;" ] }
{ "query": "Who are the voice actors in the movie that came out on 11/24/2010?", "pos": [ "Came out on 11/24/2010 refers to release_date = 'Nov 24, 2010';" ], "neg": [ "FALSE;", "The Great Mouse Detective refers to movie_title = 'The Great Mouse Detective';", "PG-13 refers to MPAA_rating = 'PG-13'; romantic comedy refers to genre = 'Romantic Comedy';", "Wreck-It Ralph is the name of the movies which refers to name = 'Wreck-It Ralph';", "the highest grossing movie without song refers to movie_title where MAX(total_gross) and song = 'null';", "Ben Sharpsteen refers to director = 'Ben Sharpsteen'; released on February 9, 1940 refers to release_date = 'Feb 9, 1940';", "Mulan refers to movie_title = 'Mulan';", "Donald Duck is the main character of the movie which refers to hero = 'Donald Duck'; which one has more grossing refers to movie_title where MAX(total_gross);", "Donald Duck is the main character of the movie which refers to hero = 'Donald Duck'; movies refer to movie_title; who directed refers director;", "Elsa is the main character of the movie which refers to hero = 'Elsa'; title refers to movie_title;" ] }
{ "query": "Find the estimated inflation rate that was used to adjust the 1995 box office revenue for Disney's films.", "pos": [ "DIVIDE(inflation_adjusted_gross, total_gross) as percentage where substr(release_date, length(release_date) - 3, length(release_date)) = '1995';" ], "neg": [ "DIVIDE(COUNT(director where total_gross > 100000000), COUNT(director)) as percentage;", "FALSE;", "Beauty and the Beast refers to movie_title = 'Beauty and the Beast';", "PG is an abbreviation for parental guidance and refers to MPAA_rating = 'PG';", "Will Finn refers to director = 'Will Finn';", "SUBTRACT(SUM(Year = 1998), SUM(Year = 1997))", "the highest grossing movie without song refers to movie_title where MAX(total_gross) and song = 'null';", "the 1990s refers to (cast(SUBSTR(release_date, instr(release_date, ', ') + 1) as int) between 1990 and 2000);", "Bill Thompson refers to voice-actor = 'Bill Thompson';", "Restricted refers to MPAA_rating = 'R'; horror refers to genre = 'Horror'; released between 1/1/1990 to 12/31/2015 refers to (cast(SUBSTR(release_date, instr(release_date, ', ') + 1) as int) between 1990 and 2015);" ] }
{ "query": "Give the name of the director of the movie in which Verna Felton was the voice actor for its character \"Aunt Sarah\".", "pos": [ "FALSE;" ], "neg": [ "Ben Sharpsteen refers to director = 'Ben Sharpsteen'; released on February 9, 1940 refers to release_date = 'Feb 9, 1940';", "Elsa is the main character of the movie which refers to hero = 'Elsa'; voiced by which actor refers to voice-actor;", "PG-13 refers to MPAA_rating = 'PG-13'; romantic comedy refers to genre = 'Romantic Comedy';", "Ben Sharpsteen refers to director = 'Ben Sharpsteen';", "drama refers to genre = 'Drama';", "Restricted refers to MPAA_rating = 'R'; horror refers to genre = 'Horror'; released between 1/1/1990 to 12/31/2015 refers to (cast(SUBSTR(release_date, instr(release_date, ', ') + 1) as int) between 1990 and 2015);", "Robin Hood is the main character of the movie which refers to hero = 'Robin Hood'; movie refers to movie_title;", "Bambi is the name of the movie which refers to movie = 'Bambi';", "directed by Wolfgang Reitherman refers to director = 'Wolfgang Reitherman'; the most popular movie refers to MAX(total_gross);", "FALSE;" ] }
{ "query": "Find out what proportion of total revenue Walt Disney Parks and Resorts received in 2010.", "pos": [ "DIVIDE(Walt Disney Parks and Resorts where year = 2010), SUM(year = 2010) as percentage;" ], "neg": [ "Robin Hood is the main character of the movie which refers to hero = 'Robin Hood'; movie refers to movie_title;", "FALSE;", "the highest grossing movie without song refers to movie_title where MAX(total_gross) and song = 'null';", "FALSE;", "Gary Trousdale refers director = 'Gary Trousdale'; the adventure movie refers to genre = 'Adventure';", "DIVIDE(inflation_adjusted_gross, total_gross) as percentage where substr(release_date, length(release_date) - 3, length(release_date)) = '1995';", "Beauty and the Beast refers to movie_title = 'Beauty and the Beast';", "movies for mature audiences or parental guidance refer to movie_title where MPAA_rating = 'PG';", "which movies do not have villain refer to movie_title where villian is null;", "Hercules refers to movie = 'Hercules';" ] }
{ "query": "Who directed the movie with the most voice actors?", "pos": [ "who directed refers director;" ], "neg": [ "Will Finn refers to director = 'Will Finn';", "Comedy refers to genre = 'Comedy'; the main character of the movie refers to hero;", "FALSE;", "Elsa is the main character of the movie which refers to hero = 'Elsa'; title refers to movie_title;", "Studio Entertainment[NI 1]' > 'Disney Media Networks' where Year = 1998;", "Donald Duck is the main character of the movie which refers to hero = 'Donald Duck'; movies refer to movie_title; who directed refers director;", "The highest grossed movie refers to MAX(total_gross); DIVIDE(inflation_adjusted_gross, total_gross) as percentage;", "Meet the Robinsons refers to movie_title = 'Meet the Robinsons';", "Jack Kinney refers to director = 'Jack Kinney'; released before 1947 refers to substr(release_date, length(release_date) - 1, length(release_date)) < '47';", "DIVIDE(COUNT(director where total_gross > 100000000), COUNT(director)) as percentage;" ] }
{ "query": "Which of the movies directed by Ron Clements has the highest total gross?", "pos": [ "Ron Clements refer to director = 'Ron Clements'; the highest total gross refers to MAX(total_gross);" ], "neg": [ "Elsa is the main character of the movie which refers to hero = 'Elsa'; title refers to movie_title;", "Bill Thompson refers to voice-actor = 'Bill Thompson';", "Wreck-It Ralph is the name of the movies which refers to name = 'Wreck-It Ralph';", "Most productive director refers to director where MAX(COUNT(name));", "released on 2016/3/4 refers to release_date = '4-Mar-16'; adventure movie refers to genre = 'Adventure' ;", "the 1990s refers to (cast(SUBSTR(release_date, instr(release_date, ', ') + 1) as int) between 1990 and 2000);", "FALSE;", "adventure movie refers to genre = 'Adventure'; the main character of the movie refers to hero; most popular movie based on its inflation-adjusted gross refers to where MAX(inflation_adjusted_gross);", "directed by Wolfgang Reitherman refers to director = 'Wolfgang Reitherman'; comedies refers to genre = 'Comedy'; movies refer to movie_title;", "Restricted refers to MPAA_rating = 'R'; horror refers to genre = 'Horror'; released between 1/1/1990 to 12/31/2015 refers to (cast(SUBSTR(release_date, instr(release_date, ', ') + 1) as int) between 1990 and 2015);" ] }
{ "query": "How much is the total gross of the movie with a song titled \"Little Wonders\"?", "pos": [ "song = 'Little Wonders'" ], "neg": [ "drama refers to genre = 'Drama';", "Ben Sharpsteen refers to director = 'Ben Sharpsteen'; released on February 9, 1940 refers to release_date = 'Feb 9, 1940';", "FALSE;", "Ron Clements refers to director = 'Ron Clements'; the most popular movie refers to movie_title where MAX(total_gross);", "Beauty and the Beast refers to movie_title = 'Beauty and the Beast';", "Will Finn refers to director = 'Will Finn';", "Donald Duck is the main character of the movie which refers to hero = 'Donald Duck'; movies refer to movie_title; who directed refers director;", "Restricted refers to MPAA_rating = 'R'; horror refers to genre = 'Horror'; released between 1/1/1990 to 12/31/2015 refers to (cast(SUBSTR(release_date, instr(release_date, ', ') + 1) as int) between 1990 and 2015);", "Studio Entertainment[NI 1]' > 'Disney Media Networks' where Year = 1998;", "Elsa is the main character of the movie which refers to hero = 'Elsa'; voiced by which actor refers to voice-actor;" ] }
{ "query": "Provide the title, total gross, and MPAA rating of the movie which has a hero named Elsa.", "pos": [ "Elsa is the main character of the movie which refers to hero = 'Elsa'; title refers to movie_title;" ], "neg": [ "released on 2016/3/4 refers to release_date = '4-Mar-16'; adventure movie refers to genre = 'Adventure' ;", "Movies refer to movie_title; released between 2010 and 2016 refers to substr(release_date, length(release_date) - 1, length(release_date)) between '10' and '16';", "SUBTRACT(SUM(Year = 1998), SUM(Year = 1997))", "Jack Kinney refers to director = 'Jack Kinney'; released before 1947 refers to substr(release_date, length(release_date) - 1, length(release_date)) < '47';", "Donald Duck is the main character of the movie which refers to hero = 'Donald Duck'; movies refer to movie_title; who directed refers director;", "Ron Clements refers to director = 'Ron Clements'; the most popular movie refers to movie_title where MAX(total_gross);", "films grossed over $100 million refer to movie_title where total_gross > 100000000;", "Hercules refers to movie = 'Hercules';", "Bill Thompson refers to voice-actor = 'Bill Thompson'; worked the most refers to MAX(COUNT(name));", "Wolfgang Reitherman refers to director = 'Wolfgang Reitherman'; released in December refers to (release_date, instr(release_date, '-') + 1, 3) = 'Dec';" ] }
{ "query": "Name actors who voiced more than five Disney characters.", "pos": [ "Actors who voiced refer to voice-actor;" ], "neg": [ "movies for mature audiences or parental guidance refer to movie_title where MPAA_rating = 'PG';", "Wolfgang Reitherman refers to director = 'Wolfgang Reitherman'; released in December refers to (release_date, instr(release_date, '-') + 1, 3) = 'Dec';", "Ben Sharpsteen refers to director = 'Ben Sharpsteen'; released on February 9, 1940 refers to release_date = 'Feb 9, 1940';", "FALSE;", "song = 'Little Wonders'", "FALSE;", "The highest grossed movie refers to MAX(total_gross); DIVIDE(inflation_adjusted_gross, total_gross) as percentage;", "Will Finn refers to director = 'Will Finn';", "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';", "Ron Clements refers to director = 'Ron Clements'; the most popular movie refers to movie_title where MAX(total_gross);" ] }
{ "query": "Provide the movie titles and the estimated inflation rate of the highest total grossed movie.", "pos": [ "The highest grossed movie refers to MAX(total_gross); DIVIDE(inflation_adjusted_gross, total_gross) as percentage;" ], "neg": [ "Ron Clements refer to director = 'Ron Clements'; the highest total gross refers to MAX(total_gross);", "which movies do not have villain refer to movie_title where villian is null;", "The Lion King refers to movie_title = 'The Lion King'; Roger Allers refers to director = 'Roger Allers';", "DIVIDE(COUNT(voice-actor where genre = 'Drama'), COUNT(voice-actor)) as percentage;", "adventure movie refers to genre = 'Adventure'; the main character of the movie refers to hero; most popular movie based on its inflation-adjusted gross refers to where MAX(inflation_adjusted_gross);", "DIVIDE(Walt Disney Parks and Resorts where year = 2010), SUM(year = 2010) as percentage;", "Jack Kinney refers to director = 'Jack Kinney'; released before 1947 refers to substr(release_date, length(release_date) - 1, length(release_date)) < '47';", "Robin Hood is the main character of the movie which refers to hero = 'Robin Hood'; movie refers to movie_title;", "Jeff Bennett refers to voice-actor = 'Jeff Bennett';", "Mulan refers to movie_title = 'Mulan';" ] }
{ "query": "Name the main character of Disney's most popular adventure movie based on its inflation-adjusted gross.", "pos": [ "adventure movie refers to genre = 'Adventure'; the main character of the movie refers to hero; most popular movie based on its inflation-adjusted gross refers to where MAX(inflation_adjusted_gross);" ], "neg": [ "Ron Clements refers director = 'Ron Clements';", "Bambi is the name of the movie which refers to movie = 'Bambi';", "Beauty and the Beast refers to movie_title = 'Beauty and the Beast';", "Ben Sharpsteen refers to director = 'Ben Sharpsteen'; released on February 9, 1940 refers to release_date = 'Feb 9, 1940';", "The highest grossed movie refers to MAX(total_gross); DIVIDE(inflation_adjusted_gross, total_gross) as percentage;", "Robin Hood is the main character of the movie which refers to hero = 'Robin Hood'; movie refers to movie_title;", "Wreck-It Ralph is the name of the movies which refers to name = 'Wreck-It Ralph';", "films grossed over $100 million refer to movie_title where total_gross > 100000000;", "Restricted refers to MPAA_rating = 'R'; horror refers to genre = 'Horror'; released between 1/1/1990 to 12/31/2015 refers to (cast(SUBSTR(release_date, instr(release_date, ', ') + 1) as int) between 1990 and 2015);", "PG-13 refers to MPAA_rating = 'PG-13'; romantic comedy refers to genre = 'Romantic Comedy';" ] }
{ "query": "Which movies of director Wolfgang Reitherman do not have villain?", "pos": [ "which movies do not have villain refer to movie_title where villian is null;" ], "neg": [ "Beauty and the Beast refers to movie_title = 'Beauty and the Beast';", "Bill Thompson refers to voice-actor = 'Bill Thompson';", "FALSE;", "the 1990s refers to (cast(SUBSTR(release_date, instr(release_date, ', ') + 1) as int) between 1990 and 2000);", "Ben Sharpsteen refers to director = 'Ben Sharpsteen';", "PG-13 refers to MPAA_rating = 'PG-13'; romantic comedy refers to genre = 'Romantic Comedy';", "directed by Wolfgang Reitherman refers to director = 'Wolfgang Reitherman'; comedies refers to genre = 'Comedy'; movies refer to movie_title;", "action movie refers to movie_title where genre = 'Action'; highest grossing movie refers to MAX(total_gross)", "FALSE;", "name of the movie refers to movie_title;" ] }
{ "query": "List all the songs associated with drama movies.", "pos": [ "drama refers to genre = 'Drama';" ], "neg": [ "who directed refers director;", "Elsa is the main character of the movie which refers to hero = 'Elsa'; voiced by which actor refers to voice-actor;", "Most productive director refers to director where MAX(COUNT(name));", "the highest grossing movie without song refers to movie_title where MAX(total_gross) and song = 'null';", "Ben Sharpsteen refers to director = 'Ben Sharpsteen';", "DIVIDE(COUNT(voice-actor where genre = 'Drama'), COUNT(voice-actor)) as percentage;", "DIVIDE(Walt Disney Parks and Resorts where year = 2010), SUM(year = 2010) as percentage;", "PG-13 refers to MPAA_rating = 'PG-13'; romantic comedy refers to genre = 'Romantic Comedy';", "Wreck-It Ralph is the name of the movies which refers to name = 'Wreck-It Ralph';", "Donald Duck is the main character of the movie which refers to hero = 'Donald Duck'; movies refer to movie_title; who directed refers director;" ] }
{ "query": "Which movie is the character Robin Hood in?", "pos": [ "Robin Hood is the main character of the movie which refers to hero = 'Robin Hood'; movie refers to movie_title;" ], "neg": [ "FALSE;", "the most popular movie refers to movie_title where MAX(total_gross); in 1970s refers to (cast(SUBSTR(release_date, instr(release_date, ', ') + 1) as int) between 1970 and 1979);", "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';", "Bambi is the name of the movie which refers to movie = 'Bambi';", "Movies refer to movie_title; released between 2010 and 2016 refers to substr(release_date, length(release_date) - 1, length(release_date)) between '10' and '16';", "PG is an abbreviation for parental guidance and refers to MPAA_rating = 'PG';", "drama refers to genre = 'Drama';", "DIVIDE(COUNT(voice-actor where genre = 'Drama'), COUNT(voice-actor)) as percentage;", "Ben Sharpsteen refers to director = 'Ben Sharpsteen'; released on February 9, 1940 refers to release_date = 'Feb 9, 1940';", "FALSE;" ] }
{ "query": "What are the characters in the PG movies?", "pos": [ "PG is an abbreviation for parental guidance and refers to MPAA_rating = 'PG';" ], "neg": [ "adventure movie refers to genre = 'Adventure'; the main character of the movie refers to hero; most popular movie based on its inflation-adjusted gross refers to where MAX(inflation_adjusted_gross);", "FALSE;", "Ron Clements refers to director = 'Ron Clements'; the most popular movie refers to movie_title where MAX(total_gross);", "Donald Duck is the main character of the movie which refers to hero = 'Donald Duck'; movies refer to movie_title; who directed refers director;", "FALSE;", "Actors who voiced refer to voice-actor;", "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';", "directed by Wolfgang Reitherman refers to director = 'Wolfgang Reitherman'; the most popular movie refers to MAX(total_gross);", "Wreck-It Ralph is the name of the movies which refers to name = 'Wreck-It Ralph';", "DIVIDE(COUNT(voice-actor where genre = 'Drama'), COUNT(voice-actor)) as percentage;" ] }
{ "query": "For the movie in which Tress MacNeille was the voice actor for its character \"Hyacinth Hippo\", what was the release date of that movie?", "pos": [ "FALSE;" ], "neg": [ "Wreck-It Ralph is the name of the movies which refers to name = 'Wreck-It Ralph';", "Came out on 11/24/2010 refers to release_date = 'Nov 24, 2010';", "PG is an abbreviation for parental guidance and refers to MPAA_rating = 'PG';", "Restricted refers to MPAA_rating = 'R'; horror refers to genre = 'Horror'; released between 1/1/1990 to 12/31/2015 refers to (cast(SUBSTR(release_date, instr(release_date, ', ') + 1) as int) between 1990 and 2015);", "SUBTRACT(SUM(Year = 1998), SUM(Year = 1997))", "Hercules refers to movie = 'Hercules';", "The Great Mouse Detective refers to movie_title = 'The Great Mouse Detective';", "DIVIDE(COUNT(director where total_gross > 100000000), COUNT(director)) as percentage;", "song = 'Little Wonders'", "drama refers to genre = 'Drama';" ] }
{ "query": "What movies did director Jack Kinney direct?", "pos": [ "FALSE;" ], "neg": [ "Ron Clements refers to director = 'Ron Clements'; the most popular movie refers to movie_title where MAX(total_gross);", "SUBTRACT(SUM(Year = 1998), SUM(Year = 1997))", "FALSE;", "Movies with songs refer song = 'not null'; DIVIDE(SUM(total_gross where song = 'not null'), sum(total_gross)) as percentage;", "Donald Duck is the main character of the movie which refers to hero = 'Donald Duck'; which one has more grossing refers to movie_title where MAX(total_gross);", "adventure movie refers to genre = 'Adventure'; the main character of the movie refers to hero; most popular movie based on its inflation-adjusted gross refers to where MAX(inflation_adjusted_gross);", "Bill Thompson refers to voice-actor = 'Bill Thompson';", "directed by Wolfgang Reitherman refers to director = 'Wolfgang Reitherman'; comedies refers to genre = 'Comedy'; movies refer to movie_title;", "which movies do not have villain refer to movie_title where villian is null;", "Will Finn refers to director = 'Will Finn';" ] }
{ "query": "What proportion of the total gross of all movies is from movies with songs?", "pos": [ "Movies with songs refer song = 'not null'; DIVIDE(SUM(total_gross where song = 'not null'), sum(total_gross)) as percentage;" ], "neg": [ "Most productive director refers to director where MAX(COUNT(name));", "FALSE;", "FALSE;", "DIVIDE(COUNT(voice-actor where genre = 'Drama'), COUNT(voice-actor)) as percentage;", "Jeff Bennett refers to voice-actor = 'Jeff Bennett';", "adventure movie refers to genre = 'Adventure'; the main character of the movie refers to hero; most popular movie based on its inflation-adjusted gross refers to where MAX(inflation_adjusted_gross);", "FALSE;", "Elsa is the main character of the movie which refers to hero = 'Elsa'; voiced by which actor refers to voice-actor;", "song = 'Little Wonders'", "Wolfgang Reitherman refers director = 'Wolfgang Reitherman';" ] }
{ "query": "List the movie titles with the voice actor Jeff Bennet", "pos": [ "Jeff Bennett refers to voice-actor = 'Jeff Bennett';" ], "neg": [ "The top 5 highest-grossing movies adjusted for inflation refer to MAX(inflation_adjusted_gross)LIMIT 5; DIVIDE(SUM(MAX(inflation_adjusted_gross LIMIT 5)), SUM(inflation_adjusted_gross)) as percentage;", "The Motion Picture Association of America rating refers to MPAA_rating; villian = 'Turbo';", "the most popular movie refers to movie_title where MAX(total_gross); in 1970s refers to (cast(SUBSTR(release_date, instr(release_date, ', ') + 1) as int) between 1970 and 1979);", "Hercules refers to movie = 'Hercules';", "FALSE;", "Elsa is the main character of the movie which refers to hero = 'Elsa'; voiced by which actor refers to voice-actor;", "Mulan refers to movie_title = 'Mulan';", "movies for mature audiences or parental guidance refer to movie_title where MPAA_rating = 'PG';", "DIVIDE(COUNT(voice-actor where genre = 'Drama'), COUNT(voice-actor)) as percentage;", "FALSE;" ] }
{ "query": "How many movies for mature audiences or parental guidance suggested did Bill Thompson work as a voice actor?", "pos": [ "movies for mature audiences or parental guidance refer to movie_title where MPAA_rating = 'PG';" ], "neg": [ "Ron Clements refers director = 'Ron Clements';", "DIVIDE(Walt Disney Parks and Resorts where year = 2010), SUM(year = 2010) as percentage;", "released on 2016/3/4 refers to release_date = '4-Mar-16'; adventure movie refers to genre = 'Adventure' ;", "which movies do not have villain refer to movie_title where villian is null;", "Wolfgang Reitherman refers to director = 'Wolfgang Reitherman'; released in December refers to (release_date, instr(release_date, '-') + 1, 3) = 'Dec';", "Jack Kinney refers to director = 'Jack Kinney'; released before 1947 refers to substr(release_date, length(release_date) - 1, length(release_date)) < '47';", "Came out on 11/24/2010 refers to release_date = 'Nov 24, 2010';", "Bill Thompson refers to voice-actor = 'Bill Thompson'; worked the most refers to MAX(COUNT(name));", "Restricted refers to MPAA_rating = 'R'; horror refers to genre = 'Horror'; released between 1/1/1990 to 12/31/2015 refers to (cast(SUBSTR(release_date, instr(release_date, ', ') + 1) as int) between 1990 and 2015);", "FALSE;" ] }
{ "query": "Which song is associated with the most popular Disney movie in 1970s?", "pos": [ "the most popular movie refers to movie_title where MAX(total_gross); in 1970s refers to (cast(SUBSTR(release_date, instr(release_date, ', ') + 1) as int) between 1970 and 1979);" ], "neg": [ "PG-13 refers to MPAA_rating = 'PG-13'; romantic comedy refers to genre = 'Romantic Comedy';", "Ron Clements refer to director = 'Ron Clements'; the highest total gross refers to MAX(total_gross);", "action movie refers to movie_title where genre = 'Action'; highest grossing movie refers to MAX(total_gross)", "The highest grossed movie refers to MAX(total_gross); DIVIDE(inflation_adjusted_gross, total_gross) as percentage;", "The Great Mouse Detective refers to movie_title = 'The Great Mouse Detective';", "FALSE;", "The Motion Picture Association of America rating refers to MPAA_rating; villian = 'Turbo';", "which movies do not have villain refer to movie_title where villian is null;", "name of the movie refers to movie_title;", "Came out on 11/24/2010 refers to release_date = 'Nov 24, 2010';" ] }
{ "query": "Who is the voice actor of the character \"Binkie Muddlefoot\"?", "pos": [ "FALSE;" ], "neg": [ "Freddie Jones refers to voice-actor = 'Freddie Jones'; title refers to movie_title;", "DIVIDE(COUNT(voice-actor where genre = 'Drama'), COUNT(voice-actor)) as percentage;", "PG-13 refers to MPAA_rating = 'PG-13'; romantic comedy refers to genre = 'Romantic Comedy';", "Ron Clements refers director = 'Ron Clements';", "Hercules refers to movie = 'Hercules';", "Studio Entertainment[NI 1]' > 'Disney Media Networks' where Year = 1998;", "Movies refer to movie_title; released between 2010 and 2016 refers to substr(release_date, length(release_date) - 1, length(release_date)) between '10' and '16';", "FALSE;", "Most productive director refers to director where MAX(COUNT(name));", "Bambi is the name of the movie which refers to movie = 'Bambi';" ] }
{ "query": "List all the main characters of the movie that are comedy genre.", "pos": [ "Comedy refers to genre = 'Comedy'; the main character of the movie refers to hero;" ], "neg": [ "FALSE;", "Wreck-It Ralph is the name of the movies which refers to name = 'Wreck-It Ralph';", "SUBTRACT(SUM(Year = 1998), SUM(Year = 1997))", "Donald Duck is the main character of the movie which refers to hero = 'Donald Duck'; which one has more grossing refers to movie_title where MAX(total_gross);", "Elsa is the main character of the movie which refers to hero = 'Elsa'; voiced by which actor refers to voice-actor;", "Bill Thompson refers to voice-actor = 'Bill Thompson'; worked the most refers to MAX(COUNT(name));", "PG-13 refers to MPAA_rating = 'PG-13'; romantic comedy refers to genre = 'Romantic Comedy';", "Bill Thompson refers to voice-actor = 'Bill Thompson';", "Most productive director refers to director where MAX(COUNT(name));", "FALSE;" ] }
{ "query": "Who is the hero character of the adventure movie which was released on 2016/3/4?", "pos": [ "released on 2016/3/4 refers to release_date = '4-Mar-16'; adventure movie refers to genre = 'Adventure' ;" ], "neg": [ "DIVIDE(COUNT(director where total_gross > 100000000), COUNT(director)) as percentage;", "Bambi is the name of the movie which refers to movie = 'Bambi';", "SUBTRACT(SUM(Year = 1998), SUM(Year = 1997))", "Bill Thompson refers to voice-actor = 'Bill Thompson';", "Ben Sharpsteen refers to director = 'Ben Sharpsteen'; released on February 9, 1940 refers to release_date = 'Feb 9, 1940';", "the 1990s refers to (cast(SUBSTR(release_date, instr(release_date, ', ') + 1) as int) between 1990 and 2000);", "Elsa is the main character of the movie which refers to hero = 'Elsa'; voiced by which actor refers to voice-actor;", "action movie refers to movie_title where genre = 'Action'; highest grossing movie refers to MAX(total_gross)", "song = 'Little Wonders'", "Wolfgang Reitherman refers to director = 'Wolfgang Reitherman'; released in December refers to (release_date, instr(release_date, '-') + 1, 3) = 'Dec';" ] }
{ "query": "Who is the villain of the movie \"Beauty and the Beast\"?", "pos": [ "Beauty and the Beast refers to movie_title = 'Beauty and the Beast';" ], "neg": [ "Ron Clements refers director = 'Ron Clements';", "Restricted refers to MPAA_rating = 'R'; horror refers to genre = 'Horror'; released between 1/1/1990 to 12/31/2015 refers to (cast(SUBSTR(release_date, instr(release_date, ', ') + 1) as int) between 1990 and 2015);", "name of the movie refers to movie_title;", "DIVIDE(Walt Disney Parks and Resorts where year = 2010), SUM(year = 2010) as percentage;", "Wreck-It Ralph is the name of the movies which refers to name = 'Wreck-It Ralph';", "drama refers to genre = 'Drama';", "FALSE;", "movies for mature audiences or parental guidance refer to movie_title where MPAA_rating = 'PG';", "Ben Sharpsteen refers to director = 'Ben Sharpsteen';", "The highest grossed movie refers to MAX(total_gross); DIVIDE(inflation_adjusted_gross, total_gross) as percentage;" ] }
{ "query": "In which segment did the Walt Disney Company earned a bigger revenue in 1998, Studio Entertainment or Disney Media Networks?", "pos": [ "Studio Entertainment[NI 1]' > 'Disney Media Networks' where Year = 1998;" ], "neg": [ "directed by Wolfgang Reitherman refers to director = 'Wolfgang Reitherman'; comedies refers to genre = 'Comedy'; movies refer to movie_title;", "FALSE;", "who directed refers director;", "Elsa is the main character of the movie which refers to hero = 'Elsa'; title refers to movie_title;", "Bill Thompson refers to voice-actor = 'Bill Thompson'; worked the most refers to MAX(COUNT(name));", "Beauty and the Beast refers to movie_title = 'Beauty and the Beast';", "released on 2016/3/4 refers to release_date = '4-Mar-16'; adventure movie refers to genre = 'Adventure' ;", "Meet the Robinsons refers to movie_title = 'Meet the Robinsons';", "Elsa is the main character of the movie which refers to hero = 'Elsa'; voiced by which actor refers to voice-actor;", "which movies do not have villain refer to movie_title where villian is null;" ] }
{ "query": "Give the name of the movie which the song \"I Thought I Lost You\" is associated with.", "pos": [ "name of the movie refers to movie_title;" ], "neg": [ "FALSE;", "Movies with songs refer song = 'not null'; DIVIDE(SUM(total_gross where song = 'not null'), sum(total_gross)) as percentage;", "The highest grossed movie refers to MAX(total_gross); DIVIDE(inflation_adjusted_gross, total_gross) as percentage;", "FALSE;", "directed by Wolfgang Reitherman refers to director = 'Wolfgang Reitherman'; comedies refers to genre = 'Comedy'; movies refer to movie_title;", "drama refers to genre = 'Drama';", "Ron Clements refers director = 'Ron Clements';", "DIVIDE(inflation_adjusted_gross, total_gross) as percentage where substr(release_date, length(release_date) - 3, length(release_date)) = '1995';", "song = 'Little Wonders'", "Beauty and the Beast refers to movie_title = 'Beauty and the Beast';" ] }
{ "query": "How many of Gary Trousdale's movies are adventure movies?", "pos": [ "Gary Trousdale refers director = 'Gary Trousdale'; the adventure movie refers to genre = 'Adventure';" ], "neg": [ "adventure movie refers to genre = 'Adventure'; the main character of the movie refers to hero; most popular movie based on its inflation-adjusted gross refers to where MAX(inflation_adjusted_gross);", "Movies refer to movie_title; released between 2010 and 2016 refers to substr(release_date, length(release_date) - 1, length(release_date)) between '10' and '16';", "Bill Thompson refers to voice-actor = 'Bill Thompson';", "directed by Wolfgang Reitherman refers to director = 'Wolfgang Reitherman'; the most popular movie refers to MAX(total_gross);", "Bambi is the name of the movie which refers to movie = 'Bambi';", "Mulan refers to movie_title = 'Mulan';", "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';", "The Motion Picture Association of America rating refers to MPAA_rating; villian = 'Turbo';", "The top 5 highest-grossing movies adjusted for inflation refer to MAX(inflation_adjusted_gross)LIMIT 5; DIVIDE(SUM(MAX(inflation_adjusted_gross LIMIT 5)), SUM(inflation_adjusted_gross)) as percentage;", "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';" ] }
{ "query": "Name the villain of the movie with Scott Weinger and Brad Kane as voice actors.", "pos": [ "FALSE;" ], "neg": [ "SUBTRACT(SUM(Year = 1998), SUM(Year = 1997))", "Wolfgang Reitherman refers to director = 'Wolfgang Reitherman'; released in December refers to (release_date, instr(release_date, '-') + 1, 3) = 'Dec';", "action movie refers to movie_title where genre = 'Action'; highest grossing movie refers to MAX(total_gross)", "FALSE;", "Jack Kinney refers to director = 'Jack Kinney'; released before 1947 refers to substr(release_date, length(release_date) - 1, length(release_date)) < '47';", "Elsa is the main character of the movie which refers to hero = 'Elsa'; voiced by which actor refers to voice-actor;", "PG-13 refers to MPAA_rating = 'PG-13'; romantic comedy refers to genre = 'Romantic Comedy';", "which movies do not have villain refer to movie_title where villian is null;", "name of the movie refers to movie_title;", "directed by Wolfgang Reitherman refers to director = 'Wolfgang Reitherman'; comedies refers to genre = 'Comedy'; movies refer to movie_title;" ] }
{ "query": "How much more total box office gross did the Walt Disney Company have in revenue in 1998 than in 1997?", "pos": [ "SUBTRACT(SUM(Year = 1998), SUM(Year = 1997))" ], "neg": [ "The highest grossed movie refers to MAX(total_gross); DIVIDE(inflation_adjusted_gross, total_gross) as percentage;", "The Motion Picture Association of America rating refers to MPAA_rating; villian = 'Turbo';", "Elsa is the main character of the movie which refers to hero = 'Elsa'; voiced by which actor refers to voice-actor;", "FALSE;", "Bambi is the name of the movie which refers to movie = 'Bambi';", "FALSE;", "directed by Wolfgang Reitherman refers to director = 'Wolfgang Reitherman'; the most popular movie refers to MAX(total_gross);", "Bill Thompson refers to voice-actor = 'Bill Thompson'; worked the most refers to MAX(COUNT(name));", "the most popular movie refers to movie_title where MAX(total_gross); in 1970s refers to (cast(SUBSTR(release_date, instr(release_date, ', ') + 1) as int) between 1970 and 1979);", "Studio Entertainment[NI 1]' > 'Disney Media Networks' where Year = 1998;" ] }
{ "query": "Provide the title, director, and release date of the movie voice-acted by Freddie Jones.", "pos": [ "Freddie Jones refers to voice-actor = 'Freddie Jones'; title refers to movie_title;" ], "neg": [ "the 1990s refers to (cast(SUBSTR(release_date, instr(release_date, ', ') + 1) as int) between 1990 and 2000);", "SUBTRACT(SUM(Year = 1998), SUM(Year = 1997))", "Came out on 11/24/2010 refers to release_date = 'Nov 24, 2010';", "Elsa is the main character of the movie which refers to hero = 'Elsa'; voiced by which actor refers to voice-actor;", "FALSE;", "The top 5 highest-grossing movies adjusted for inflation refer to MAX(inflation_adjusted_gross)LIMIT 5; DIVIDE(SUM(MAX(inflation_adjusted_gross LIMIT 5)), SUM(inflation_adjusted_gross)) as percentage;", "Ron Clements refer to director = 'Ron Clements'; the highest total gross refers to MAX(total_gross);", "FALSE;", "Wolfgang Reitherman refers to director = 'Wolfgang Reitherman'; released in December refers to (release_date, instr(release_date, '-') + 1, 3) = 'Dec';", "PG is an abbreviation for parental guidance and refers to MPAA_rating = 'PG';" ] }
{ "query": "Provide a list of directors from the 1990s.", "pos": [ "the 1990s refers to (cast(SUBSTR(release_date, instr(release_date, ', ') + 1) as int) between 1990 and 2000);" ], "neg": [ "song = 'Little Wonders'", "Ben Sharpsteen refers to director = 'Ben Sharpsteen';", "FALSE;", "Comedy refers to genre = 'Comedy'; the main character of the movie refers to hero;", "the highest grossing movie without song refers to movie_title where MAX(total_gross) and song = 'null';", "DIVIDE(COUNT(voice-actor where genre = 'Drama'), COUNT(voice-actor)) as percentage;", "drama refers to genre = 'Drama';", "Wolfgang Reitherman refers director = 'Wolfgang Reitherman';", "Wreck-It Ralph is the name of the movies which refers to name = 'Wreck-It Ralph';", "FALSE;" ] }
{ "query": "Who are the voice actors for all the heroes?", "pos": [ "FALSE;" ], "neg": [ "Bambi is the name of the movie which refers to movie = 'Bambi';", "Bill Thompson refers to voice-actor = 'Bill Thompson';", "Beauty and the Beast refers to movie_title = 'Beauty and the Beast';", "Gary Trousdale refers director = 'Gary Trousdale'; the adventure movie refers to genre = 'Adventure';", "which movies do not have villain refer to movie_title where villian is null;", "drama refers to genre = 'Drama';", "Freddie Jones refers to voice-actor = 'Freddie Jones'; title refers to movie_title;", "Hercules refers to movie = 'Hercules';", "The top 5 highest-grossing movies adjusted for inflation refer to MAX(inflation_adjusted_gross)LIMIT 5; DIVIDE(SUM(MAX(inflation_adjusted_gross LIMIT 5)), SUM(inflation_adjusted_gross)) as percentage;", "DIVIDE(inflation_adjusted_gross, total_gross) as percentage where substr(release_date, length(release_date) - 3, length(release_date)) = '1995';" ] }
{ "query": "Name the top 5 highest-grossing Disney movies adjusted for inflation. Identify the percentage they contributed to the total of Disney's current gross.", "pos": [ "The top 5 highest-grossing movies adjusted for inflation refer to MAX(inflation_adjusted_gross)LIMIT 5; DIVIDE(SUM(MAX(inflation_adjusted_gross LIMIT 5)), SUM(inflation_adjusted_gross)) as percentage;" ], "neg": [ "Restricted refers to MPAA_rating = 'R'; horror refers to genre = 'Horror'; released between 1/1/1990 to 12/31/2015 refers to (cast(SUBSTR(release_date, instr(release_date, ', ') + 1) as int) between 1990 and 2015);", "PG-13 refers to MPAA_rating = 'PG-13'; romantic comedy refers to genre = 'Romantic Comedy';", "Ron Clements refers director = 'Ron Clements';", "DIVIDE(COUNT(director where total_gross > 100000000), COUNT(director)) as percentage;", "Elsa is the main character of the movie which refers to hero = 'Elsa'; voiced by which actor refers to voice-actor;", "Bill Thompson refers to voice-actor = 'Bill Thompson';", "Gary Trousdale refers director = 'Gary Trousdale'; the adventure movie refers to genre = 'Adventure';", "Movies refer to movie_title; released between 2010 and 2016 refers to substr(release_date, length(release_date) - 1, length(release_date)) between '10' and '16';", "FALSE;", "FALSE;" ] }
{ "query": "List the PG-13 romantic comedy movie titles and their release dates.", "pos": [ "PG-13 refers to MPAA_rating = 'PG-13'; romantic comedy refers to genre = 'Romantic Comedy';" ], "neg": [ "FALSE;", "movies for mature audiences or parental guidance refer to movie_title where MPAA_rating = 'PG';", "Ron Clements refer to director = 'Ron Clements'; the highest total gross refers to MAX(total_gross);", "Ben Sharpsteen refers to director = 'Ben Sharpsteen';", "DIVIDE(inflation_adjusted_gross, total_gross) as percentage where substr(release_date, length(release_date) - 3, length(release_date)) = '1995';", "Ben Sharpsteen refers to director = 'Ben Sharpsteen'; released on February 9, 1940 refers to release_date = 'Feb 9, 1940';", "The highest grossed movie refers to MAX(total_gross); DIVIDE(inflation_adjusted_gross, total_gross) as percentage;", "action movie refers to movie_title where genre = 'Action'; highest grossing movie refers to MAX(total_gross)", "Bill Thompson refers to voice-actor = 'Bill Thompson';", "Hercules refers to movie = 'Hercules';" ] }
{ "query": "How many voice-actors were involved in the Bambi movie?", "pos": [ "Bambi is the name of the movie which refers to movie = 'Bambi';" ], "neg": [ "directed by Wolfgang Reitherman refers to director = 'Wolfgang Reitherman'; comedies refers to genre = 'Comedy'; movies refer to movie_title;", "Bill Thompson refers to voice-actor = 'Bill Thompson';", "Wreck-It Ralph is the name of the movies which refers to name = 'Wreck-It Ralph';", "movies for mature audiences or parental guidance refer to movie_title where MPAA_rating = 'PG';", "PG is an abbreviation for parental guidance and refers to MPAA_rating = 'PG';", "drama refers to genre = 'Drama';", "The Lion King refers to movie_title = 'The Lion King'; Roger Allers refers to director = 'Roger Allers';", "FALSE;", "films grossed over $100 million refer to movie_title where total_gross > 100000000;", "FALSE;" ] }
{ "query": "Who is the most productive director?", "pos": [ "Most productive director refers to director where MAX(COUNT(name));" ], "neg": [ "Ben Sharpsteen refers to director = 'Ben Sharpsteen'; released on February 9, 1940 refers to release_date = 'Feb 9, 1940';", "Freddie Jones refers to voice-actor = 'Freddie Jones'; title refers to movie_title;", "which movies do not have villain refer to movie_title where villian is null;", "Bill Thompson refers to voice-actor = 'Bill Thompson'; worked the most refers to MAX(COUNT(name));", "Wolfgang Reitherman refers to director = 'Wolfgang Reitherman'; released in December refers to (release_date, instr(release_date, '-') + 1, 3) = 'Dec';", "song = 'Little Wonders'", "FALSE;", "action movie refers to movie_title where genre = 'Action'; highest grossing movie refers to MAX(total_gross)", "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';", "films grossed over $100 million refer to movie_title where total_gross > 100000000;" ] }
{ "query": "Calculate the percentage of voice actors whose main character in the movie is in the Drama genre.", "pos": [ "DIVIDE(COUNT(voice-actor where genre = 'Drama'), COUNT(voice-actor)) as percentage;" ], "neg": [ "DIVIDE(COUNT(director where total_gross > 100000000), COUNT(director)) as percentage;", "Will Finn refers to director = 'Will Finn';", "SUBTRACT(SUM(Year = 1998), SUM(Year = 1997))", "action movie refers to movie_title where genre = 'Action'; highest grossing movie refers to MAX(total_gross)", "DIVIDE(Walt Disney Parks and Resorts where year = 2010), SUM(year = 2010) as percentage;", "name of the movie refers to movie_title;", "PG-13 refers to MPAA_rating = 'PG-13'; romantic comedy refers to genre = 'Romantic Comedy';", "Most productive director refers to director where MAX(COUNT(name));", "FALSE;", "Elsa is the main character of the movie which refers to hero = 'Elsa'; voiced by which actor refers to voice-actor;" ] }
{ "query": "Among the movies released from 1991 to 2000, calculate the percentage of comedy movies. Provide any five movie titles and directors.", "pos": [ "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';" ], "neg": [ "Freddie Jones refers to voice-actor = 'Freddie Jones'; title refers to movie_title;", "Robin Hood is the main character of the movie which refers to hero = 'Robin Hood'; movie refers to movie_title;", "Beauty and the Beast refers to movie_title = 'Beauty and the Beast';", "Ben Sharpsteen refers to director = 'Ben Sharpsteen';", "Elsa is the main character of the movie which refers to hero = 'Elsa'; voiced by which actor refers to voice-actor;", "released on 2016/3/4 refers to release_date = '4-Mar-16'; adventure movie refers to genre = 'Adventure' ;", "action movie refers to movie_title where genre = 'Action'; highest grossing movie refers to MAX(total_gross)", "The Motion Picture Association of America rating refers to MPAA_rating; villian = 'Turbo';", "The Lion King refers to movie_title = 'The Lion King'; Roger Allers refers to director = 'Roger Allers';", "Studio Entertainment[NI 1]' > 'Disney Media Networks' where Year = 1998;" ] }
{ "query": "What is Disney's highest grossing action movie?", "pos": [ "action movie refers to movie_title where genre = 'Action'; highest grossing movie refers to MAX(total_gross)" ], "neg": [ "Restricted refers to MPAA_rating = 'R'; horror refers to genre = 'Horror'; released between 1/1/1990 to 12/31/2015 refers to (cast(SUBSTR(release_date, instr(release_date, ', ') + 1) as int) between 1990 and 2015);", "the most popular movie refers to movie_title where MAX(total_gross); in 1970s refers to (cast(SUBSTR(release_date, instr(release_date, ', ') + 1) as int) between 1970 and 1979);", "the highest grossing movie without song refers to movie_title where MAX(total_gross) and song = 'null';", "Jeff Bennett refers to voice-actor = 'Jeff Bennett';", "DIVIDE(COUNT(voice-actor where genre = 'Drama'), COUNT(voice-actor)) as percentage;", "released on 2016/3/4 refers to release_date = '4-Mar-16'; adventure movie refers to genre = 'Adventure' ;", "FALSE;", "Most productive director refers to director where MAX(COUNT(name));", "song = 'Little Wonders'", "DIVIDE(COUNT(director where total_gross > 100000000), COUNT(director)) as percentage;" ] }
{ "query": "Who is the hero character of the Disney movie directed by Will Finn?", "pos": [ "Will Finn refers to director = 'Will Finn';" ], "neg": [ "The Lion King refers to movie_title = 'The Lion King'; Roger Allers refers to director = 'Roger Allers';", "Movies with songs refer song = 'not null'; DIVIDE(SUM(total_gross where song = 'not null'), sum(total_gross)) as percentage;", "FALSE;", "Jeff Bennett refers to voice-actor = 'Jeff Bennett';", "released on 2016/3/4 refers to release_date = '4-Mar-16'; adventure movie refers to genre = 'Adventure' ;", "FALSE;", "the most popular movie refers to movie_title where MAX(total_gross); in 1970s refers to (cast(SUBSTR(release_date, instr(release_date, ', ') + 1) as int) between 1970 and 1979);", "name of the movie refers to movie_title;", "movies for mature audiences or parental guidance refer to movie_title where MPAA_rating = 'PG';", "Actors who voiced refer to voice-actor;" ] }
{ "query": "Among the movies directed by Wolfgang Reitherman, how many of them were released in December?", "pos": [ "Wolfgang Reitherman refers to director = 'Wolfgang Reitherman'; released in December refers to (release_date, instr(release_date, '-') + 1, 3) = 'Dec';" ], "neg": [ "song = 'Little Wonders'", "The Motion Picture Association of America rating refers to MPAA_rating; villian = 'Turbo';", "Will Finn refers to director = 'Will Finn';", "Actors who voiced refer to voice-actor;", "Ron Clements refers director = 'Ron Clements';", "DIVIDE(COUNT(voice-actor where genre = 'Drama'), COUNT(voice-actor)) as percentage;", "action movie refers to movie_title where genre = 'Action'; highest grossing movie refers to MAX(total_gross)", "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';", "adventure movie refers to genre = 'Adventure'; the main character of the movie refers to hero; most popular movie based on its inflation-adjusted gross refers to where MAX(inflation_adjusted_gross);", "the most popular movie refers to movie_title where MAX(total_gross); in 1970s refers to (cast(SUBSTR(release_date, instr(release_date, ', ') + 1) as int) between 1970 and 1979);" ] }
{ "query": "What is the Motion Picture Association of America rating for the movie featuring a villain named Turbo?", "pos": [ "The Motion Picture Association of America rating refers to MPAA_rating; villian = 'Turbo';" ], "neg": [ "Robin Hood is the main character of the movie which refers to hero = 'Robin Hood'; movie refers to movie_title;", "Ron Clements refer to director = 'Ron Clements'; the highest total gross refers to MAX(total_gross);", "DIVIDE(COUNT(director where total_gross > 100000000), COUNT(director)) as percentage;", "The Lion King refers to movie_title = 'The Lion King'; Roger Allers refers to director = 'Roger Allers';", "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';", "PG-13 refers to MPAA_rating = 'PG-13'; romantic comedy refers to genre = 'Romantic Comedy';", "FALSE;", "Wolfgang Reitherman refers director = 'Wolfgang Reitherman';", "DIVIDE(Walt Disney Parks and Resorts where year = 2010), SUM(year = 2010) as percentage;", "FALSE;" ] }
{ "query": "How many restricted horror movies were released between 1/1/1990 to 12/31/2015?", "pos": [ "Restricted refers to MPAA_rating = 'R'; horror refers to genre = 'Horror'; released between 1/1/1990 to 12/31/2015 refers to (cast(SUBSTR(release_date, instr(release_date, ', ') + 1) as int) between 1990 and 2015);" ], "neg": [ "The Great Mouse Detective refers to movie_title = 'The Great Mouse Detective';", "SUBTRACT(SUM(Year = 1998), SUM(Year = 1997))", "Bambi is the name of the movie which refers to movie = 'Bambi';", "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';", "released on 2016/3/4 refers to release_date = '4-Mar-16'; adventure movie refers to genre = 'Adventure' ;", "action movie refers to movie_title where genre = 'Action'; highest grossing movie refers to MAX(total_gross)", "directed by Wolfgang Reitherman refers to director = 'Wolfgang Reitherman'; comedies refers to genre = 'Comedy'; movies refer to movie_title;", "The Motion Picture Association of America rating refers to MPAA_rating; villian = 'Turbo';", "DIVIDE(inflation_adjusted_gross, total_gross) as percentage where substr(release_date, length(release_date) - 3, length(release_date)) = '1995';", "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';" ] }
{ "query": "How many movies were released by Disney between 2010 and 2016?", "pos": [ "Movies refer to movie_title; released between 2010 and 2016 refers to substr(release_date, length(release_date) - 1, length(release_date)) between '10' and '16';" ], "neg": [ "FALSE;", "The Motion Picture Association of America rating refers to MPAA_rating; villian = 'Turbo';", "DIVIDE(COUNT(director where total_gross > 100000000), COUNT(director)) as percentage;", "Ron Clements refer to director = 'Ron Clements'; the highest total gross refers to MAX(total_gross);", "Meet the Robinsons refers to movie_title = 'Meet the Robinsons';", "DIVIDE(COUNT(voice-actor where genre = 'Drama'), COUNT(voice-actor)) as percentage;", "PG-13 refers to MPAA_rating = 'PG-13'; romantic comedy refers to genre = 'Romantic Comedy';", "song = 'Little Wonders'", "Elsa is the main character of the movie which refers to hero = 'Elsa'; title refers to movie_title;", "Bill Thompson refers to voice-actor = 'Bill Thompson'; worked the most refers to MAX(COUNT(name));" ] }
{ "query": "How many PG adventure movies did Ron Clements direct?", "pos": [ "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';" ], "neg": [ "FALSE;", "released on 2016/3/4 refers to release_date = '4-Mar-16'; adventure movie refers to genre = 'Adventure' ;", "Ron Clements refers to director = 'Ron Clements'; the most popular movie refers to movie_title where MAX(total_gross);", "Mulan refers to movie_title = 'Mulan';", "Freddie Jones refers to voice-actor = 'Freddie Jones'; title refers to movie_title;", "Actors who voiced refer to voice-actor;", "adventure movie refers to genre = 'Adventure'; the main character of the movie refers to hero; most popular movie based on its inflation-adjusted gross refers to where MAX(inflation_adjusted_gross);", "name of the movie refers to movie_title;", "which movies do not have villain refer to movie_title where villian is null;", "Ben Sharpsteen refers to director = 'Ben Sharpsteen'; released on February 9, 1940 refers to release_date = 'Feb 9, 1940';" ] }
{ "query": "The main character Elsa is voiced by which actor and who is the director of the movie?", "pos": [ "Elsa is the main character of the movie which refers to hero = 'Elsa'; voiced by which actor refers to voice-actor;" ], "neg": [ "Wolfgang Reitherman refers director = 'Wolfgang Reitherman';", "Elsa is the main character of the movie which refers to hero = 'Elsa'; title refers to movie_title;", "Bill Thompson refers to voice-actor = 'Bill Thompson';", "Donald Duck is the main character of the movie which refers to hero = 'Donald Duck'; movies refer to movie_title; who directed refers director;", "DIVIDE(Walt Disney Parks and Resorts where year = 2010), SUM(year = 2010) as percentage;", "Donald Duck is the main character of the movie which refers to hero = 'Donald Duck'; which one has more grossing refers to movie_title where MAX(total_gross);", "Freddie Jones refers to voice-actor = 'Freddie Jones'; title refers to movie_title;", "Bill Thompson refers to voice-actor = 'Bill Thompson'; worked the most refers to MAX(COUNT(name));", "Ron Clements refers director = 'Ron Clements';", "the highest grossing movie without song refers to movie_title where MAX(total_gross) and song = 'null';" ] }
{ "query": "Indicate the release date of the film The Lion King directed by Roger Allers.", "pos": [ "The Lion King refers to movie_title = 'The Lion King'; Roger Allers refers to director = 'Roger Allers';" ], "neg": [ "directed by Wolfgang Reitherman refers to director = 'Wolfgang Reitherman'; comedies refers to genre = 'Comedy'; movies refer to movie_title;", "FALSE;", "name of the movie refers to movie_title;", "Freddie Jones refers to voice-actor = 'Freddie Jones'; title refers to movie_title;", "Restricted refers to MPAA_rating = 'R'; horror refers to genre = 'Horror'; released between 1/1/1990 to 12/31/2015 refers to (cast(SUBSTR(release_date, instr(release_date, ', ') + 1) as int) between 1990 and 2015);", "Wolfgang Reitherman refers to director = 'Wolfgang Reitherman'; released in December refers to (release_date, instr(release_date, '-') + 1, 3) = 'Dec';", "FALSE;", "action movie refers to movie_title where genre = 'Action'; highest grossing movie refers to MAX(total_gross)", "Most productive director refers to director where MAX(COUNT(name));", "Ron Clements refers director = 'Ron Clements';" ] }
{ "query": "Provide the director's name of Wreck-It Ralph movie.", "pos": [ "Wreck-It Ralph is the name of the movies which refers to name = 'Wreck-It Ralph';" ], "neg": [ "Robin Hood is the main character of the movie which refers to hero = 'Robin Hood'; movie refers to movie_title;", "FALSE;", "released on 2016/3/4 refers to release_date = '4-Mar-16'; adventure movie refers to genre = 'Adventure' ;", "the highest grossing movie without song refers to movie_title where MAX(total_gross) and song = 'null';", "Gary Trousdale refers director = 'Gary Trousdale'; the adventure movie refers to genre = 'Adventure';", "FALSE;", "Elsa is the main character of the movie which refers to hero = 'Elsa'; voiced by which actor refers to voice-actor;", "Wolfgang Reitherman refers to director = 'Wolfgang Reitherman'; released in December refers to (release_date, instr(release_date, '-') + 1, 3) = 'Dec';", "the 1990s refers to (cast(SUBSTR(release_date, instr(release_date, ', ') + 1) as int) between 1990 and 2000);", "PG-13 refers to MPAA_rating = 'PG-13'; romantic comedy refers to genre = 'Romantic Comedy';" ] }
{ "query": "List the voice actors from the movie \"Meet the Robinsons\".", "pos": [ "Meet the Robinsons refers to movie_title = 'Meet the Robinsons';" ], "neg": [ "directed by Wolfgang Reitherman refers to director = 'Wolfgang Reitherman'; the most popular movie refers to MAX(total_gross);", "DIVIDE(Walt Disney Parks and Resorts where year = 2010), SUM(year = 2010) as percentage;", "who directed refers director;", "Studio Entertainment[NI 1]' > 'Disney Media Networks' where Year = 1998;", "FALSE;", "Wreck-It Ralph is the name of the movies which refers to name = 'Wreck-It Ralph';", "FALSE;", "The Motion Picture Association of America rating refers to MPAA_rating; villian = 'Turbo';", "released on 2016/3/4 refers to release_date = '4-Mar-16'; adventure movie refers to genre = 'Adventure' ;", "Freddie Jones refers to voice-actor = 'Freddie Jones'; title refers to movie_title;" ] }
{ "query": "List the movie titles and associated songs directed by Ron Clements.", "pos": [ "Ron Clements refers director = 'Ron Clements';" ], "neg": [ "PG-13 refers to MPAA_rating = 'PG-13'; romantic comedy refers to genre = 'Romantic Comedy';", "The Lion King refers to movie_title = 'The Lion King'; Roger Allers refers to director = 'Roger Allers';", "Gary Trousdale refers director = 'Gary Trousdale'; the adventure movie refers to genre = 'Adventure';", "FALSE;", "Will Finn refers to director = 'Will Finn';", "Elsa is the main character of the movie which refers to hero = 'Elsa'; voiced by which actor refers to voice-actor;", "Hercules refers to movie = 'Hercules';", "The Great Mouse Detective refers to movie_title = 'The Great Mouse Detective';", "SUBTRACT(SUM(Year = 1998), SUM(Year = 1997))", "DIVIDE(COUNT(director where total_gross > 100000000), COUNT(director)) as percentage;" ] }
{ "query": "The character Donald Duck has appeared in two Disney movies, which one has more grossing?", "pos": [ "Donald Duck is the main character of the movie which refers to hero = 'Donald Duck'; which one has more grossing refers to movie_title where MAX(total_gross);" ], "neg": [ "FALSE;", "released on 2016/3/4 refers to release_date = '4-Mar-16'; adventure movie refers to genre = 'Adventure' ;", "who directed refers director;", "which movies do not have villain refer to movie_title where villian is null;", "the highest grossing movie without song refers to movie_title where MAX(total_gross) and song = 'null';", "DIVIDE(COUNT(director where total_gross > 100000000), COUNT(director)) as percentage;", "directed by Wolfgang Reitherman refers to director = 'Wolfgang Reitherman'; the most popular movie refers to MAX(total_gross);", "Elsa is the main character of the movie which refers to hero = 'Elsa'; title refers to movie_title;", "Donald Duck is the main character of the movie which refers to hero = 'Donald Duck'; movies refer to movie_title; who directed refers director;", "Ben Sharpsteen refers to director = 'Ben Sharpsteen'; released on February 9, 1940 refers to release_date = 'Feb 9, 1940';" ] }
{ "query": "Among the movies directed by Wolfgang Reitherman, how many of them are Comedies?", "pos": [ "directed by Wolfgang Reitherman refers to director = 'Wolfgang Reitherman'; comedies refers to genre = 'Comedy'; movies refer to movie_title;" ], "neg": [ "The Motion Picture Association of America rating refers to MPAA_rating; villian = 'Turbo';", "drama refers to genre = 'Drama';", "The highest grossed movie refers to MAX(total_gross); DIVIDE(inflation_adjusted_gross, total_gross) as percentage;", "Donald Duck is the main character of the movie which refers to hero = 'Donald Duck'; movies refer to movie_title; who directed refers director;", "action movie refers to movie_title where genre = 'Action'; highest grossing movie refers to MAX(total_gross)", "Came out on 11/24/2010 refers to release_date = 'Nov 24, 2010';", "the most popular movie refers to movie_title where MAX(total_gross); in 1970s refers to (cast(SUBSTR(release_date, instr(release_date, ', ') + 1) as int) between 1970 and 1979);", "FALSE;", "Ron Clements refers director = 'Ron Clements';", "DIVIDE(Walt Disney Parks and Resorts where year = 2010), SUM(year = 2010) as percentage;" ] }
{ "query": "Provide the name of the song from the movie directed by Ben Sharpsteen.", "pos": [ "Ben Sharpsteen refers to director = 'Ben Sharpsteen';" ], "neg": [ "Ron Clements refer to director = 'Ron Clements'; the highest total gross refers to MAX(total_gross);", "action movie refers to movie_title where genre = 'Action'; highest grossing movie refers to MAX(total_gross)", "Mulan refers to movie_title = 'Mulan';", "FALSE;", "directed by Wolfgang Reitherman refers to director = 'Wolfgang Reitherman'; comedies refers to genre = 'Comedy'; movies refer to movie_title;", "adventure movie refers to genre = 'Adventure'; the main character of the movie refers to hero; most popular movie based on its inflation-adjusted gross refers to where MAX(inflation_adjusted_gross);", "FALSE;", "Jack Kinney refers to director = 'Jack Kinney'; released before 1947 refers to substr(release_date, length(release_date) - 1, length(release_date)) < '47';", "Donald Duck is the main character of the movie which refers to hero = 'Donald Duck'; which one has more grossing refers to movie_title where MAX(total_gross);", "DIVIDE(COUNT(voice-actor where genre = 'Drama'), COUNT(voice-actor)) as percentage;" ] }
{ "query": "Which movies had the main character named Donald Duck and who directed them?", "pos": [ "Donald Duck is the main character of the movie which refers to hero = 'Donald Duck'; movies refer to movie_title; who directed refers director;" ], "neg": [ "adventure movie refers to genre = 'Adventure'; the main character of the movie refers to hero; most popular movie based on its inflation-adjusted gross refers to where MAX(inflation_adjusted_gross);", "FALSE;", "song = 'Little Wonders'", "directed by Wolfgang Reitherman refers to director = 'Wolfgang Reitherman'; comedies refers to genre = 'Comedy'; movies refer to movie_title;", "Came out on 11/24/2010 refers to release_date = 'Nov 24, 2010';", "the most popular movie refers to movie_title where MAX(total_gross); in 1970s refers to (cast(SUBSTR(release_date, instr(release_date, ', ') + 1) as int) between 1970 and 1979);", "Beauty and the Beast refers to movie_title = 'Beauty and the Beast';", "DIVIDE(Walt Disney Parks and Resorts where year = 2010), SUM(year = 2010) as percentage;", "Bambi is the name of the movie which refers to movie = 'Bambi';", "DIVIDE(inflation_adjusted_gross, total_gross) as percentage where substr(release_date, length(release_date) - 3, length(release_date)) = '1995';" ] }
{ "query": "Among the movies directed by Wolfgang Reitherman, which one of them was the most popular?", "pos": [ "directed by Wolfgang Reitherman refers to director = 'Wolfgang Reitherman'; the most popular movie refers to MAX(total_gross);" ], "neg": [ "DIVIDE(COUNT(voice-actor where genre = 'Drama'), COUNT(voice-actor)) as percentage;", "Movies with songs refer song = 'not null'; DIVIDE(SUM(total_gross where song = 'not null'), sum(total_gross)) as percentage;", "FALSE;", "Ron Clements refers to director = 'Ron Clements'; the most popular movie refers to movie_title where MAX(total_gross);", "The Lion King refers to movie_title = 'The Lion King'; Roger Allers refers to director = 'Roger Allers';", "Hercules refers to movie = 'Hercules';", "drama refers to genre = 'Drama';", "who directed refers director;", "The Motion Picture Association of America rating refers to MPAA_rating; villian = 'Turbo';", "Wolfgang Reitherman refers to director = 'Wolfgang Reitherman'; released in December refers to (release_date, instr(release_date, '-') + 1, 3) = 'Dec';" ] }
{ "query": "Which director did Bill Thompson work the most with?", "pos": [ "Bill Thompson refers to voice-actor = 'Bill Thompson'; worked the most refers to MAX(COUNT(name));" ], "neg": [ "the most popular movie refers to movie_title where MAX(total_gross); in 1970s refers to (cast(SUBSTR(release_date, instr(release_date, ', ') + 1) as int) between 1970 and 1979);", "Wreck-It Ralph is the name of the movies which refers to name = 'Wreck-It Ralph';", "Donald Duck is the main character of the movie which refers to hero = 'Donald Duck'; which one has more grossing refers to movie_title where MAX(total_gross);", "PG is an abbreviation for parental guidance and refers to MPAA_rating = 'PG';", "directed by Wolfgang Reitherman refers to director = 'Wolfgang Reitherman'; comedies refers to genre = 'Comedy'; movies refer to movie_title;", "drama refers to genre = 'Drama';", "Movies with songs refer song = 'not null'; DIVIDE(SUM(total_gross where song = 'not null'), sum(total_gross)) as percentage;", "Meet the Robinsons refers to movie_title = 'Meet the Robinsons';", "directed by Wolfgang Reitherman refers to director = 'Wolfgang Reitherman'; the most popular movie refers to MAX(total_gross);", "FALSE;" ] }
{ "query": "Describe the hero, director, and the release date of Mulan.", "pos": [ "Mulan refers to movie_title = 'Mulan';" ], "neg": [ "who directed refers director;", "Wolfgang Reitherman refers director = 'Wolfgang Reitherman';", "Came out on 11/24/2010 refers to release_date = 'Nov 24, 2010';", "name of the movie refers to movie_title;", "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';", "Elsa is the main character of the movie which refers to hero = 'Elsa'; title refers to movie_title;", "FALSE;", "adventure movie refers to genre = 'Adventure'; the main character of the movie refers to hero; most popular movie based on its inflation-adjusted gross refers to where MAX(inflation_adjusted_gross);", "the 1990s refers to (cast(SUBSTR(release_date, instr(release_date, ', ') + 1) as int) between 1990 and 2000);", "Wreck-It Ralph is the name of the movies which refers to name = 'Wreck-It Ralph';" ] }
{ "query": "List the movie titles and character names by Bill Thompson.", "pos": [ "Bill Thompson refers to voice-actor = 'Bill Thompson';" ], "neg": [ "Gary Trousdale refers director = 'Gary Trousdale'; the adventure movie refers to genre = 'Adventure';", "directed by Wolfgang Reitherman refers to director = 'Wolfgang Reitherman'; comedies refers to genre = 'Comedy'; movies refer to movie_title;", "the 1990s refers to (cast(SUBSTR(release_date, instr(release_date, ', ') + 1) as int) between 1990 and 2000);", "the highest grossing movie without song refers to movie_title where MAX(total_gross) and song = 'null';", "Jeff Bennett refers to voice-actor = 'Jeff Bennett';", "Wolfgang Reitherman refers to director = 'Wolfgang Reitherman'; released in December refers to (release_date, instr(release_date, '-') + 1, 3) = 'Dec';", "who directed refers director;", "Mulan refers to movie_title = 'Mulan';", "Bill Thompson refers to voice-actor = 'Bill Thompson'; worked the most refers to MAX(COUNT(name));", "song = 'Little Wonders'" ] }
{ "query": "List the names of the directors whose films grossed over $100 million.", "pos": [ "films grossed over $100 million refer to movie_title where total_gross > 100000000;" ], "neg": [ "name of the movie refers to movie_title;", "which movies do not have villain refer to movie_title where villian is null;", "Hercules refers to movie = 'Hercules';", "FALSE;", "Meet the Robinsons refers to movie_title = 'Meet the Robinsons';", "SUBTRACT(SUM(Year = 1998), SUM(Year = 1997))", "song = 'Little Wonders'", "the most popular movie refers to movie_title where MAX(total_gross); in 1970s refers to (cast(SUBSTR(release_date, instr(release_date, ', ') + 1) as int) between 1970 and 1979);", "Ron Clements refers to director = 'Ron Clements'; the most popular movie refers to movie_title where MAX(total_gross);", "Freddie Jones refers to voice-actor = 'Freddie Jones'; title refers to movie_title;" ] }
{ "query": "List the titles of movies directed by Jack Kinney that were released before 1947.", "pos": [ "Jack Kinney refers to director = 'Jack Kinney'; released before 1947 refers to substr(release_date, length(release_date) - 1, length(release_date)) < '47';" ], "neg": [ "Wreck-It Ralph is the name of the movies which refers to name = 'Wreck-It Ralph';", "FALSE;", "SUBTRACT(SUM(Year = 1998), SUM(Year = 1997))", "Restricted refers to MPAA_rating = 'R'; horror refers to genre = 'Horror'; released between 1/1/1990 to 12/31/2015 refers to (cast(SUBSTR(release_date, instr(release_date, ', ') + 1) as int) between 1990 and 2015);", "Bill Thompson refers to voice-actor = 'Bill Thompson';", "PG is an abbreviation for parental guidance and refers to MPAA_rating = 'PG';", "DIVIDE(COUNT(director where total_gross > 100000000), COUNT(director)) as percentage;", "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';", "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';", "Bill Thompson refers to voice-actor = 'Bill Thompson'; worked the most refers to MAX(COUNT(name));" ] }
{ "query": "List all the voice actors in the movie directed by Ben Sharpsteen which was released on February 9, 1940.", "pos": [ "Ben Sharpsteen refers to director = 'Ben Sharpsteen'; released on February 9, 1940 refers to release_date = 'Feb 9, 1940';" ], "neg": [ "the 1990s refers to (cast(SUBSTR(release_date, instr(release_date, ', ') + 1) as int) between 1990 and 2000);", "DIVIDE(Walt Disney Parks and Resorts where year = 2010), SUM(year = 2010) as percentage;", "films grossed over $100 million refer to movie_title where total_gross > 100000000;", "the most popular movie refers to movie_title where MAX(total_gross); in 1970s refers to (cast(SUBSTR(release_date, instr(release_date, ', ') + 1) as int) between 1970 and 1979);", "Hercules refers to movie = 'Hercules';", "FALSE;", "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';", "Mulan refers to movie_title = 'Mulan';", "which movies do not have villain refer to movie_title where villian is null;", "Elsa is the main character of the movie which refers to hero = 'Elsa'; voiced by which actor refers to voice-actor;" ] }
{ "query": "Name the voice actor of the character Calliope in the movie Hercules.", "pos": [ "Hercules refers to movie = 'Hercules';" ], "neg": [ "Elsa is the main character of the movie which refers to hero = 'Elsa'; voiced by which actor refers to voice-actor;", "Comedy refers to genre = 'Comedy'; the main character of the movie refers to hero;", "Jeff Bennett refers to voice-actor = 'Jeff Bennett';", "Donald Duck is the main character of the movie which refers to hero = 'Donald Duck'; which one has more grossing refers to movie_title where MAX(total_gross);", "Wreck-It Ralph is the name of the movies which refers to name = 'Wreck-It Ralph';", "directed by Wolfgang Reitherman refers to director = 'Wolfgang Reitherman'; the most popular movie refers to MAX(total_gross);", "DIVIDE(COUNT(director where total_gross > 100000000), COUNT(director)) as percentage;", "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';", "adventure movie refers to genre = 'Adventure'; the main character of the movie refers to hero; most popular movie based on its inflation-adjusted gross refers to where MAX(inflation_adjusted_gross);", "Gary Trousdale refers director = 'Gary Trousdale'; the adventure movie refers to genre = 'Adventure';" ] }
{ "query": "What are the total grosses for the movies with Jim Cummings as the voice actor?", "pos": [ "FALSE;" ], "neg": [ "Ron Clements refers to director = 'Ron Clements'; the most popular movie refers to movie_title where MAX(total_gross);", "DIVIDE(COUNT(voice-actor where genre = 'Drama'), COUNT(voice-actor)) as percentage;", "Beauty and the Beast refers to movie_title = 'Beauty and the Beast';", "Gary Trousdale refers director = 'Gary Trousdale'; the adventure movie refers to genre = 'Adventure';", "the most popular movie refers to movie_title where MAX(total_gross); in 1970s refers to (cast(SUBSTR(release_date, instr(release_date, ', ') + 1) as int) between 1970 and 1979);", "Jack Kinney refers to director = 'Jack Kinney'; released before 1947 refers to substr(release_date, length(release_date) - 1, length(release_date)) < '47';", "PG is an abbreviation for parental guidance and refers to MPAA_rating = 'PG';", "Hercules refers to movie = 'Hercules';", "FALSE;", "drama refers to genre = 'Drama';" ] }
{ "query": "Who is the villain in the movie \"The Great Mouse Detective\"?", "pos": [ "The Great Mouse Detective refers to movie_title = 'The Great Mouse Detective';" ], "neg": [ "Restricted refers to MPAA_rating = 'R'; horror refers to genre = 'Horror'; released between 1/1/1990 to 12/31/2015 refers to (cast(SUBSTR(release_date, instr(release_date, ', ') + 1) as int) between 1990 and 2015);", "FALSE;", "Freddie Jones refers to voice-actor = 'Freddie Jones'; title refers to movie_title;", "the most popular movie refers to movie_title where MAX(total_gross); in 1970s refers to (cast(SUBSTR(release_date, instr(release_date, ', ') + 1) as int) between 1970 and 1979);", "the 1990s refers to (cast(SUBSTR(release_date, instr(release_date, ', ') + 1) as int) between 1990 and 2000);", "Elsa is the main character of the movie which refers to hero = 'Elsa'; voiced by which actor refers to voice-actor;", "Beauty and the Beast refers to movie_title = 'Beauty and the Beast';", "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';", "which movies do not have villain refer to movie_title where villian is null;", "Wolfgang Reitherman refers to director = 'Wolfgang Reitherman'; released in December refers to (release_date, instr(release_date, '-') + 1, 3) = 'Dec';" ] }
{ "query": "What is the name of the item that is provided in the biggest amount by the vendor Lakeshore Learning Materials?", "pos": [ "lakeshore Learning Materials is vendor_name; biggest amount refers to Max(item_quantity);" ], "neg": [ "in Brooklyn refers to school_city = 'Brooklyn'; highest request of resources refers to max(count(T1.item_name))", "donations collected refers to sum(donation_to_project); project 'Whistle While We Work!' refers to title = 'Whistle While We Work!'", "urban area refers to school_metro = 'urban'; books resources refers to project_resource_type = 'Books'", "school “301c9bf0a45d159d162b65a93fddd74e\" refers to schoolid = '301c9bf0a45d159d162b65a93fddd74e';", "iMath is the title; city refers to school_city;", "from teachers refers to is_teacher_acct = 't'; the state of Colorado refers to donor_state = 'CO-Colorado'", "Bringing Drama to Life' is the title; Percentage = Divide(Count(payment_method = 'creditcard'), Count(projectid))*100;", "main subject area refers to primary_focus_area = 'Literacy & Language'; total donation amount refers to Sum(dollar_amount);", "school in Brooklyn refers to school_city = 'Brooklyn'; total donated amount refers to donation_total;", "date refer to date_posted; Lets Share Ideas refer to title" ] }
{ "query": "What payment method was used for Needed Resource Materials For My Students?", "pos": [ "Needed Resource Materials For My Students refer to title" ], "neg": [ "donations collected refers to sum(donation_to_project); project 'Whistle While We Work!' refers to title = 'Whistle While We Work!'", "lakeshore Learning Materials is vendor_name; biggest amount refers to Max(item_quantity);", "not from a teacher refers to is_teacher_acct = 'f'; donor account id refers to donor_acctid; percentage of donation = divide(donation_optional_support, donation_total)*100%", "ABC Read project been launched refers to title = 'ABC Read'; percentage refers to DIVIDE(count(case when title = 'ABC Read' then school_county else null end),count(school_county))*100", "main subject refers to primary_focus_subject", "zip code \"7079\" refers to donor_zip = '7079'", "project name refers to title; describe refers to short_description; New York teachers refers to teacher_ny_teaching_fellow = 't'", "paid via credit card refer to payment method = creditcard; Memphis City School District refer to school_district", "main subject area refers to primary_focus_area = 'Literacy & Language'; highest unit price refers to Max(item_unit_price);", "donation at 14:44:29 on 2012/9/6 refers to donation_timestamp = '2012/9/6 14:44:29';" ] }
{ "query": "How many schools in Suffolk County have Ph.D. teachers?", "pos": [ "Suffolk County refers to School_county = 'Suffolk'; Ph.D. teachers refers to Teacher_prefix = 'Dr.'" ], "neg": [ "Lakeshore Learning Materials is vendor_name;  teacher with a doctor degree refers to teacher_prefix = 'Dr.';", "donations collected refers to sum(donation_to_project); project 'Whistle While We Work!' refers to title = 'Whistle While We Work!'", "message refer to donation_message; Newark School District refer to school_district; 40.735332, -74.196014 refer to (school latitude, school_longitude)", "Mathematics as a primary subject refers to primary_focus_subject = 'Mathematics'; most expensive refers to max(item_unit_price)", "from \"Sax Arts & Crafts\" refers to vendor_name = 'Sax Arts & Crafts'; zip code of the schools refers school_zip", "teacher \"42d43fa6f37314365d08692e08680973\" refers to teacher_acctid = '42d43fa6f37314365d08692e08680973';", "in Chicago refers to school_city = 'Chicago'; ID of the donor refers to donor_acctid", "resource type refer to project_resource_type; most commonly bought refer to COUNT(project_resource_type where school_district = ’Los Angeles Unif Sch Dist’); Los Angeles Unified School District refer to school_district = ’Los Angeles Unif Sch Dist’", "main subject area refers to primary_focus_area = 'Literacy & Language'; highest unit price refers to Max(item_unit_price);", "an honoree refers to for_honoree = 't'; more than $100 refers to dollar_amount = '100_and_up'" ] }
{ "query": "In which city is there a greater number of schools that have received donations of less than 10 dollars?", "pos": [ "received donations of less than 10 dollars refers to dollar_amount = 'under_10'; city refers to school_city\n\n" ], "neg": [ "paypal refer to payment method; Lets Share Ideas refer to title; city refer to school_city; total amount donated refer to SUM(donation_total of paypal where payment_method = ’paypal’)", "teacher \"822b7b8768c17456fdce78b65abcc18e\" refers to teacher_acctid = '822b7b8768c17456fdce78b65abcc18e';", "Mathematics as a primary subject refers to primary_focus_subject = 'Mathematics'; most expensive refers to max(item_unit_price)", "total amount of all the donations refers to sum(donation_total); highest donation refers to max(donation_total)", "from teachers refers to is_teacher_acct = 't'; the state of Colorado refers to donor_state = 'CO-Colorado'", "Bringing Drama to Life' is the title; Percentage = Divide(Count(payment_method = 'creditcard'), Count(projectid))*100;", "Sax Arts & Crafts refer to vendor_name; resource type available refer to project_resource_type\n", "Needed Resource Materials For My Students refer to title", "literacy subject as primary focus refers to primary_focus_subject = 'Literacy'", "from \"Sax Arts & Crafts\" refers to vendor_name = 'Sax Arts & Crafts'; zip code of the schools refers school_zip" ] }
{ "query": "What is the average unit price of AKJ Books items?", "pos": [ "AKJ Books items refers to vendor_name = 'AKJ Books'; average unit price refers to DIVIDE(sum(item_unit_price),count(resourceid))" ], "neg": [ "primary focus area is Literature refers to primary_focus_area = 'Literature'", "highest total price including optional support refers to max(total_price_including_optional_support)", "highest optional tip refers to subtract(total_price_including_optional_support, total_price_excluding_optional_support); names of the resources refers to item_name", "zip code \"22205\" refers to donor_zip = '22205'; students impacted refers to students_reached", "book-type projects refers to project_resource_type = 'Books'", "Suffolk County refers to School_county = 'Suffolk'; Ph.D. teachers refers to Teacher_prefix = 'Dr.'", "Needed Resource Materials For My Students refer to title", "how many students refers to students_reached; Fit Firsties! project refers to title = 'Fit Firsties!'", "Bringing Drama to Life' is the title; Percentage = Divide(Count(payment_method = 'creditcard'), Count(projectid))*100;", "literacy subject as primary focus refers to primary_focus_subject = 'Literacy'" ] }
{ "query": "How many number of donations did the project 'A Rug For Reaching Readers' get?", "pos": [ "A Rug For Reaching Readers'is the title;" ], "neg": [ "in Chicago refers to school_city = 'Chicago'; ID of the donor refers to donor_acctid", "320 students will be impacted refers to students_reached = 320; name the project refers to title; project cost refers tp total_price_excluding_optional_support", "highest optional tip refers to subtract(total_price_including_optional_support, total_price_excluding_optional_support); names of the resources refers to item_name", "date refer to date_posted; Lets Share Ideas refer to title", "main subject refers to primary_focus_subject", "literacy subject as primary focus refers to primary_focus_subject = 'Literacy'", "ordered between 5 to 10 items refers to item_quantity between 5 and 10; are from Quill.com refers to vendor_name = 'Quill.com'", "the highest poverty level refers to poverty_level = 'highest poverty'", "iMath is the title; city refers to school_city;", "Rock Hill City School refers to school_city = 'Rock Hill'; teacher donors refers to is_teacher_acct = 't'" ] }
{ "query": "What is the total number of students impacted by the projects with a donation from a donor with zip code \"22205\"?", "pos": [ "zip code \"22205\" refers to donor_zip = '22205'; students impacted refers to students_reached" ], "neg": [ "AKJ Books items refers to vendor_name = 'AKJ Books'; average unit price refers to DIVIDE(sum(item_unit_price),count(resourceid))", "main subject area refers to primary_focus_area = 'Literacy & Language'; highest unit price refers to Max(item_unit_price);", "the highest poverty level refers to poverty_level = 'highest poverty'", "in Los Angeles refers to donor_city = 'Los Angeles'; school in another city refers to school_city ! = 'Los Angeles'", "Literature & Writing' is primary_focus_subject; use 'Mr' as their teacher prefix refers to teacher_prefix = 'Mr';", "in Brooklyn refers to school_city = 'Brooklyn'; highest request of resources refers to max(count(T1.item_name))", "Highest cost of the optional tip refers to Max(total_price_including_optional_support - total_price_excluding_optional_support);", "latitude 42003718 refers to school_latitude = 42003718; longitude -87668289 refers to school_longitude = -87668289", "donors are teachers refers to is_teacher_acct = 't'; affect more than 30 students refers to students_reached>30; Percentage = Divide(Count(students_reached>30), Count(students_reached))*100", "project \"Bloody Times\" refers to title = 'Bloody Times'" ] }
{ "query": "What is the total amount of all the donations made by the donor who made the highest donation in a single amount? Indicate the essay title to where he/she made his/her biggest donation.", "pos": [ "total amount of all the donations refers to sum(donation_total); highest donation refers to max(donation_total)" ], "neg": [ "Awesome Audiobooks Make Avid Readers' is the title; percentage = Divie(donation_optional_support, donation_total)*100;", "teacher \"42d43fa6f37314365d08692e08680973\"refers to teacher_acctid = '42d43fa6f37314365d08692e08680973';", "donors are teachers refers to is_teacher_acct = 't'; affect more than 30 students refers to students_reached>30; Percentage = Divide(Count(students_reached>30), Count(students_reached))*100", "primary focus area is Literature refers to primary_focus_area = 'Literature'", "ordered between 5 to 10 items refers to item_quantity between 5 and 10; are from Quill.com refers to vendor_name = 'Quill.com'", "project \"Bloody Times\" refers to title = 'Bloody Times'", "paid via credit card refer to payment method = creditcard; Memphis City School District refer to school_district", "Bringing Drama to Life' is the title; Percentage = Divide(Count(payment_method = 'creditcard'), Count(projectid))*100;", "project \"Photojournalists Want to Exhibit Their Best Works\" refers to title = 'Photojournalists Want to Exhibit Their Best Works'; when project go live refers to datePosted", "main subject refers to primary_focus_subject" ] }
{ "query": "For the all donations to the project 'Bringing Drama to Life', what is the percentage of the donation is paid by credit card?", "pos": [ "Bringing Drama to Life' is the title; Percentage = Divide(Count(payment_method = 'creditcard'), Count(projectid))*100;" ], "neg": [ "largest donor by amount refers to max(donation_total); total amount of the donation refers to donation_total", "Creating Memories and Inspiring Dreams is title;", "donation at 11:38:43 on 2008/7/29 refers to donation_timestamp = '2008/7/29 11:38:43'; teacher's account ID refers to teacher_acctid;", "Twin Falls is school_country; 'Math & Science' is primary_focus_area;", "in Chicago refers to school_city = 'Chicago'; teachers refers to is_teacher_acct = 't'", "donation \"b39547f29dfc25fb13c6e9e8d940dc43\" refers to donationid = 'b39547f29dfc25fb13c6e9e8d940dc43'; type of resource refers to project_resource_type;", "made in March 2013 refers to substr(donation_timestamp,1,7) = '2013-03'; percentage refers to DIVIDE(SUM(payment_method made in March 2013), SUM(payment_method))*100", "total amount of all the donations refers to sum(donation_total); highest donation refers to max(donation_total)", "not from a teacher refers to is_teacher_acct = 'f'; donor account id refers to donor_acctid; percentage of donation = divide(donation_optional_support, donation_total)*100%", "ordered between 5 to 10 items refers to item_quantity between 5 and 10; are from Quill.com refers to vendor_name = 'Quill.com'" ] }
{ "query": "What is the total donation amount made for projects whose main subject area are Literacy & Language?", "pos": [ "main subject area refers to primary_focus_area = 'Literacy & Language'; total donation amount refers to Sum(dollar_amount);" ], "neg": [ "portion using account credits redemption refers to payment_included_acct_credit = 't'; year-round school refers to school_year_round = 't';", "message refer to donation_message; Newark School District refer to school_district; 40.735332, -74.196014 refer to (school latitude, school_longitude)", "Family History Project refer to title, need statement refer to need_statement", "project \"Photojournalists Want to Exhibit Their Best Works\" refers to title = 'Photojournalists Want to Exhibit Their Best Works'; when project go live refers to datePosted", "Sax Arts & Crafts refer to vendor_name; resource type available refer to project_resource_type\n", "highest optional tip refers to subtract(total_price_including_optional_support, total_price_excluding_optional_support); names of the resources refers to item_name", "zip code \"22205\" refers to donor_zip = '22205'; students impacted refers to students_reached", "320 students will be impacted refers to students_reached = 320; name the project refers to title; project cost refers tp total_price_excluding_optional_support", "zip code \"7079\" refers to donor_zip = '7079'", "largest donor by amount refers to max(donation_total); total amount of the donation refers to donation_total" ] }
{ "query": "How much donations have been collected for project 'Whistle While We Work!'?", "pos": [ "donations collected refers to sum(donation_to_project); project 'Whistle While We Work!' refers to title = 'Whistle While We Work!'" ], "neg": [ "I Can't See It...Can You Help Me???' is the title;", "highest optional tip refers to subtract(total_price_including_optional_support, total_price_excluding_optional_support); names of the resources refers to item_name", "from \"Sax Arts & Crafts\" refers to vendor_name = 'Sax Arts & Crafts'; zip code of the schools refers school_zip", "the most expensive funds refers to max(multiply(item_unit_price, item_quantity))", "Twin Falls is school_country; 'Math & Science' is primary_focus_area;", "donation at 11:38:43 on 2008/7/29 refers to donation_timestamp = '2008/7/29 11:38:43'; teacher's account ID refers to teacher_acctid;", "magnet school refers to school_magnet = 't'; donated resources as books refers to project_resource_type = 'Books'; percentage = Divide(Count(projectid) where project_resource_type = 'Books', Count(projectid))*100", "Coordinates of the school refer to school_latitude, school_longitude); Look, Look, We Need a Nook! Refer to title;", "donors are teachers refers to is_teacher_acct = 't'; affect more than 30 students refers to students_reached>30; Percentage = Divide(Count(students_reached>30), Count(students_reached))*100", "ordered between 5 to 10 items refers to item_quantity between 5 and 10; are from Quill.com refers to vendor_name = 'Quill.com'" ] }
{ "query": "When did the project \"Photojournalists Want to Exhibit Their Best Works\" go live?", "pos": [ "project \"Photojournalists Want to Exhibit Their Best Works\" refers to title = 'Photojournalists Want to Exhibit Their Best Works'; when project go live refers to datePosted" ], "neg": [ "teacher \"42d43fa6f37314365d08692e08680973\" refers to teacher_acctid = '42d43fa6f37314365d08692e08680973';", "magnet school refers to school_magnet = 't'; donated resources as books refers to project_resource_type = 'Books'; percentage = Divide(Count(projectid) where project_resource_type = 'Books', Count(projectid))*100", "main subject area refers to primary_focus_area = 'Literacy & Language'; total donation amount refers to Sum(dollar_amount);", "the highest poverty level refers to poverty_level = 'highest poverty'", "cities refer to school_city; Los Angeles Unified School District refer to school_district = 'Los Angeles Unified School District'; supplies refer to project_resource_type; Quill.com refer to vendor_name", "Coordinates of the school refer to school_latitude, school_longitude); Look, Look, We Need a Nook! Refer to title;", "from teachers refers to is_teacher_acct = 't'; the state of Colorado refers to donor_state = 'CO-Colorado'", "Twin Falls is school_country; 'Math & Science' is primary_focus_area;", "main subject refers to primary_focus_subject", "an honoree refers to for_honoree = 't'; more than $100 refers to dollar_amount = '100_and_up'" ] }
{ "query": "How much did the project that teacher \"822b7b8768c17456fdce78b65abcc18e\" created donate?", "pos": [ "teacher \"822b7b8768c17456fdce78b65abcc18e\" refers to teacher_acctid = '822b7b8768c17456fdce78b65abcc18e'; donated refers to donation_total;" ], "neg": [ "Twin Falls is school_country; 'Math & Science' is primary_focus_area;", "literacy subject as primary focus refers to primary_focus_subject = 'Literacy'", "teach 3-5 grades refers to grade_level = 'Grades 3-5'; 'Boston Public School District' is school_district;", "Mathematics as a primary subject refers to primary_focus_subject = 'Mathematics'; most expensive refers to max(item_unit_price)", "latitude 42003718 refers to school_latitude = 42003718; longitude -87668289 refers to school_longitude = -87668289", "resource type refer to project_resource_type; most commonly bought refer to COUNT(project_resource_type where school_district = ’Los Angeles Unif Sch Dist’); Los Angeles Unified School District refer to school_district = ’Los Angeles Unif Sch Dist’", "wrote \"Smile for the Camera!!!\" refers to title = 'Smile for the Camera!!!'; latitude refers to school_latitude; longitude refers to school_longitude", "Calculate, Financial Security For Tomorrow Starts Today! ' is title; donor is a teacher refers to is_teacher_acct = 't'", "A Rug For Reaching Readers'is the title;", "eachers with Doctor Degree refers to teacher_prefix = 'Dr.'; more than 300 students involved refers to students_reached > 300" ] }
{ "query": "Which project have the highest total price including optional support? Indicate the project id.", "pos": [ "highest total price including optional support refers to max(total_price_including_optional_support)" ], "neg": [ "the most expensive funds refers to max(multiply(item_unit_price, item_quantity))", "teacher \"42d43fa6f37314365d08692e08680973\"refers to teacher_acctid = '42d43fa6f37314365d08692e08680973';", "vendor refer to vendor_name; Classroom Keepers Management Center refer to item_name", "project \"Bloody Times\" refers to title = 'Bloody Times'", "from teachers refers to is_teacher_acct = 't'; the state of Colorado refers to donor_state = 'CO-Colorado'", "largest donor by amount refers to max(donation_total); total amount of the donation refers to donation_total", "Needed Resource Materials For My Students refer to title", "highest optional tip refers to subtract(total_price_including_optional_support, total_price_excluding_optional_support); names of the resources refers to item_name", "Bringing Drama to Life' is the title; Percentage = Divide(Count(payment_method = 'creditcard'), Count(projectid))*100;", "school in Brooklyn refers to school_city = 'Brooklyn'; public magnet refers to school_magnet = 't';" ] }
{ "query": "For the donation of the project 'Awesome Audiobooks Make Avid Readers', what was the percentage of the tip in the total amount?", "pos": [ "Awesome Audiobooks Make Avid Readers' is the title; percentage = Divie(donation_optional_support, donation_total)*100;" ], "neg": [ "total amount refers to sum(donation_total); 2011 refers to donation_timestamp LIKE'2011%'; honoree refers to for_honoree = 't'; via campaign page refers to via_giving_page = 't'", "project name refers to title; costs the most refers to max(total_price_excluding_optional_support); amount collected from donation refers to sum(donation_to_project); percentage amount refers to divide(subtract(total_price_excluding_optional_support, sum(donation_to_project)), sum(donation_to_project))*100%", "for grades 9-12 refers to grade_level = 'Grades 9-12'", "vendor refer to vendor_name; Classroom Keepers Management Center refer to item_name", "resources that were requested refers to item_name; project \"d6ef27c07c30c81f0c16c32b6acfa2ff\" refers to projectid = 'd6ef27c07c30c81f0c16c32b6acfa2ff'; quantities refers to item_quantity; teacher_prefix = 'Dr. ' refers to teacher acquired P.h.D or doctor degree", "zip code \"22205\" refers to donor_zip = '22205'; students impacted refers to students_reached", "technology items refers to project_resource_type = 'Technology'; from Best Buy for Business refers to vendor_name = 'Best Buy for Business'; percentage refers to DIVIDE(count(case when vendor_name = 'Best Buy for Business'),count(projectid))", "latitude 42003718 refers to school_latitude = 42003718; longitude -87668289 refers to school_longitude = -87668289", "date refer to date_posted; Lets Share Ideas refer to title", "donation at 11:38:43 on 2008/7/29 refers to donation_timestamp = '2008/7/29 11:38:43'; teacher's account ID refers to teacher_acctid;" ] }
{ "query": "How many students will be impacted for the Fit Firsties! Project?", "pos": [ "how many students refers to students_reached; Fit Firsties! project refers to title = 'Fit Firsties!'" ], "neg": [ "which state refers to school_state; highest cost of optional support refers to max(donation_optional_support); average cost of optional support = avg(donation_optional_support)", "largest donor by amount refers to max(donation_total); total amount of the donation refers to donation_total", "320 students will be impacted refers to students_reached = 320; name the project refers to title; project cost refers tp total_price_excluding_optional_support", "latitude 42003718 refers to school_latitude = 42003718; longitude -87668289 refers to school_longitude = -87668289", "school in Brooklyn refers to school_city = 'Brooklyn'; public magnet refers to school_magnet = 't';", "Lakeshore Learning Materials is vendor_name; highest cost of labor fulfillment refers to Max(fulfillment_labor_materials);", "average amount of donations = divide(sum(donation_to_project), count(donor_acctid)); project \"Recording Rockin' Readers\" refers to title = 'Recording Rockin' Readers'", "in Chicago refers to school_city = 'Chicago'; teachers refers to is_teacher_acct = 't'", "from \"Sax Arts & Crafts\" refers to vendor_name = 'Sax Arts & Crafts'; zip code of the schools refers school_zip", "zip code \"22205\" refers to donor_zip = '22205'; students impacted refers to students_reached" ] }
{ "query": "Among the technology items, what percentage of them are from Best Buy for Business? Provide the date of the project related to those items.", "pos": [ "technology items refers to project_resource_type = 'Technology'; from Best Buy for Business refers to vendor_name = 'Best Buy for Business'; percentage refers to DIVIDE(count(case when vendor_name = 'Best Buy for Business'),count(projectid))" ], "neg": [ "main subject refers to primary_focus_subject", "Bringing Drama to Life' is the title; Percentage = Divide(Count(payment_method = 'creditcard'), Count(projectid))*100;", "320 students will be impacted refers to students_reached = 320; name the project refers to title; project cost refers tp total_price_excluding_optional_support", "first ever project refers to min(date_posted); names of the resources refers to item_name", "Future Einsteins of America refer to title", "from \"Sax Arts & Crafts\" refers to vendor_name = 'Sax Arts & Crafts'; zip code of the schools refers school_zip", "zip code \"7079\" refers to donor_zip = '7079'", "wrote \"Smile for the Camera!!!\" refers to title = 'Smile for the Camera!!!'; latitude refers to school_latitude; longitude refers to school_longitude", "project name refers to title; describe refers to short_description; New York teachers refers to teacher_ny_teaching_fellow = 't'", "donation \"b39547f29dfc25fb13c6e9e8d940dc43\" refers to donationid = 'b39547f29dfc25fb13c6e9e8d940dc43'; type of resource refers to project_resource_type;" ] }
{ "query": "State the short description for the project which got the donation at 14:44:29 on 2012/9/6.", "pos": [ "donation at 14:44:29 on 2012/9/6 refers to donation_timestamp = '2012/9/6 14:44:29';" ], "neg": [ "resources that were requested refers to item_name; project \"d6ef27c07c30c81f0c16c32b6acfa2ff\" refers to projectid = 'd6ef27c07c30c81f0c16c32b6acfa2ff'; quantities refers to item_quantity; teacher_prefix = 'Dr. ' refers to teacher acquired P.h.D or doctor degree", "Future Einsteins of America refer to title", "highest optional tip refers to subtract(total_price_including_optional_support, total_price_excluding_optional_support); names of the resources refers to item_name", "Sax Arts & Crafts refer to vendor_name; resource type available refer to project_resource_type\n", "city of Pocatello refers to donor_city = 'Pocatello'; not teachers refers to is_teacher_acct = 'f'", "cities refer to school_city; Los Angeles Unified School District refer to school_district = 'Los Angeles Unified School District'; supplies refer to project_resource_type; Quill.com refer to vendor_name", "wrote \"Smile for the Camera!!!\" refers to title = 'Smile for the Camera!!!'; latitude refers to school_latitude; longitude refers to school_longitude", "Lakeshore Learning Materials is vendor_name;  teacher with a doctor degree refers to teacher_prefix = 'Dr.';", "vendor refer to vendor_name; Classroom Keepers Management Center refer to item_name", "suburban metros refer to metro = 'suburban'; Livingston Parish School District refer to school_district" ] }
{ "query": "Which item provided to a project whose main subject area is Literacy & Language has the highest unit price?", "pos": [ "main subject area refers to primary_focus_area = 'Literacy & Language'; highest unit price refers to Max(item_unit_price);" ], "neg": [ "suburban metros refer to metro = 'suburban'; Livingston Parish School District refer to school_district", "the most expensive funds refers to max(multiply(item_unit_price, item_quantity))", "made in March 2013 refers to substr(donation_timestamp,1,7) = '2013-03'; percentage refers to DIVIDE(SUM(payment_method made in March 2013), SUM(payment_method))*100", "ABC School Supply is vendor_name;  public magnet school refers to school_magnet = 't';", "not from a teacher refers to is_teacher_acct = 'f'; donor account id refers to donor_acctid; percentage of donation = divide(donation_optional_support, donation_total)*100%", "donations collected refers to sum(donation_to_project); project 'Whistle While We Work!' refers to title = 'Whistle While We Work!'", "teacher \"822b7b8768c17456fdce78b65abcc18e\" refers to teacher_acctid = '822b7b8768c17456fdce78b65abcc18e'; donated refers to donation_total;", "highest optional tip refers to subtract(total_price_including_optional_support, total_price_excluding_optional_support); names of the resources refers to item_name", "technology items refers to project_resource_type = 'Technology'; from Best Buy for Business refers to vendor_name = 'Best Buy for Business'; percentage refers to DIVIDE(count(case when vendor_name = 'Best Buy for Business'),count(projectid))", "largest donor by amount refers to max(donation_total); total amount of the donation refers to donation_total" ] }
{ "query": "Name and describe all projects created by New York teachers.", "pos": [ "project name refers to title; describe refers to short_description; New York teachers refers to teacher_ny_teaching_fellow = 't'" ], "neg": [ "message refer to donation_message; Newark School District refer to school_district; 40.735332, -74.196014 refer to (school latitude, school_longitude)", "total amount refers to sum(donation_total); 2011 refers to donation_timestamp LIKE'2011%'; honoree refers to for_honoree = 't'; via campaign page refers to via_giving_page = 't'", "project \"Bloody Times\" refers to title = 'Bloody Times'", "donors are teachers refers to is_teacher_acct = 't'; affect more than 30 students refers to students_reached>30; Percentage = Divide(Count(students_reached>30), Count(students_reached))*100", "Needed Resource Materials For My Students refer to title", "urban area refers to school_metro = 'urban'; books resources refers to project_resource_type = 'Books'", "Sax Arts & Crafts refer to vendor_name; resource type available refer to project_resource_type\n", "total amount of all the donations refers to sum(donation_total); highest donation refers to max(donation_total)", "school in Brooklyn refers to school_city = 'Brooklyn'; public magnet refers to school_magnet = 't';", "teacher \"822b7b8768c17456fdce78b65abcc18e\" refers to teacher_acctid = '822b7b8768c17456fdce78b65abcc18e';" ] }
{ "query": "Among the projects whose donators are teachers, what is the percentage of projects that affected more than 30 students?", "pos": [ "donors are teachers refers to is_teacher_acct = 't'; affect more than 30 students refers to students_reached>30; Percentage = Divide(Count(students_reached>30), Count(students_reached))*100" ], "neg": [ "suburban metros refer to metro = 'suburban'; Livingston Parish School District refer to school_district", "Needed Resource Materials For My Students refer to title", "paypal refer to payment method; Lets Share Ideas refer to title; city refer to school_city; total amount donated refer to SUM(donation_total of paypal where payment_method = ’paypal’)", "located in the rural area refers to school_metro = 'rural'; percentage = divide(sum(donation_to_project), sum(donation_to_project where school_metro = 'rural'))*100%", "Mathematics as a primary subject refers to primary_focus_subject = 'Mathematics'; most expensive refers to max(item_unit_price)", "Engaging Young Readers with a Leveled Classroom Library' is the title; total donation amount = Add(donation_to_project, donation_optional_support)", "eachers with Doctor Degree refers to teacher_prefix = 'Dr.'; more than 300 students involved refers to students_reached > 300", "teacher \"822b7b8768c17456fdce78b65abcc18e\" refers to teacher_acctid = '822b7b8768c17456fdce78b65abcc18e';", "main subject refers to primary_focus_subject", "Calculate, Financial Security For Tomorrow Starts Today! ' is title; donor is a teacher refers to is_teacher_acct = 't'" ] }
{ "query": "Who is the largest donor by amount? Give the donation id and the total amount of the donation.", "pos": [ "largest donor by amount refers to max(donation_total); total amount of the donation refers to donation_total" ], "neg": [ "project \"Bloody Times\" refers to title = 'Bloody Times'", "zip code \"7079\" refers to donor_zip = '7079'", "not from a teacher refers to is_teacher_acct = 'f'; donor account id refers to donor_acctid; percentage of donation = divide(donation_optional_support, donation_total)*100%", "donors are teachers refers to is_teacher_acct = 't'; affect more than 30 students refers to students_reached>30; Percentage = Divide(Count(students_reached>30), Count(students_reached))*100", "first ever project refers to min(date_posted); names of the resources refers to item_name", "magnet school refers to school_magnet = 't'; donated resources as books refers to project_resource_type = 'Books'; percentage = Divide(Count(projectid) where project_resource_type = 'Books', Count(projectid))*100", "I Can't See It...Can You Help Me???' is the title;", "iMath is the title; city refers to school_city;", "Coordinates of the school refer to school_latitude, school_longitude); Look, Look, We Need a Nook! Refer to title;", "in Chicago refers to school_city = 'Chicago'; ID of the donor refers to donor_acctid" ] }
{ "query": "What is the total number of projects that was created by the teachers that teach 3-5 grades in Boston Public School District?", "pos": [ "teach 3-5 grades refers to grade_level = 'Grades 3-5'; 'Boston Public School District' is school_district;" ], "neg": [ "Highest cost of the optional tip refers to Max(total_price_including_optional_support - total_price_excluding_optional_support);", "paid via credit card refer to payment method = creditcard; Memphis City School District refer to school_district", "an honoree refers to for_honoree = 't'; more than $100 refers to dollar_amount = '100_and_up'", "which state refers to school_state; highest cost of optional support refers to max(donation_optional_support); average cost of optional support = avg(donation_optional_support)", "project \"Photojournalists Want to Exhibit Their Best Works\" refers to title = 'Photojournalists Want to Exhibit Their Best Works'; when project go live refers to datePosted", "donations collected refers to sum(donation_to_project); project 'Whistle While We Work!' refers to title = 'Whistle While We Work!'", "main subject area refers to primary_focus_area = 'Literacy & Language'; total donation amount refers to Sum(dollar_amount);", "technology items refers to project_resource_type = 'Technology'; from Best Buy for Business refers to vendor_name = 'Best Buy for Business'; percentage refers to DIVIDE(count(case when vendor_name = 'Best Buy for Business'),count(projectid))", "ABC Read project been launched refers to title = 'ABC Read'; percentage refers to DIVIDE(count(case when title = 'ABC Read' then school_county else null end),count(school_county))*100", "zip code \"22205\" refers to donor_zip = '22205'; students impacted refers to students_reached" ] }
{ "query": "On how many projects where the teacher has ordered between 5 to 10 items are from are from Quill.com?", "pos": [ "ordered between 5 to 10 items refers to item_quantity between 5 and 10; are from Quill.com refers to vendor_name = 'Quill.com'" ], "neg": [ "Calculate, Financial Security For Tomorrow Starts Today! ' is title; donor is a teacher refers to is_teacher_acct = 't'", "primary focus area is Literature refers to primary_focus_area = 'Literature'", "wrote \"Smile for the Camera!!!\" refers to title = 'Smile for the Camera!!!'; latitude refers to school_latitude; longitude refers to school_longitude", "Coordinates of the school refer to school_latitude, school_longitude); Look, Look, We Need a Nook! Refer to title;", "date refer to date_posted; Lets Share Ideas refer to title", "the most expensive funds refers to max(multiply(item_unit_price, item_quantity))", "located in the rural area refers to school_metro = 'rural'; percentage = divide(sum(donation_to_project), sum(donation_to_project where school_metro = 'rural'))*100%", "ABC School Supply is vendor_name;  public magnet school refers to school_magnet = 't';", "project name refers to title; costs the most refers to max(total_price_excluding_optional_support); amount collected from donation refers to sum(donation_to_project); percentage amount refers to divide(subtract(total_price_excluding_optional_support, sum(donation_to_project)), sum(donation_to_project))*100%", "in Chicago refers to school_city = 'Chicago'; teachers refers to is_teacher_acct = 't'" ] }
{ "query": "List all the items from \"Sax Arts & Crafts\" and the zip code of the schools that received them.", "pos": [ "from \"Sax Arts & Crafts\" refers to vendor_name = 'Sax Arts & Crafts'; zip code of the schools refers school_zip" ], "neg": [ "average amount of donations = divide(sum(donation_to_project), count(donor_acctid)); project \"Recording Rockin' Readers\" refers to title = 'Recording Rockin' Readers'", "project \"Bloody Times\" refers to title = 'Bloody Times'", "technology items refers to project_resource_type = 'Technology'; from Best Buy for Business refers to vendor_name = 'Best Buy for Business'; percentage refers to DIVIDE(count(case when vendor_name = 'Best Buy for Business'),count(projectid))", "made in March 2013 refers to substr(donation_timestamp,1,7) = '2013-03'; percentage refers to DIVIDE(SUM(payment_method made in March 2013), SUM(payment_method))*100", "A Rug For Reaching Readers'is the title;", "resource type refer to project_resource_type; most commonly bought refer to COUNT(project_resource_type where school_district = ’Los Angeles Unif Sch Dist’); Los Angeles Unified School District refer to school_district = ’Los Angeles Unif Sch Dist’", "the highest poverty level refers to poverty_level = 'highest poverty'", "Coordinates of the school refer to school_latitude, school_longitude); Look, Look, We Need a Nook! Refer to title;", "teacher \"822b7b8768c17456fdce78b65abcc18e\" refers to teacher_acctid = '822b7b8768c17456fdce78b65abcc18e';", "eachers with Doctor Degree refers to teacher_prefix = 'Dr.'; more than 300 students involved refers to students_reached > 300" ] }
{ "query": "Did the project 'I Can't See It...Can You Help Me???' get the tip for the donation?", "pos": [ "I Can't See It...Can You Help Me???' is the title;" ], "neg": [ "donations collected refers to sum(donation_to_project); project 'Whistle While We Work!' refers to title = 'Whistle While We Work!'", "project 'Lights, Camera, Action!' refers to title = 'Lights, Camera, Action!'", "latitude 42003718 refers to school_latitude = 42003718; longitude -87668289 refers to school_longitude = -87668289", "Bringing Drama to Life' is the title; Percentage = Divide(Count(payment_method = 'creditcard'), Count(projectid))*100;", "average amount of donations = divide(sum(donation_to_project), count(donor_acctid)); project \"Recording Rockin' Readers\" refers to title = 'Recording Rockin' Readers'", "Coordinates of the school refer to school_latitude, school_longitude); Look, Look, We Need a Nook! Refer to title;", "Highest cost of the optional tip refers to Max(total_price_including_optional_support - total_price_excluding_optional_support);", "cities refer to school_city; Los Angeles Unified School District refer to school_district = 'Los Angeles Unified School District'; supplies refer to project_resource_type; Quill.com refer to vendor_name", "highest total price including optional support refers to max(total_price_including_optional_support)", "Future Einsteins of America refer to title" ] }
{ "query": "Write down the need statement of Family History Project.", "pos": [ "Family History Project refer to title, need statement refer to need_statement" ], "neg": [ "iMath is the title; city refers to school_city;", "urban area refers to school_metro = 'urban'; books resources refers to project_resource_type = 'Books'", "paypal refer to payment method; Lets Share Ideas refer to title; city refer to school_city; total amount donated refer to SUM(donation_total of paypal where payment_method = ’paypal’)", "Creating Memories and Inspiring Dreams is title;", "project 'Lights, Camera, Action!' refers to title = 'Lights, Camera, Action!'", "teacher \"42d43fa6f37314365d08692e08680973\" refers to teacher_acctid = '42d43fa6f37314365d08692e08680973';", "city of Pocatello refers to donor_city = 'Pocatello'; not teachers refers to is_teacher_acct = 'f'", "resource type refer to project_resource_type; most commonly bought refer to COUNT(project_resource_type where school_district = ’Los Angeles Unif Sch Dist’); Los Angeles Unified School District refer to school_district = ’Los Angeles Unif Sch Dist’", "donation \"b39547f29dfc25fb13c6e9e8d940dc43\" refers to donationid = 'b39547f29dfc25fb13c6e9e8d940dc43'; type of resource refers to project_resource_type;", "suburban metros refer to metro = 'suburban'; Livingston Parish School District refer to school_district" ] }
{ "query": "Which item provided for projects with Mathematics as a primary subject is the most expensive?", "pos": [ "Mathematics as a primary subject refers to primary_focus_subject = 'Mathematics'; most expensive refers to max(item_unit_price)" ], "neg": [ "donation at 11:38:43 on 2008/7/29 refers to donation_timestamp = '2008/7/29 11:38:43'; teacher's account ID refers to teacher_acctid;", "wrote \"Smile for the Camera!!!\" refers to title = 'Smile for the Camera!!!'; latitude refers to school_latitude; longitude refers to school_longitude", "which state refers to school_state; highest cost of optional support refers to max(donation_optional_support); average cost of optional support = avg(donation_optional_support)", "ordered between 5 to 10 items refers to item_quantity between 5 and 10; are from Quill.com refers to vendor_name = 'Quill.com'", "for grades 9-12 refers to grade_level = 'Grades 9-12'", "primary focus area is Literature refers to primary_focus_area = 'Literature'", "main subject area refers to primary_focus_area = 'Literacy & Language'; total donation amount refers to Sum(dollar_amount);", "latitude 42003718 refers to school_latitude = 42003718; longitude -87668289 refers to school_longitude = -87668289", "teach 3-5 grades refers to grade_level = 'Grades 3-5'; 'Boston Public School District' is school_district;", "zip code \"22205\" refers to donor_zip = '22205'; students impacted refers to students_reached" ] }