set
dict
{ "query": "List all the ingredients of Apricot Yogurt Parfaits.", "pos": [ "Apricot Yogurt Parfaits refers to title" ], "neg": [ "names of the recipes refers to title; best for wound healing refers to MAX(vitamin_c)", "no cholesterol refers to cholestrl = 0; cooking time less than 20 minutes refers to cook_min < 20; calculation = MULTIPLY(DIVIDE(COUNT(cholestrl = 0 THEN recipe_id), COUNT(recipe_id)), 100)", "The California Tree Fruit Agreement is a source; calculation = MULTIPLY(DIVIDE(COUNT(sodium BETWEEN 0 AND 5 THEN recipe_id), COUNT(recipe_id)), 100)", "ingredient appeared the least in recipes refers to MIN(ingredient_id)", "can lead to constipation refers to iron > 20", "Raspberry Chiffon Pie refers to title; unsaturated fat refers to SUBTRACT(total_fat, sat_fat)", "almond extract is a name of an ingredient", "the National Potato Board is a source; the highest calories refers to MAX(calories)", "dairy recipes refers to category = 'dairy'; serve more than 10 people refers to servings > 10", "'cook in beef broth' refers to a preparation" ] }
{ "query": "Calculate the percentage of recipes with no cholesterol included and have a cooking time less than 20 minutes among all recipes.", "pos": [ "no cholesterol refers to cholestrl = 0; cooking time less than 20 minutes refers to cook_min < 20; calculation = MULTIPLY(DIVIDE(COUNT(cholestrl = 0 THEN recipe_id), COUNT(recipe_id)), 100)" ], "neg": [ "can lead to constipation refers to iron > 20", "The California Tree Fruit Agreement is a source; calculation = MULTIPLY(DIVIDE(COUNT(sodium BETWEEN 0 AND 5 THEN recipe_id), COUNT(recipe_id)), 100)", "the longest cooking time refers to MAX(cook_min)", "no.1397 recipe refers to recipe_id = 1397; optional ingredient refers to optional = 'TRUE'", "names of the recipes refers to title; best for wound healing refers to MAX(vitamin_c)", "Apricot Yogurt Parfaits refers to title", "with alcohol content over 10 refers to alcohol > 10; takes the longest to prepare refers to MAX(prep_min)", "non-dairy refers to category NOT LIKE '%dairy\"", "turkey tenderloin refers to title", "Sherry beef refers to title = 'Sherried Beef'" ] }
{ "query": "Name the recipe with the most Vitamin C.", "pos": [ "the most Vitamin C refers to MAX(vitamin_c)" ], "neg": [ "names of the recipes refers to title; best for wound healing refers to MAX(vitamin_c)", "lead to constipation refers to iron > 20", "1% lowfat milk is a name of an ingredient; no.1436 recipe refers to recipe_id = 1436; max_qty = min_qty", "the highest vitamin that helps vision in dim light refers to MAX(vitamin_a)", "Sherry beef refers to title = 'Sherried Beef'", "dairy recipes refers to category = 'dairy'; serve more than 10 people refers to servings > 10", "the highest number of ingredients refers to MAX(ingredient_id); total time refers to recipe_id, total time of cooking refers to TOTAL(prep_min, cook_min, stnd_min)", "with alcohol content over 10 refers to alcohol > 10; takes the longest to prepare refers to MAX(prep_min)", "ingredient appeared the least in recipes refers to MIN(ingredient_id)", "the most widely used ingredient refers to MAX(COUNT(ingredient_id))" ] }
{ "query": "Please list the titles of all the recipes that are salt/sodium-free.", "pos": [ "salt/sodium-free refers to sodium < 5" ], "neg": [ "with the highest unsaturated fat refers MAX(SUBTRACT(total_fat, sat_fat))", "calories from fat refers to MULTIPLY(calories, pcnt_cal_fat)||'%; Raspberry Chiffon Pie refers to title", "no.1397 recipe refers to recipe_id = 1397; optional ingredient refers to optional = 'TRUE'", "ingredient appeared the most in recipes refers to MAX(COUNT(ingredient_id)); calculation = MULTIPLY(DIVIDE(COUNT(MAX(ingredient_id)), COUNT(ingredient_id)), 100)", "almond extract is a name of an ingredient", "Raspberry Chiffon Pie and Fresh Apricot Bavarian are title; vitamin_c is higher refers to MAX(vitamin_c)", "the highest vitamin that helps vision in dim light refers to MAX(vitamin_a)", "non-dairy refers to category NOT LIKE '%dairy\"", "canned dairy is a category", "names of the recipes refers to title; best for wound healing refers to MAX(vitamin_c)" ] }
{ "query": "List the names of recipes that can lead to constipation.", "pos": [ "lead to constipation refers to iron > 20" ], "neg": [ "The California Tree Fruit Agreement is a source; calculation = MULTIPLY(DIVIDE(COUNT(sodium BETWEEN 0 AND 5 THEN recipe_id), COUNT(recipe_id)), 100)", "the highest possibility of gaining weight refers to MAX(total_fat); total time refers to recipe_id, total time refers to TOTAL(prep_min, cook_min, stnd_min)", "calories from fat refers to MULTIPLY(calories, pcnt_cal_fat)||'%; Raspberry Chiffon Pie refers to title", "Tomato-Cucumber Relish refers to title", "salt/sodium-free refers to sodium < 5", "no.1397 recipe refers to recipe_id = 1397; optional ingredient refers to optional = 'TRUE'", "cheese is a category; calories greater than 200 refers to calories > 200; calculation = MULTIPLY(DIVIDE(COUNT(calories > 200 THEN recipe_id), COUNT(recipe_id)), 100)", "Apricot Yogurt Parfaits refers to title", "'cook in beef broth' refers to a preparation", "'graham cracker crumbs' is a name of an ingredient; 'Raspberry Chiffon Pie' refers to title" ] }
{ "query": "How many recipes can be made with canned dairy?", "pos": [ "canned dairy is a category" ], "neg": [ "names of the recipes refers to title; best for wound healing refers to MAX(vitamin_c)", "the highest number of ingredients refers to MAX(ingredient_id); total time refers to recipe_id, total time of cooking refers to TOTAL(prep_min, cook_min, stnd_min)", "'cook in beef broth' refers to a preparation", "Apricot Yogurt Parfaits refers to title", "calories from fat refers to MULTIPLY(calories, pcnt_cal_fat)||'%; Raspberry Chiffon Pie refers to title", "lead to constipation refers to iron > 20", "ingredient appeared the most in recipes refers to MAX(COUNT(ingredient_id)); calculation = MULTIPLY(DIVIDE(COUNT(MAX(ingredient_id)), COUNT(ingredient_id)), 100)", "the most widely used ingredient refers to MAX(COUNT(ingredient_id))", "more than 10 minutes to prepare refers to prep_min > 10; the most calories refers to MAX(calories)", "can lead to constipation refers to iron > 20" ] }
{ "query": "How many ingredients are there in Apricot Yogurt Parfaits?", "pos": [ "Apricot Yogurt Parfaits refers to title" ], "neg": [ "The California Tree Fruit Agreement is a source; calculation = MULTIPLY(DIVIDE(COUNT(sodium BETWEEN 0 AND 5 THEN recipe_id), COUNT(recipe_id)), 100)", "the most Vitamin C refers to MAX(vitamin_c)", "'cook in beef broth' refers to a preparation", "salt/sodium-free refers to sodium < 5", "no cholesterol refers to cholestrl = 0; cooking time less than 20 minutes refers to cook_min < 20; calculation = MULTIPLY(DIVIDE(COUNT(cholestrl = 0 THEN recipe_id), COUNT(recipe_id)), 100)", "the highest number of ingredients refers to MAX(ingredient_id); total time refers to recipe_id, total time of cooking refers to TOTAL(prep_min, cook_min, stnd_min)", "slices refers to unit = 'slice(s)'", "'graham cracker crumbs' is a name of an ingredient", "the National Potato Board is a source; the highest calories refers to MAX(calories)", "non-dairy refers to category NOT LIKE '%dairy\"" ] }
{ "query": "Among the recipes that take more than 10 minutes to prepare, what is the title of the one with the most calories?", "pos": [ "more than 10 minutes to prepare refers to prep_min > 10; the most calories refers to MAX(calories)" ], "neg": [ "no.1397 recipe refers to recipe_id = 1397; optional ingredient refers to optional = 'TRUE'", "Raspberry Chiffon Pie refers to title; unsaturated fat refers to SUBTRACT(total_fat, sat_fat)", "ingredient appeared the least in recipes refers to MIN(ingredient_id)", "the highest number of ingredients refers to MAX(ingredient_id); total time refers to recipe_id, total time of cooking refers to TOTAL(prep_min, cook_min, stnd_min)", "Raspberry Chiffon Pie refers to title", "cheese is a category; calories greater than 200 refers to calories > 200; calculation = MULTIPLY(DIVIDE(COUNT(calories > 200 THEN recipe_id), COUNT(recipe_id)), 100)", "turkey tenderloin refers to title", "names of the recipes refers to title; best for wound healing refers to MAX(vitamin_c)", "Raspberry Chiffon Pie refers to title; ingredient must be rationed refers to max_qty = min_qty", "1% lowfat milk is a name of an ingredient; no.1436 recipe refers to recipe_id = 1436; max_qty = min_qty" ] }
{ "query": "How many servings does the recipe with the highest unsaturated fat have?", "pos": [ "with the highest unsaturated fat refers MAX(SUBTRACT(total_fat, sat_fat))" ], "neg": [ "The California Tree Fruit Agreement is a source; calculation = MULTIPLY(DIVIDE(COUNT(sodium BETWEEN 0 AND 5 THEN recipe_id), COUNT(recipe_id)), 100)", "Apricot Yogurt Parfaits refers to title", "can lead to constipation refers to iron > 20", "'graham cracker crumbs' is a name of an ingredient; 'Raspberry Chiffon Pie' refers to title", "no.1397 recipe refers to recipe_id = 1397; optional ingredient refers to optional = 'TRUE'", "ingredient appeared the most in recipes refers to MAX(COUNT(ingredient_id)); calculation = MULTIPLY(DIVIDE(COUNT(MAX(ingredient_id)), COUNT(ingredient_id)), 100)", "Raspberry Chiffon Pie refers to title; ingredient must be rationed refers to max_qty = min_qty", "names of the recipes refers to title; best for wound healing refers to MAX(vitamin_c)", "cheese is a category; calories greater than 200 refers to calories > 200; calculation = MULTIPLY(DIVIDE(COUNT(calories > 200 THEN recipe_id), COUNT(recipe_id)), 100)", "cups is a unit; almonds is a name of an ingredient; chicken pocket sandwich refers to title" ] }
{ "query": "How many recipes are non-dairy?", "pos": [ "non-dairy refers to category NOT LIKE '%dairy\"" ], "neg": [ "Raspberry Chiffon Pie refers to title", "cheese is a category; calories greater than 200 refers to calories > 200; calculation = MULTIPLY(DIVIDE(COUNT(calories > 200 THEN recipe_id), COUNT(recipe_id)), 100)", "turkey tenderloin refers to title", "Raspberry Chiffon Pie and Fresh Apricot Bavarian are title; vitamin_c is higher refers to MAX(vitamin_c)", "dairy recipes refers to category = 'dairy'; serve more than 10 people refers to servings > 10", "with the highest unsaturated fat refers MAX(SUBTRACT(total_fat, sat_fat))", "Apricot Yogurt Parfaits refers to title", "'graham cracker crumbs' is a name of an ingredient; 'Raspberry Chiffon Pie' refers to title", "'graham cracker crumbs' is a name of an ingredient", "The California Tree Fruit Agreement is a source; calculation = MULTIPLY(DIVIDE(COUNT(sodium BETWEEN 0 AND 5 THEN recipe_id), COUNT(recipe_id)), 100)" ] }
{ "query": "Describe the ingredients in the recipe with the highest vitamin that helps vision in dim light.", "pos": [ "the highest vitamin that helps vision in dim light refers to MAX(vitamin_a)" ], "neg": [ "with alcohol content over 10 refers to alcohol > 10; takes the longest to prepare refers to MAX(prep_min)", "non-dairy refers to category NOT LIKE '%dairy\"", "salt/sodium-free refers to sodium < 5", "slices refers to unit = 'slice(s)'", "more than 10 minutes to prepare refers to prep_min > 10; the most calories refers to MAX(calories)", "the most Vitamin C refers to MAX(vitamin_c)", "the highest possibility of gaining weight refers to MAX(total_fat); total time refers to recipe_id, total time refers to TOTAL(prep_min, cook_min, stnd_min)", "almond extract is a name of an ingredient", "no cholesterol refers to cholestrl = 0; cooking time less than 20 minutes refers to cook_min < 20; calculation = MULTIPLY(DIVIDE(COUNT(cholestrl = 0 THEN recipe_id), COUNT(recipe_id)), 100)", "the highest number of ingredients refers to MAX(ingredient_id); total time refers to recipe_id, total time of cooking refers to TOTAL(prep_min, cook_min, stnd_min)" ] }
{ "query": "How many calories does the turkey tenderloin bundles recipe have?", "pos": [ "turkey tenderloin refers to title" ], "neg": [ "Raspberry Chiffon Pie refers to title", "dairy recipes refers to category = 'dairy'; serve more than 10 people refers to servings > 10", "sea bass is a name of an ingredient; can serve 10 people and above refers to servings > = 10; calculation = MULTIPLY(DIVIDE(COUNT(servings > = 10 THEN recipe_id)), COUNT(recipe_id), 100)", "The California Tree Fruit Agreement is a source; calculation = MULTIPLY(DIVIDE(COUNT(sodium BETWEEN 0 AND 5 THEN recipe_id), COUNT(recipe_id)), 100)", "Sherry beef refers to title = 'Sherried Beef'", "Raspberry Chiffon Pie and Fresh Apricot Bavarian are title; vitamin_c is higher refers to MAX(vitamin_c)", "names of the recipes refers to title; best for wound healing refers to MAX(vitamin_c)", "salt/sodium-free refers to sodium < 5", "ingredient appeared the least in recipes refers to MIN(ingredient_id)", "the highest possibility of gaining weight refers to MAX(total_fat); total time refers to recipe_id, total time refers to TOTAL(prep_min, cook_min, stnd_min)" ] }
{ "query": "List the ingredients in Tomato-Cucumber Relish.", "pos": [ "Tomato-Cucumber Relish refers to title" ], "neg": [ "1% lowfat milk is a name of an ingredient; no.1436 recipe refers to recipe_id = 1436; max_qty = min_qty", "more than 10 minutes to prepare refers to prep_min > 10; the most calories refers to MAX(calories)", "Raspberry Chiffon Pie refers to title; ingredient must be rationed refers to max_qty = min_qty", "turkey tenderloin refers to title", "slices refers to unit = 'slice(s)'", "Raspberry Chiffon Pie refers to title; unsaturated fat refers to SUBTRACT(total_fat, sat_fat)", "the highest number of ingredients refers to MAX(ingredient_id); total time refers to recipe_id, total time of cooking refers to TOTAL(prep_min, cook_min, stnd_min)", "no.1397 recipe refers to recipe_id = 1397; optional ingredient refers to optional = 'TRUE'", "the highest vitamin that helps vision in dim light refers to MAX(vitamin_a)", "Raspberry Chiffon Pie and Fresh Apricot Bavarian are title; vitamin_c is higher refers to MAX(vitamin_c)" ] }
{ "query": "Provide the title and total time of the recipe which has the highest possibility of gaining weight.", "pos": [ "the highest possibility of gaining weight refers to MAX(total_fat); total time refers to recipe_id, total time refers to TOTAL(prep_min, cook_min, stnd_min)" ], "neg": [ "the longest cooking time refers to MAX(cook_min)", "lead to constipation refers to iron > 20", "more than 10 minutes to prepare refers to prep_min > 10; the most calories refers to MAX(calories)", "the highest vitamin that helps vision in dim light refers to MAX(vitamin_a)", "Raspberry Chiffon Pie refers to title", "ingredient appeared the most in recipes refers to MAX(COUNT(ingredient_id)); calculation = MULTIPLY(DIVIDE(COUNT(MAX(ingredient_id)), COUNT(ingredient_id)), 100)", "the National Potato Board is a source; the highest calories refers to MAX(calories)", "Raspberry Chiffon Pie and Fresh Apricot Bavarian are title; vitamin_c is higher refers to MAX(vitamin_c)", "The California Tree Fruit Agreement is a source; calculation = MULTIPLY(DIVIDE(COUNT(sodium BETWEEN 0 AND 5 THEN recipe_id), COUNT(recipe_id)), 100)", "no cholesterol refers to cholestrl = 0; cooking time less than 20 minutes refers to cook_min < 20; calculation = MULTIPLY(DIVIDE(COUNT(cholestrl = 0 THEN recipe_id), COUNT(recipe_id)), 100)" ] }
{ "query": "What is the unsaturated fat content in the recipe \"Raspberry Chiffon Pie\"?", "pos": [ "Raspberry Chiffon Pie refers to title; unsaturated fat refers to SUBTRACT(total_fat, sat_fat)" ], "neg": [ "'graham cracker crumbs' is a name of an ingredient", "the most Vitamin C refers to MAX(vitamin_c)", "Raspberry Chiffon Pie refers to title", "cups is a unit; almonds is a name of an ingredient; chicken pocket sandwich refers to title", "canned dairy is a category", "almond extract is a name of an ingredient", "more than 10 minutes to prepare refers to prep_min > 10; the most calories refers to MAX(calories)", "names of the recipes refers to title; best for wound healing refers to MAX(vitamin_c)", "can lead to constipation refers to iron > 20", "slices refers to unit = 'slice(s)'" ] }
{ "query": "What are the names of the top 5 recipes that are best for wound healing?", "pos": [ "names of the recipes refers to title; best for wound healing refers to MAX(vitamin_c)" ], "neg": [ "ingredient appeared the least in recipes refers to MIN(ingredient_id)", "can lead to constipation refers to iron > 20", "salt/sodium-free refers to sodium < 5", "The California Tree Fruit Agreement is a source; calculation = MULTIPLY(DIVIDE(COUNT(sodium BETWEEN 0 AND 5 THEN recipe_id), COUNT(recipe_id)), 100)", "slices refers to unit = 'slice(s)'", "'graham cracker crumbs' is a name of an ingredient", "sea bass is a name of an ingredient; can serve 10 people and above refers to servings > = 10; calculation = MULTIPLY(DIVIDE(COUNT(servings > = 10 THEN recipe_id)), COUNT(recipe_id), 100)", "the most Vitamin C refers to MAX(vitamin_c)", "dairy recipes refers to category = 'dairy'; serve more than 10 people refers to servings > 10", "lead to constipation refers to iron > 20" ] }
{ "query": "Among all recipes containing cheese, what is the percentage of recipes with calories greater than 200?", "pos": [ "cheese is a category; calories greater than 200 refers to calories > 200; calculation = MULTIPLY(DIVIDE(COUNT(calories > 200 THEN recipe_id), COUNT(recipe_id)), 100)" ], "neg": [ "The California Tree Fruit Agreement is a source; calculation = MULTIPLY(DIVIDE(COUNT(sodium BETWEEN 0 AND 5 THEN recipe_id), COUNT(recipe_id)), 100)", "with alcohol content over 10 refers to alcohol > 10; takes the longest to prepare refers to MAX(prep_min)", "ingredient appeared the most in recipes refers to MAX(COUNT(ingredient_id)); calculation = MULTIPLY(DIVIDE(COUNT(MAX(ingredient_id)), COUNT(ingredient_id)), 100)", "Apricot Yogurt Parfaits refers to title", "can lead to constipation refers to iron > 20", "no.1397 recipe refers to recipe_id = 1397; optional ingredient refers to optional = 'TRUE'", "Raspberry Chiffon Pie and Fresh Apricot Bavarian are title; vitamin_c is higher refers to MAX(vitamin_c)", "Apricot Yogurt Parfaits refers to title", "with the highest unsaturated fat refers MAX(SUBTRACT(total_fat, sat_fat))", "salt/sodium-free refers to sodium < 5" ] }
{ "query": "What ingredients does the longest cooking time recipe have?", "pos": [ "the longest cooking time refers to MAX(cook_min)" ], "neg": [ "the National Potato Board is a source; the highest calories refers to MAX(calories)", "non-dairy refers to category NOT LIKE '%dairy\"", "with the highest unsaturated fat refers MAX(SUBTRACT(total_fat, sat_fat))", "cups is a unit; almonds is a name of an ingredient; chicken pocket sandwich refers to title", "the most widely used ingredient refers to MAX(COUNT(ingredient_id))", "no cholesterol refers to cholestrl = 0; cooking time less than 20 minutes refers to cook_min < 20; calculation = MULTIPLY(DIVIDE(COUNT(cholestrl = 0 THEN recipe_id), COUNT(recipe_id)), 100)", "Tomato-Cucumber Relish refers to title", "'graham cracker crumbs' is a name of an ingredient; 'Raspberry Chiffon Pie' refers to title", "ingredient appeared the least in recipes refers to MIN(ingredient_id)", "sea bass is a name of an ingredient; can serve 10 people and above refers to servings > = 10; calculation = MULTIPLY(DIVIDE(COUNT(servings > = 10 THEN recipe_id)), COUNT(recipe_id), 100)" ] }
{ "query": "How many dairy recipes can serve more than 10 people?", "pos": [ "dairy recipes refers to category = 'dairy'; serve more than 10 people refers to servings > 10" ], "neg": [ "'graham cracker crumbs' is a name of an ingredient", "salt/sodium-free refers to sodium < 5", "the most Vitamin C refers to MAX(vitamin_c)", "Apricot Yogurt Parfaits refers to title", "the highest number of ingredients refers to MAX(ingredient_id); total time refers to recipe_id, total time of cooking refers to TOTAL(prep_min, cook_min, stnd_min)", "Raspberry Chiffon Pie refers to title; ingredient must be rationed refers to max_qty = min_qty", "turkey tenderloin refers to title", "Raspberry Chiffon Pie and Fresh Apricot Bavarian are title; vitamin_c is higher refers to MAX(vitamin_c)", "the highest possibility of gaining weight refers to MAX(total_fat); total time refers to recipe_id, total time refers to TOTAL(prep_min, cook_min, stnd_min)", "no cholesterol refers to cholestrl = 0; cooking time less than 20 minutes refers to cook_min < 20; calculation = MULTIPLY(DIVIDE(COUNT(cholestrl = 0 THEN recipe_id), COUNT(recipe_id)), 100)" ] }
{ "query": "Which recipe is more beneficial in wound healing, \"Raspberry Chiffon Pie\" or \"Fresh Apricot Bavarian\"?", "pos": [ "Raspberry Chiffon Pie and Fresh Apricot Bavarian are title; vitamin_c is higher refers to MAX(vitamin_c)" ], "neg": [ "Sherry beef refers to title = 'Sherried Beef'", "'cook in beef broth' refers to a preparation", "dairy recipes refers to category = 'dairy'; serve more than 10 people refers to servings > 10", "non-dairy refers to category NOT LIKE '%dairy\"", "canned dairy is a category", "'graham cracker crumbs' is a name of an ingredient; 'Raspberry Chiffon Pie' refers to title", "ingredient appeared the least in recipes refers to MIN(ingredient_id)", "with the highest unsaturated fat refers MAX(SUBTRACT(total_fat, sat_fat))", "cheese is a category; calories greater than 200 refers to calories > 200; calculation = MULTIPLY(DIVIDE(COUNT(calories > 200 THEN recipe_id), COUNT(recipe_id)), 100)", "'graham cracker crumbs' is a name of an ingredient" ] }
{ "query": "How many calories from fat are there in the recipe \"Raspberry Chiffon Pie\"?", "pos": [ "calories from fat refers to MULTIPLY(calories, pcnt_cal_fat)||'%; Raspberry Chiffon Pie refers to title" ], "neg": [ "1% lowfat milk is a name of an ingredient; no.1436 recipe refers to recipe_id = 1436; max_qty = min_qty", "the most widely used ingredient refers to MAX(COUNT(ingredient_id))", "Tomato-Cucumber Relish refers to title", "with the highest unsaturated fat refers MAX(SUBTRACT(total_fat, sat_fat))", "Raspberry Chiffon Pie refers to title", "the National Potato Board is a source; the highest calories refers to MAX(calories)", "no cholesterol refers to cholestrl = 0; cooking time less than 20 minutes refers to cook_min < 20; calculation = MULTIPLY(DIVIDE(COUNT(cholestrl = 0 THEN recipe_id), COUNT(recipe_id)), 100)", "with alcohol content over 10 refers to alcohol > 10; takes the longest to prepare refers to MAX(prep_min)", "Apricot Yogurt Parfaits refers to title", "the highest number of ingredients refers to MAX(ingredient_id); total time refers to recipe_id, total time of cooking refers to TOTAL(prep_min, cook_min, stnd_min)" ] }
{ "query": "How much fat does the Raspberry Chiffon Pie have?", "pos": [ "Raspberry Chiffon Pie refers to title" ], "neg": [ "cheese is a category; calories greater than 200 refers to calories > 200; calculation = MULTIPLY(DIVIDE(COUNT(calories > 200 THEN recipe_id), COUNT(recipe_id)), 100)", "Tomato-Cucumber Relish refers to title", "the longest cooking time refers to MAX(cook_min)", "cups is a unit; almonds is a name of an ingredient; chicken pocket sandwich refers to title", "the highest vitamin that helps vision in dim light refers to MAX(vitamin_a)", "Apricot Yogurt Parfaits refers to title", "almond extract is a name of an ingredient", "salt/sodium-free refers to sodium < 5", "ingredient appeared the most in recipes refers to MAX(COUNT(ingredient_id)); calculation = MULTIPLY(DIVIDE(COUNT(MAX(ingredient_id)), COUNT(ingredient_id)), 100)", "'graham cracker crumbs' is a name of an ingredient; 'Raspberry Chiffon Pie' refers to title" ] }
{ "query": "Which recipes contain almond extract?", "pos": [ "almond extract is a name of an ingredient" ], "neg": [ "calories from fat refers to MULTIPLY(calories, pcnt_cal_fat)||'%; Raspberry Chiffon Pie refers to title", "lead to constipation refers to iron > 20", "with the highest unsaturated fat refers MAX(SUBTRACT(total_fat, sat_fat))", "the longest cooking time refers to MAX(cook_min)", "Raspberry Chiffon Pie refers to title; ingredient must be rationed refers to max_qty = min_qty", "Raspberry Chiffon Pie refers to title; unsaturated fat refers to SUBTRACT(total_fat, sat_fat)", "Sherry beef refers to title = 'Sherried Beef'", "The California Tree Fruit Agreement is a source; calculation = MULTIPLY(DIVIDE(COUNT(sodium BETWEEN 0 AND 5 THEN recipe_id), COUNT(recipe_id)), 100)", "can lead to constipation refers to iron > 20", "Raspberry Chiffon Pie refers to title" ] }
{ "query": "What are the names of the ingredients that need to be cook in beef broth?", "pos": [ "'cook in beef broth' refers to a preparation" ], "neg": [ "the National Potato Board is a source; the highest calories refers to MAX(calories)", "Apricot Yogurt Parfaits refers to title", "with alcohol content over 10 refers to alcohol > 10; takes the longest to prepare refers to MAX(prep_min)", "turkey tenderloin refers to title", "'graham cracker crumbs' is a name of an ingredient", "ingredient appeared the least in recipes refers to MIN(ingredient_id)", "no.1397 recipe refers to recipe_id = 1397; optional ingredient refers to optional = 'TRUE'", "salt/sodium-free refers to sodium < 5", "names of the recipes refers to title; best for wound healing refers to MAX(vitamin_c)", "calories from fat refers to MULTIPLY(calories, pcnt_cal_fat)||'%; Raspberry Chiffon Pie refers to title" ] }
{ "query": "How much Vitamin A is in Sherry beef?", "pos": [ "Sherry beef refers to title = 'Sherried Beef'" ], "neg": [ "turkey tenderloin refers to title", "Raspberry Chiffon Pie refers to title; unsaturated fat refers to SUBTRACT(total_fat, sat_fat)", "ingredient appeared the most in recipes refers to MAX(COUNT(ingredient_id)); calculation = MULTIPLY(DIVIDE(COUNT(MAX(ingredient_id)), COUNT(ingredient_id)), 100)", "cups is a unit; almonds is a name of an ingredient; chicken pocket sandwich refers to title", "cheese is a category; calories greater than 200 refers to calories > 200; calculation = MULTIPLY(DIVIDE(COUNT(calories > 200 THEN recipe_id), COUNT(recipe_id)), 100)", "the longest cooking time refers to MAX(cook_min)", "slices refers to unit = 'slice(s)'", "Raspberry Chiffon Pie refers to title", "dairy recipes refers to category = 'dairy'; serve more than 10 people refers to servings > 10", "non-dairy refers to category NOT LIKE '%dairy\"" ] }
{ "query": "Among the recipes whose source is the National Potato Board, which recipe has the highest calories?", "pos": [ "the National Potato Board is a source; the highest calories refers to MAX(calories)" ], "neg": [ "'cook in beef broth' refers to a preparation", "more than 10 minutes to prepare refers to prep_min > 10; the most calories refers to MAX(calories)", "the highest number of ingredients refers to MAX(ingredient_id); total time refers to recipe_id, total time of cooking refers to TOTAL(prep_min, cook_min, stnd_min)", "salt/sodium-free refers to sodium < 5", "no cholesterol refers to cholestrl = 0; cooking time less than 20 minutes refers to cook_min < 20; calculation = MULTIPLY(DIVIDE(COUNT(cholestrl = 0 THEN recipe_id), COUNT(recipe_id)), 100)", "the highest possibility of gaining weight refers to MAX(total_fat); total time refers to recipe_id, total time refers to TOTAL(prep_min, cook_min, stnd_min)", "Sherry beef refers to title = 'Sherried Beef'", "Raspberry Chiffon Pie refers to title; ingredient must be rationed refers to max_qty = min_qty", "turkey tenderloin refers to title", "with the highest unsaturated fat refers MAX(SUBTRACT(total_fat, sat_fat))" ] }
{ "query": "How many cups of 1% lowfat milk should be added to no.1436 recipe?", "pos": [ "1% lowfat milk is a name of an ingredient; no.1436 recipe refers to recipe_id = 1436; max_qty = min_qty" ], "neg": [ "ingredient appeared the least in recipes refers to MIN(ingredient_id)", "salt/sodium-free refers to sodium < 5", "'graham cracker crumbs' is a name of an ingredient; 'Raspberry Chiffon Pie' refers to title", "turkey tenderloin refers to title", "no.1397 recipe refers to recipe_id = 1397; optional ingredient refers to optional = 'TRUE'", "the most widely used ingredient refers to MAX(COUNT(ingredient_id))", "Sherry beef refers to title = 'Sherried Beef'", "can lead to constipation refers to iron > 20", "Raspberry Chiffon Pie refers to title; ingredient must be rationed refers to max_qty = min_qty", "the National Potato Board is a source; the highest calories refers to MAX(calories)" ] }
{ "query": "Among the recipes with alcohol content over 10, which recipe takes the longest to prepare?", "pos": [ "with alcohol content over 10 refers to alcohol > 10; takes the longest to prepare refers to MAX(prep_min)" ], "neg": [ "dairy recipes refers to category = 'dairy'; serve more than 10 people refers to servings > 10", "the National Potato Board is a source; the highest calories refers to MAX(calories)", "with the highest unsaturated fat refers MAX(SUBTRACT(total_fat, sat_fat))", "the highest possibility of gaining weight refers to MAX(total_fat); total time refers to recipe_id, total time refers to TOTAL(prep_min, cook_min, stnd_min)", "sea bass is a name of an ingredient; can serve 10 people and above refers to servings > = 10; calculation = MULTIPLY(DIVIDE(COUNT(servings > = 10 THEN recipe_id)), COUNT(recipe_id), 100)", "calories from fat refers to MULTIPLY(calories, pcnt_cal_fat)||'%; Raspberry Chiffon Pie refers to title", "'graham cracker crumbs' is a name of an ingredient; 'Raspberry Chiffon Pie' refers to title", "1% lowfat milk is a name of an ingredient; no.1436 recipe refers to recipe_id = 1436; max_qty = min_qty", "no cholesterol refers to cholestrl = 0; cooking time less than 20 minutes refers to cook_min < 20; calculation = MULTIPLY(DIVIDE(COUNT(cholestrl = 0 THEN recipe_id), COUNT(recipe_id)), 100)", "salt/sodium-free refers to sodium < 5" ] }
{ "query": "State the name of the optional ingredient of no.1397 recipe.", "pos": [ "no.1397 recipe refers to recipe_id = 1397; optional ingredient refers to optional = 'TRUE'" ], "neg": [ "the highest possibility of gaining weight refers to MAX(total_fat); total time refers to recipe_id, total time refers to TOTAL(prep_min, cook_min, stnd_min)", "'graham cracker crumbs' is a name of an ingredient; 'Raspberry Chiffon Pie' refers to title", "Tomato-Cucumber Relish refers to title", "ingredient appeared the least in recipes refers to MIN(ingredient_id)", "canned dairy is a category", "cups is a unit; almonds is a name of an ingredient; chicken pocket sandwich refers to title", "no cholesterol refers to cholestrl = 0; cooking time less than 20 minutes refers to cook_min < 20; calculation = MULTIPLY(DIVIDE(COUNT(cholestrl = 0 THEN recipe_id), COUNT(recipe_id)), 100)", "the National Potato Board is a source; the highest calories refers to MAX(calories)", "cheese is a category; calories greater than 200 refers to calories > 200; calculation = MULTIPLY(DIVIDE(COUNT(calories > 200 THEN recipe_id), COUNT(recipe_id)), 100)", "'graham cracker crumbs' is a name of an ingredient" ] }
{ "query": "Among the recipes with sea bass, how many percent of recipes can serve 10 people and above?", "pos": [ "sea bass is a name of an ingredient; can serve 10 people and above refers to servings > = 10; calculation = MULTIPLY(DIVIDE(COUNT(servings > = 10 THEN recipe_id)), COUNT(recipe_id), 100)" ], "neg": [ "Raspberry Chiffon Pie and Fresh Apricot Bavarian are title; vitamin_c is higher refers to MAX(vitamin_c)", "slices refers to unit = 'slice(s)'", "ingredient appeared the least in recipes refers to MIN(ingredient_id)", "Raspberry Chiffon Pie refers to title; ingredient must be rationed refers to max_qty = min_qty", "no cholesterol refers to cholestrl = 0; cooking time less than 20 minutes refers to cook_min < 20; calculation = MULTIPLY(DIVIDE(COUNT(cholestrl = 0 THEN recipe_id), COUNT(recipe_id)), 100)", "the longest cooking time refers to MAX(cook_min)", "1% lowfat milk is a name of an ingredient; no.1436 recipe refers to recipe_id = 1436; max_qty = min_qty", "Raspberry Chiffon Pie refers to title; unsaturated fat refers to SUBTRACT(total_fat, sat_fat)", "ingredient appeared the most in recipes refers to MAX(COUNT(ingredient_id)); calculation = MULTIPLY(DIVIDE(COUNT(MAX(ingredient_id)), COUNT(ingredient_id)), 100)", "dairy recipes refers to category = 'dairy'; serve more than 10 people refers to servings > 10" ] }
{ "query": "Which recipe has the highest number of ingredients? Calculate the said recipe's total time of cooking.", "pos": [ "the highest number of ingredients refers to MAX(ingredient_id); total time refers to recipe_id, total time of cooking refers to TOTAL(prep_min, cook_min, stnd_min)" ], "neg": [ "names of the recipes refers to title; best for wound healing refers to MAX(vitamin_c)", "the National Potato Board is a source; the highest calories refers to MAX(calories)", "the longest cooking time refers to MAX(cook_min)", "Raspberry Chiffon Pie and Fresh Apricot Bavarian are title; vitamin_c is higher refers to MAX(vitamin_c)", "'graham cracker crumbs' is a name of an ingredient; 'Raspberry Chiffon Pie' refers to title", "lead to constipation refers to iron > 20", "with the highest unsaturated fat refers MAX(SUBTRACT(total_fat, sat_fat))", "ingredient appeared the most in recipes refers to MAX(COUNT(ingredient_id)); calculation = MULTIPLY(DIVIDE(COUNT(MAX(ingredient_id)), COUNT(ingredient_id)), 100)", "'graham cracker crumbs' is a name of an ingredient", "canned dairy is a category" ] }
{ "query": "How many recipes include the ingredient \"graham cracker crumbs\"?", "pos": [ "'graham cracker crumbs' is a name of an ingredient" ], "neg": [ "turkey tenderloin refers to title", "Raspberry Chiffon Pie refers to title", "the longest cooking time refers to MAX(cook_min)", "1% lowfat milk is a name of an ingredient; no.1436 recipe refers to recipe_id = 1436; max_qty = min_qty", "with alcohol content over 10 refers to alcohol > 10; takes the longest to prepare refers to MAX(prep_min)", "cheese is a category; calories greater than 200 refers to calories > 200; calculation = MULTIPLY(DIVIDE(COUNT(calories > 200 THEN recipe_id), COUNT(recipe_id)), 100)", "can lead to constipation refers to iron > 20", "Raspberry Chiffon Pie and Fresh Apricot Bavarian are title; vitamin_c is higher refers to MAX(vitamin_c)", "no.1397 recipe refers to recipe_id = 1397; optional ingredient refers to optional = 'TRUE'", "ingredient appeared the most in recipes refers to MAX(COUNT(ingredient_id)); calculation = MULTIPLY(DIVIDE(COUNT(MAX(ingredient_id)), COUNT(ingredient_id)), 100)" ] }
{ "query": "Which ingredient appeared the most in recipes? Calculate its amount of appearance in percentage.", "pos": [ "ingredient appeared the most in recipes refers to MAX(COUNT(ingredient_id)); calculation = MULTIPLY(DIVIDE(COUNT(MAX(ingredient_id)), COUNT(ingredient_id)), 100)" ], "neg": [ "Apricot Yogurt Parfaits refers to title", "the longest cooking time refers to MAX(cook_min)", "The California Tree Fruit Agreement is a source; calculation = MULTIPLY(DIVIDE(COUNT(sodium BETWEEN 0 AND 5 THEN recipe_id), COUNT(recipe_id)), 100)", "with alcohol content over 10 refers to alcohol > 10; takes the longest to prepare refers to MAX(prep_min)", "Raspberry Chiffon Pie refers to title", "'graham cracker crumbs' is a name of an ingredient", "the most widely used ingredient refers to MAX(COUNT(ingredient_id))", "Tomato-Cucumber Relish refers to title", "names of the recipes refers to title; best for wound healing refers to MAX(vitamin_c)", "lead to constipation refers to iron > 20" ] }
{ "query": "Among the recipes from The California Tree Fruit Agreement, calculate the percentage of sodium-free recipes.", "pos": [ "The California Tree Fruit Agreement is a source; calculation = MULTIPLY(DIVIDE(COUNT(sodium BETWEEN 0 AND 5 THEN recipe_id), COUNT(recipe_id)), 100)" ], "neg": [ "'graham cracker crumbs' is a name of an ingredient; 'Raspberry Chiffon Pie' refers to title", "the most Vitamin C refers to MAX(vitamin_c)", "slices refers to unit = 'slice(s)'", "with alcohol content over 10 refers to alcohol > 10; takes the longest to prepare refers to MAX(prep_min)", "Raspberry Chiffon Pie and Fresh Apricot Bavarian are title; vitamin_c is higher refers to MAX(vitamin_c)", "Raspberry Chiffon Pie refers to title", "Sherry beef refers to title = 'Sherried Beef'", "names of the recipes refers to title; best for wound healing refers to MAX(vitamin_c)", "the longest cooking time refers to MAX(cook_min)", "the highest number of ingredients refers to MAX(ingredient_id); total time refers to recipe_id, total time of cooking refers to TOTAL(prep_min, cook_min, stnd_min)" ] }
{ "query": "How many ingredients must be rationed in the recipe \"Raspberry Chiffon Pie\"?", "pos": [ "Raspberry Chiffon Pie refers to title; ingredient must be rationed refers to max_qty = min_qty" ], "neg": [ "lead to constipation refers to iron > 20", "1% lowfat milk is a name of an ingredient; no.1436 recipe refers to recipe_id = 1436; max_qty = min_qty", "the National Potato Board is a source; the highest calories refers to MAX(calories)", "the highest possibility of gaining weight refers to MAX(total_fat); total time refers to recipe_id, total time refers to TOTAL(prep_min, cook_min, stnd_min)", "salt/sodium-free refers to sodium < 5", "calories from fat refers to MULTIPLY(calories, pcnt_cal_fat)||'%; Raspberry Chiffon Pie refers to title", "slices refers to unit = 'slice(s)'", "ingredient appeared the least in recipes refers to MIN(ingredient_id)", "can lead to constipation refers to iron > 20", "no cholesterol refers to cholestrl = 0; cooking time less than 20 minutes refers to cook_min < 20; calculation = MULTIPLY(DIVIDE(COUNT(cholestrl = 0 THEN recipe_id), COUNT(recipe_id)), 100)" ] }
{ "query": "List the ingredients which measure in slices.", "pos": [ "slices refers to unit = 'slice(s)'" ], "neg": [ "non-dairy refers to category NOT LIKE '%dairy\"", "almond extract is a name of an ingredient", "Raspberry Chiffon Pie refers to title", "dairy recipes refers to category = 'dairy'; serve more than 10 people refers to servings > 10", "canned dairy is a category", "Tomato-Cucumber Relish refers to title", "no.1397 recipe refers to recipe_id = 1397; optional ingredient refers to optional = 'TRUE'", "calories from fat refers to MULTIPLY(calories, pcnt_cal_fat)||'%; Raspberry Chiffon Pie refers to title", "can lead to constipation refers to iron > 20", "the most widely used ingredient refers to MAX(COUNT(ingredient_id))" ] }
{ "query": "Which ingredient appeared the least in recipes?", "pos": [ "ingredient appeared the least in recipes refers to MIN(ingredient_id)" ], "neg": [ "calories from fat refers to MULTIPLY(calories, pcnt_cal_fat)||'%; Raspberry Chiffon Pie refers to title", "sea bass is a name of an ingredient; can serve 10 people and above refers to servings > = 10; calculation = MULTIPLY(DIVIDE(COUNT(servings > = 10 THEN recipe_id)), COUNT(recipe_id), 100)", "Tomato-Cucumber Relish refers to title", "non-dairy refers to category NOT LIKE '%dairy\"", "the National Potato Board is a source; the highest calories refers to MAX(calories)", "lead to constipation refers to iron > 20", "'graham cracker crumbs' is a name of an ingredient", "'cook in beef broth' refers to a preparation", "slices refers to unit = 'slice(s)'", "Raspberry Chiffon Pie refers to title" ] }
{ "query": "How many cups of almonds do you need for a chicken pocket sandwich?", "pos": [ "cups is a unit; almonds is a name of an ingredient; chicken pocket sandwich refers to title" ], "neg": [ "ingredient appeared the most in recipes refers to MAX(COUNT(ingredient_id)); calculation = MULTIPLY(DIVIDE(COUNT(MAX(ingredient_id)), COUNT(ingredient_id)), 100)", "Sherry beef refers to title = 'Sherried Beef'", "the most widely used ingredient refers to MAX(COUNT(ingredient_id))", "the most Vitamin C refers to MAX(vitamin_c)", "dairy recipes refers to category = 'dairy'; serve more than 10 people refers to servings > 10", "salt/sodium-free refers to sodium < 5", "'cook in beef broth' refers to a preparation", "The California Tree Fruit Agreement is a source; calculation = MULTIPLY(DIVIDE(COUNT(sodium BETWEEN 0 AND 5 THEN recipe_id), COUNT(recipe_id)), 100)", "1% lowfat milk is a name of an ingredient; no.1436 recipe refers to recipe_id = 1436; max_qty = min_qty", "non-dairy refers to category NOT LIKE '%dairy\"" ] }
{ "query": "When compared to the total number of breweries in the US producing American Blonde Ale, how many in the state of Wisconsin produces American Blonde Ale? Indicate your answer in percentage (%).", "pos": [ "Percentage of the state of Wisconsin produces American Blonde Ale could be computed by count(breweries in Wisconsin producing American Blonde Ale) / count(all breweries)" ], "neg": [ "The more IBU, the more bitter the beer is, most bitter means highest IBU; The less IBU, the less bitter the beer is, least bitter means lowest IBU", "Percent allotted = count(American Adjunct Lager beer styles) / count(styles) * 100%" ] }
{ "query": "Which city and state produces the most and least bitter beer, and what is the difference in bitterness between the two? List also the names of the beer.", "pos": [ "The more IBU, the more bitter the beer is, most bitter means highest IBU; The less IBU, the less bitter the beer is, least bitter means lowest IBU" ], "neg": [ "Percentage of the state of Wisconsin produces American Blonde Ale could be computed by count(breweries in Wisconsin producing American Blonde Ale) / count(all breweries)", "Percent allotted = count(American Adjunct Lager beer styles) / count(styles) * 100%" ] }
{ "query": "Of all the beer styles produced by Stevens Point Brewery, how many percent do they allot for American Adjunct Lager?", "pos": [ "Percent allotted = count(American Adjunct Lager beer styles) / count(styles) * 100%" ], "neg": [ "Percentage of the state of Wisconsin produces American Blonde Ale could be computed by count(breweries in Wisconsin producing American Blonde Ale) / count(all breweries)", "The more IBU, the more bitter the beer is, most bitter means highest IBU; The less IBU, the less bitter the beer is, least bitter means lowest IBU" ] }
{ "query": "Find the full name and popularity of the professor who advises the most number of students.", "pos": [ "full name of the professor = first_name, last_name; most number of students refers to MAX(COUNT(student_id));" ], "neg": [ "UG is an abbreviated name of undergraduate student in which type = 'UG';", "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; professor with the lowest teaching ability refers to prof_id where teachability = '1';", "female refers to gender = 'Female'; highest teaching ability refers to MAX(teachingability);", "research assistant refers to the student who serves for research where the abbreviation is RA; taught postgraduate student refers to type = 'TPG'; DIVIDE(COUNT(student_id where type = 'TPG' and first_name = 'Ogdon', last_name = 'Zywicki'), COUNT(first_name = 'Ogdon', last_name = 'Zywicki')) as percentage;", "sat refers to student's satisfaction degree with the course;", "student's last name refers to l_name; satisfaction refers to sat; highest satisfaction refers to MAX(sat);", "gpa of 3.1 to 3.7 refers to gpa BETWEEN 3.1 AND 3.7; undergraduate students refers to type = 'UG';", "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;", "full name of students = f_name, l_name; failed refers to grade IS NULL;" ] }
{ "query": "How many students does Ogdon Zywicki advise?", "pos": [ "Ogdon Zywicki is a professor;" ], "neg": [ "sat refers to student's satisfaction degree with the course where sat = 5 stands for the highest satisfaction;", "student with the highest GPA refers to student_id where MAX(gpa);", "diff refers to difficulty; the least difficult courses refer to MIN(diff);", "average satisfaction = DIVIDE(SUM(sat), COUNT(course_id)); satisfaction refers to sat; good student refers to grade = 'B';", "A refers to an excellent grade in which grade = 'A' for the course;", "UG is an abbreviated name of undergraduate student in which type = 'UG';", "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;", "female refers to gender = 'Female';", "research assistant refers to the student who serves for research where the abbreviation is RA; full name refers to f_name and l_name;", "lower intelligence refers to intelligence = 1; sat refers to student's satisfaction degree with the course where least satisfaction refers to sat = 1;" ] }
{ "query": "Give the student's last name that gave the highest student satisfaction for the course \"Intro to Database 2\".", "pos": [ "student's last name refers to l_name; satisfaction refers to sat; highest satisfaction refers to MAX(sat);" ], "neg": [ "intelligence < 4; full name = f_name, l_name; gpa > 3;", "If grade is NULL, it means that this student fails to pass the course; full name refers to f_name and l_name;", "full name of the professor = first_name, last_name; most number of students refers to MAX(COUNT(student_id));", "sat refers to student's satisfaction degree with the course;", "salary range refers to salary;", "research postgraduate student refers to type = 'RPG';", "A refers to an excellent grade in which grade = 'A' for the course;", "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';", "If grade is null or empty, it means that this student fails to pass the course;", "research postgraduate students refers to type = 'RPG'; name of the course refers to name; satisfaction refers to sat; sat = 1;" ] }
{ "query": "How many research assistants does Sauveur Skyme have?", "pos": [ "research assistant refers to the student who serves for research where the abbreviation is RA;" ], "neg": [ "diff refers to difficulty; the least difficult courses refer to MIN(diff);", "Ivy League school is assembled by 8 universities: Brown University, Columbia University, Cornell University, Dartmouth College, Harvard University, Princeton University, University of Pennsylvania and Yale University;", "satisfaction refers to sat;\n\nsat = 4; gpa = 3.8 ", "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;", "A refers to an excellent grade in which grade = 'A' for the course;", "Name the professor refers to full name which includes f_name and l_name;", "research postgraduate student refers to type = 'RPG';", "difficulty refers to diff; most difficult course refers to MAX(diff); student's full names = f_name, l_name;", "Higher credit means more important in which most important refers to MAX(credit); diff refers to difficulty; the most difficult course refers to MAX(diff);", "professor with the highest research ability refers to prof_id where MAX(capability);" ] }
{ "query": "What is the percentage of Professor Ogdon Zywicki's research assistants are taught postgraduate students?", "pos": [ "research assistant refers to the student who serves for research where the abbreviation is RA; taught postgraduate student refers to type = 'TPG'; DIVIDE(COUNT(student_id where type = 'TPG' and first_name = 'Ogdon', last_name = 'Zywicki'), COUNT(first_name = 'Ogdon', last_name = 'Zywicki')) as percentage;" ], "neg": [ "If grade is NULL, it means that this student fails to pass the course; full name refers to f_name and l_name;", "research assistant refers to the student who serves for research where the abbreviation is RA; the highest research capability refers to capability = 5; full name refers to f_name and l_name;", "DIVIDE(COUNT(student_id(grade = 'B' and name = 'Computer Network')), COUNT(student_id where name = ' Computer Network')) as percentage;", "intelligence < 4; full name = f_name, l_name; gpa > 3;", "female refers to gender = 'Female'; highest teaching ability refers to MAX(teachingability);", "research assistant refers to the student who serves for research where the abbreviation is RA; full name refers to f_name and l_name;", "full name of the professor = first_name, last_name; most number of students refers to MAX(COUNT(student_id));", "low salary refers to salary = 'low';", "lower intelligence refers to intelligence = 1; sat refers to student's satisfaction degree with the course where least satisfaction refers to sat = 1;", "difficulty refers to diff; most difficult course refers to MAX(diff); student's full names = f_name, l_name;" ] }
{ "query": "What are the names of the courses that the students with the lowest intelligence are least satisfied with?", "pos": [ "lower intelligence refers to intelligence = 1; sat refers to student's satisfaction degree with the course where least satisfaction refers to sat = 1;" ], "neg": [ "difficulty refers to diff; most difficult course refers to MAX(diff); student's full names = f_name, l_name;", "sat refers to student's satisfaction degree with the course;", "female refers to gender = 'Female';", "GPA is an abbreviated name of Grade Point Average where GPA between 3 to 4 refers to gpa BETWEEN 3 AND 4; If grade is null or empty, it means that this student fails to pass this course;", "capability on research refers to capability;", "diff refers to difficulty; the least difficult courses refer to MIN(diff);", "capability < 3; difference = subtract(count(type = 'UG')), (count(type = 'RPG')); undergraduate students refers to type = 'UG'; research postgraduate students refers to type = 'RPG';", "satisfaction refers to sat;\n\nsat = 4; gpa = 3.8 ", "research postgraduate student refers to type = 'RPG';", "research assistant refers to the student who serves for research where the abbreviation is RA; full name refers to f_name and l_name;" ] }
{ "query": "Calculate the difference between the average satisfaction of the students with high salaries and no salary.", "pos": [ "average satisfaction difference = SUBTRACT(AVG(sat where salary = 'high')), (AVG(sat where salary = 'free')); satisfaction refers to sat; no salary refers to salary = 'free';" ], "neg": [ "professor with the highest research ability refers to prof_id where MAX(capability);", "average satisfaction = DIVIDE(SUM(sat), COUNT(course_id)); satisfaction refers to sat; good student refers to grade = 'B';", "gpa of 3.1 to 3.7 refers to gpa BETWEEN 3.1 AND 3.7; undergraduate students refers to type = 'UG';", "low salary refers to salary = 'low';", "highest teachability refers to MAX(teachability); high salary refers to salary = 'high';", "diff refers to difficulty; diff is higher means the course is more difficult in which easiest difficulty refers to diff = 1; 3-credit course refers to credit = '3'; get an \"A\" refers to grade = 'A' for the course;", "research assistant refers to the student who serves for research where the abbreviation is RA; taught postgraduate student refers to type = 'TPG'; DIVIDE(COUNT(student_id where type = 'TPG' and first_name = 'Ogdon', last_name = 'Zywicki'), COUNT(first_name = 'Ogdon', last_name = 'Zywicki')) as percentage;", "GPA is an abbreviated name of Grade Point Average where GPA between 3 to 4 refers to gpa BETWEEN 3 AND 4; If grade is null or empty, it means that this student fails to pass this course;", "sat refers to student's satisfaction degree with the course;", "difficulty of the course refers to diff;" ] }
{ "query": "What is the difficulty of the course in which a student with level of intellengence of 5 got an A grade?", "pos": [ "difficulty of the course refers to diff;" ], "neg": [ "the highest research capability refers to capability = 5; high salary refers to salary = 'high'; prof_id refers to professor’s ID; GPA is an abbreviated name of Grade Point Average where average GPA refers to AVG(gpa);", "DIVIDE(COUNT(student_id(grade = 'B' and name = 'Computer Network')), COUNT(student_id where name = ' Computer Network')) as percentage;", "Higher credit means more important in which most important refers to MAX(credit); diff refers to difficulty; the most difficult course refers to MAX(diff);", "research postgraduate students refers to type = 'RPG'; name of the course refers to name; satisfaction refers to sat; sat = 1;", "research assistant refers to the student who serves for research where the abbreviation is RA; average salary refers to salary = 'med';", "capability on research refers to capability;", "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;", "lower intelligence refers to intelligence = 1; sat refers to student's satisfaction degree with the course where least satisfaction refers to sat = 1;", "full name of the professor = first_name, last_name; most number of students refers to MAX(COUNT(student_id));", "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;" ] }
{ "query": "Name the professor who got graduation from the University of Boston.", "pos": [ "Name the professor refers to full name which includes f_name and l_name;" ], "neg": [ "average satisfaction = DIVIDE(SUM(sat), COUNT(course_id)); satisfaction refers to sat; good student refers to grade = 'B';", "research postgraduate student refers to type = 'RPG'; research assistant refers to the student who serves for research where the abbreviation is RA;", "name of the students = f_name, l_name; above average-capability refers to capability > AVG(capability);", "sat refers to student's satisfaction degree with the course; more satisfied refers to MAX(sat);", "university from which the professor graduated refers to graduate_from; undergraduate students refers to type = 'UG';", "diff refers to difficulty; diff is higher means the course is more difficult in which highest difficulty is expessed as diff = 5;", "GPA is an abbreviated name of Grade Point Average where GPA between 3 to 4 refers to gpa BETWEEN 3 AND 4; If grade is null or empty, it means that this student fails to pass this course;", "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';", "diff refers to difficulty; the easiest courses refers to diff = 1; A refers to an excellent grade in which grade = 'A' for the course;", "student's last name refers to l_name; satisfaction refers to sat; highest satisfaction refers to MAX(sat);" ] }
{ "query": "Find the university from which the professor who advised most undergraduate students graduated.", "pos": [ "university from which the professor graduated refers to graduate_from; undergraduate students refers to type = 'UG';" ], "neg": [ "research assistant refers to the student who serves for research where the abbreviation is RA; taught postgraduate student refers to type = 'TPG'; DIVIDE(COUNT(student_id where type = 'TPG' and first_name = 'Ogdon', last_name = 'Zywicki'), COUNT(first_name = 'Ogdon', last_name = 'Zywicki')) as percentage;", "capability < 3; difference = subtract(count(type = 'UG')), (count(type = 'RPG')); undergraduate students refers to type = 'UG'; research postgraduate students refers to type = 'RPG';", "student with the highest GPA refers to student_id where MAX(gpa);", "female refers to gender = 'Female';", "lower credit means less important;", "salary range refers to salary;", "If grade is null or empty, it means that this student fails to pass the course;", "research postgraduate students refers to type = 'RPG'; name of the course refers to name; satisfaction refers to sat; sat = 1;", "difficulty refers to diff; most difficult course refers to MAX(diff); student's full names = f_name, l_name;", "average satisfaction difference = SUBTRACT(AVG(sat where salary = 'high')), (AVG(sat where salary = 'free')); satisfaction refers to sat; no salary refers to salary = 'free';" ] }
{ "query": "What is the full name of the professor who graduated from an Ivy League School?", "pos": [ "Ivy League school is assembled by 8 universities: Brown University, Columbia University, Cornell University, Dartmouth College, Harvard University, Princeton University, University of Pennsylvania and Yale University;" ], "neg": [ "research postgraduate students refers to type = 'RPG'; name of the course refers to name; satisfaction refers to sat; sat = 1;", "research assistant refers to the student who serves for research where the abbreviation is RA; taught postgraduate student refers to type = 'TPG'; DIVIDE(COUNT(student_id where type = 'TPG' and first_name = 'Ogdon', last_name = 'Zywicki'), COUNT(first_name = 'Ogdon', last_name = 'Zywicki')) as percentage;", "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;", "research assistant refers to the student who serves for research where the abbreviation is RA; the highest research capability refers to capability = 5; full name refers to f_name and l_name;", "research postgraduate student refers to type = 'RPG'; research assistant refers to the student who serves for research where the abbreviation is RA;", "capability on research refers to capability;", "full name of students = f_name, l_name; failed refers to grade IS NULL;", "diff refers to difficulty; the least difficult courses refer to MIN(diff);", "sat refers to student's satisfaction degree with the course;", "research assistant refers to the student who serves for research where the abbreviation is RA;" ] }
{ "query": "Among the most important courses, what is the name of the most difficult course?", "pos": [ "Higher credit means more important in which most important refers to MAX(credit); diff refers to difficulty; the most difficult course refers to MAX(diff);" ], "neg": [ "student with the highest GPA refers to student_id where MAX(gpa);", "salary range refers to salary;", "low salary refers to salary = 'low';", "the highest research capability refers to capability = 5; high salary refers to salary = 'high'; prof_id refers to professor’s ID; GPA is an abbreviated name of Grade Point Average where average GPA refers to AVG(gpa);", "A refers to an excellent grade in which grade = 'A' for the course;", "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;", "research assistant refers to the student who serves for research where the abbreviation is RA; full name refers to f_name and l_name;", "satisfaction refers to sat;\n\nsat = 4; gpa = 3.8 ", "research assistant refers to the student who serves for research where the abbreviation is RA; taught postgraduate student refers to type = 'TPG'; DIVIDE(COUNT(student_id where type = 'TPG' and first_name = 'Ogdon', last_name = 'Zywicki'), COUNT(first_name = 'Ogdon', last_name = 'Zywicki')) as percentage;", "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';" ] }
{ "query": "How many courses have the highest difficulty?", "pos": [ "diff refers to difficulty; diff is higher means the course is more difficult in which highest difficulty is expessed as diff = 5;" ], "neg": [ "A refers to an excellent grade in which grade = 'A' for the course;", "GPA is an abbreviated name of Grade Point Average where GPA between 3 to 4 refers to gpa BETWEEN 3 AND 4; If grade is null or empty, it means that this student fails to pass this course;", "full name of the professor = first_name, last_name; most number of students refers to MAX(COUNT(student_id));", "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;", "research postgraduate students refers to type = 'RPG'; name of the course refers to name; satisfaction refers to sat; sat = 1;", "Ogdon Zywicki is a professor;", "lower intelligence refers to intelligence = 1; sat refers to student's satisfaction degree with the course where least satisfaction refers to sat = 1;", "sat refers to student's satisfaction degree with the course;", "difficulty refers to diff; most difficult course refers to MAX(diff); student's full names = f_name, l_name;", "diff refers to difficulty; the easiest courses refers to diff = 1; A refers to an excellent grade in which grade = 'A' for the course;" ] }
{ "query": "Among the students with a capability below 3, what is the difference of undergraduate students from research postgraduate students?", "pos": [ "capability < 3; difference = subtract(count(type = 'UG')), (count(type = 'RPG')); undergraduate students refers to type = 'UG'; research postgraduate students refers to type = 'RPG';" ], "neg": [ "research postgraduate students refers to type = 'RPG'; intelligence level of 4 and above refers to intelligence > = 4;", "research assistant refers to the student who serves for research where the abbreviation is RA;", "university from which the professor graduated refers to graduate_from; undergraduate students refers to type = 'UG';", "Ivy League school is assembled by 8 universities: Brown University, Columbia University, Cornell University, Dartmouth College, Harvard University, Princeton University, University of Pennsylvania and Yale University;", "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';", "diff refers to difficulty; the easiest courses refers to diff = 1; A refers to an excellent grade in which grade = 'A' for the course;", "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;", "research postgraduate students refers to type = 'RPG'; name of the course refers to name; satisfaction refers to sat; sat = 1;", "professor with the highest research ability refers to prof_id where MAX(capability);", "difficulty refers to diff; most difficult course refers to MAX(diff); student's full names = f_name, l_name;" ] }
{ "query": "What is the name of the most difficult course?", "pos": [ "difficulty of a course refers to diff; most difficult course refers to MAX(diff);" ], "neg": [ "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;", "student with the highest GPA refers to student_id where MAX(gpa);", "Name the professor refers to full name which includes f_name and l_name;", "research assistant refers to the student who serves for research where the abbreviation is RA;", "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';", "capability < 3; difference = subtract(count(type = 'UG')), (count(type = 'RPG')); undergraduate students refers to type = 'UG'; research postgraduate students refers to type = 'RPG';", "student's full names = f_name, l_name; most popular refers to MAX(popularity);", "research assistant refers to the student who serves for research where the abbreviation is RA; full name refers to f_name and l_name;", "average satisfaction difference = SUBTRACT(AVG(sat where salary = 'high')), (AVG(sat where salary = 'free')); satisfaction refers to sat; no salary refers to salary = 'free';", "If grade is null or empty, it means that this student fails to pass the course;" ] }
{ "query": "Among professors with the highest teachability, how many of their students have high salary?", "pos": [ "highest teachability refers to MAX(teachability); high salary refers to salary = 'high';" ], "neg": [ "research assistant refers to the student who serves for research where the abbreviation is RA; average salary refers to salary = 'med';", "capability on research refers to capability;", "lower intelligence refers to intelligence = 1; sat refers to student's satisfaction degree with the course where least satisfaction refers to sat = 1;", "research assistant refers to the student who serves for research where the abbreviation is RA; full name refers to f_name and l_name;", "student's full names = f_name, l_name; most popular refers to MAX(popularity);", "diff refers to difficulty; diff is higher means the course is more difficult in which highest difficulty is expessed as diff = 5;", "lower credit means less important;", "GPA is an abbreviated name of Grade Point Average where GPA between 3 to 4 refers to gpa BETWEEN 3 AND 4; If grade is null or empty, it means that this student fails to pass this course;", "A refers to an excellent grade in which grade = 'A' for the course;", "full name of the professor = first_name, last_name; most number of students refers to MAX(COUNT(student_id));" ] }
{ "query": "Give the full name and capability of students who failed in any courses.", "pos": [ "full name of students = f_name, l_name; failed refers to grade IS NULL;" ], "neg": [ "diff refers to difficulty; the least difficult courses refer to MIN(diff);", "research assistant refers to the student who serves for research where the abbreviation is RA; full name refers to f_name and l_name;", "research assistant refers to the student who serves for research where the abbreviation is RA; taught postgraduate student refers to type = 'TPG'; DIVIDE(COUNT(student_id where type = 'TPG' and first_name = 'Ogdon', last_name = 'Zywicki'), COUNT(first_name = 'Ogdon', last_name = 'Zywicki')) as percentage;", "satisfaction refers to sat;\n\nsat = 4; gpa = 3.8 ", "A refers to an excellent grade in which grade = 'A' for the course;", "Ivy League school is assembled by 8 universities: Brown University, Columbia University, Cornell University, Dartmouth College, Harvard University, Princeton University, University of Pennsylvania and Yale University;", "research postgraduate students refers to type = 'RPG'; name of the course refers to name; satisfaction refers to sat; sat = 1;", "GPA is an abbreviated name of Grade Point Average where GPA between 3 to 4 refers to gpa BETWEEN 3 AND 4; If grade is null or empty, it means that this student fails to pass this course;", "If grade is null or empty, it means that this student fails to pass the course;", "diff refers to difficulty; the easiest courses refers to diff = 1; A refers to an excellent grade in which grade = 'A' for the course;" ] }
{ "query": "What is the name of the course with the highest satisfaction from students?", "pos": [ "sat refers to student's satisfaction degree with the course where sat = 5 stands for the highest satisfaction;" ], "neg": [ "diff refers to difficulty; the easiest courses refers to diff = 1; A refers to an excellent grade in which grade = 'A' for the course;", "female refers to gender = 'Female'; highest teaching ability refers to MAX(teachingability);", "research postgraduate students refers to type = 'RPG'; name of the course refers to name; satisfaction refers to sat; sat = 1;", "average satisfaction difference = SUBTRACT(AVG(sat where salary = 'high')), (AVG(sat where salary = 'free')); satisfaction refers to sat; no salary refers to salary = 'free';", "A refers to an excellent grade in which grade = 'A' for the course;", "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;", "difficulty refers to diff; most difficult course refers to MAX(diff); student's full names = f_name, l_name;", "low salary refers to salary = 'low';", "university from which the professor graduated refers to graduate_from; undergraduate students refers to type = 'UG';", "student's full names = f_name, l_name; most popular refers to MAX(popularity);" ] }
{ "query": "Which student is more satisfied with the course Machine Learning Theory, Willie Rechert or Laughton Antonio?", "pos": [ "sat refers to student's satisfaction degree with the course; more satisfied refers to MAX(sat);" ], "neg": [ "female refers to gender = 'Female'; highest teaching ability refers to MAX(teachingability);", "female refers to gender = 'Female';", "research assistant refers to the student who serves for research where the abbreviation is RA;", "UG is an abbreviated name of undergraduate student in which type = 'UG';", "lower credit means less important;", "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;", "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;", "research assistant refers to the student who serves for research where the abbreviation is RA; full name refers to f_name and l_name;", "average satisfaction difference = SUBTRACT(AVG(sat where salary = 'high')), (AVG(sat where salary = 'free')); satisfaction refers to sat; no salary refers to salary = 'free';", "Undergraduate students refers to type = 'UG'; GPA of 3.7 and above refers to gpa > 3.7;" ] }
{ "query": "For the professor who is working with Harrietta Lydford, how is his popularity?", "pos": [ "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;" ], "neg": [ "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';", "research postgraduate student refers to type = 'RPG';", "research postgraduate students refers to type = 'RPG'; intelligence level of 4 and above refers to intelligence > = 4;", "Undergraduate students refers to type = 'UG'; GPA of 3.7 and above refers to gpa > 3.7;", "low salary refers to salary = 'low';", "A refers to an excellent grade in which grade = 'A' for the course;", "diff refers to difficulty; diff is higher means the course is more difficult in which highest difficulty is expessed as diff = 5;", "highest popularity refers to MAX(popularity); research capability refers to capability; capability = 5;", "satisfaction refers to sat;\n\nsat = 4; gpa = 3.8 ", "research assistant refers to the student who serves for research where the abbreviation is RA; the highest research capability refers to capability = 5; full name refers to f_name and l_name;" ] }
{ "query": "State the name of research postgraduate student among Professor Zhihua Zhou's research assistants.", "pos": [ "research postgraduate student refers to type = 'RPG'; research assistant refers to the student who serves for research where the abbreviation is RA;" ], "neg": [ "highest teachability refers to MAX(teachability); high salary refers to salary = 'high';", "capability on research refers to capability;", "research postgraduate students refers to type = 'RPG'; intelligence level of 4 and above refers to intelligence > = 4;", "low salary refers to salary = 'low';", "diff refers to difficulty; diff is higher means the course is more difficult in which easiest difficulty refers to diff = 1; 3-credit course refers to credit = '3'; get an \"A\" refers to grade = 'A' for the course;", "average satisfaction = DIVIDE(SUM(sat), COUNT(course_id)); satisfaction refers to sat; good student refers to grade = 'B';", "A refers to an excellent grade in which grade = 'A' for the course;", "average satisfaction difference = SUBTRACT(AVG(sat where salary = 'high')), (AVG(sat where salary = 'free')); satisfaction refers to sat; no salary refers to salary = 'free';", "student's last name refers to l_name; satisfaction refers to sat; highest satisfaction refers to MAX(sat);", "the highest research capability refers to capability = 5; high salary refers to salary = 'high'; prof_id refers to professor’s ID; GPA is an abbreviated name of Grade Point Average where average GPA refers to AVG(gpa);" ] }
{ "query": "How many research postgraduate students are there?", "pos": [ "research postgraduate student refers to type = 'RPG';" ], "neg": [ "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;", "intelligence < 4; full name = f_name, l_name; gpa > 3;", "student's last name refers to l_name; satisfaction refers to sat; highest satisfaction refers to MAX(sat);", "research postgraduate student refers to type = 'RPG'; research assistant refers to the student who serves for research where the abbreviation is RA;", "research assistant refers to the student who serves for research where the abbreviation is RA; full name refers to f_name and l_name;", "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;", "Ivy League school is assembled by 8 universities: Brown University, Columbia University, Cornell University, Dartmouth College, Harvard University, Princeton University, University of Pennsylvania and Yale University;", "research assistant refers to the student who serves for research where the abbreviation is RA; full name refers to f_name and l_name;", "lower intelligence refers to intelligence = 1; sat refers to student's satisfaction degree with the course where least satisfaction refers to sat = 1;", "difficulty refers to diff; most difficult course refers to MAX(diff); student's full names = f_name, l_name;" ] }
{ "query": "How many students got an A in Applied Deep Learning?", "pos": [ "A refers to an excellent grade in which grade = 'A' for the course;" ], "neg": [ "full names of the students = f_name; l_name; highest capability refers to MAX(capability); highest salary refers to salary = 'high';", "If grade is null or empty, it means that this student fails to pass the course;", "research assistant refers to the student who serves for research where the abbreviation is RA; the highest research capability refers to capability = 5; full name refers to f_name and l_name;", "the highest research capability refers to capability = 5; high salary refers to salary = 'high'; prof_id refers to professor’s ID; GPA is an abbreviated name of Grade Point Average where average GPA refers to AVG(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 the professor refers to full name which includes f_name and l_name;", "highest popularity refers to MAX(popularity); research capability refers to capability; capability = 5;", "lower credit means less important;", "lower intelligence refers to intelligence = 1; sat refers to student's satisfaction degree with the course where least satisfaction refers to sat = 1;", "intelligence < 4; full name = f_name, l_name; gpa > 3;" ] }
{ "query": "How many of the professors are female?", "pos": [ "female refers to gender = 'Female';" ], "neg": [ "research postgraduate student refers to type = 'RPG'; research assistant refers to the student who serves for research where the abbreviation is RA;", "student's full names = f_name, l_name; most popular refers to MAX(popularity);", "diff refers to difficulty; diff is higher means the course is more difficult in which highest difficulty is expessed as diff = 5;", "capability on research refers to capability;", "full name of the professor = first_name, last_name; most number of students refers to MAX(COUNT(student_id));", "low salary refers to salary = 'low';", "If grade is null or empty, it means that this student fails to pass the course;", "research postgraduate student refers to type = 'RPG';", "sat refers to student's satisfaction degree with the course;", "the highest research capability refers to capability = 5; high salary refers to salary = 'high'; prof_id refers to professor’s ID; GPA is an abbreviated name of Grade Point Average where average GPA refers to AVG(gpa);" ] }
{ "query": "Which professor advised Faina Mallinar to become a research assistant? Please give his or her full name.", "pos": [ "research assistant refers to the student who serves for research where the abbreviation is RA; 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;", "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 postgraduate students refers to type = 'RPG'; intelligence level of 4 and above refers to intelligence > = 4;", "name of the students = f_name, l_name; above average-capability refers to capability > AVG(capability);", "student's last name refers to l_name; satisfaction refers to sat; highest satisfaction refers to MAX(sat);", "female refers to gender = 'Female';", "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;", "student's full names = f_name, l_name; most popular refers to MAX(popularity);", "Name the professor refers to full name which includes f_name and l_name;", "Higher credit means more important in which most important refers to MAX(credit); diff refers to difficulty; the most difficult course refers to MAX(diff);" ] }
{ "query": "Mention the names and credits of course registered by the students who were under the supervision of female professor with the highest teaching ability.", "pos": [ "female refers to gender = 'Female'; highest teaching ability refers to MAX(teachingability);" ], "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;", "diff refers to difficulty; diff is higher means the course is more difficult in which easiest difficulty refers to diff = 1; 3-credit course refers to credit = '3'; get an \"A\" refers to grade = 'A' for the course;", "low salary refers to salary = 'low';", "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';", "full name of students = f_name, l_name; failed refers to grade IS NULL;", "full names of the students = f_name; l_name; highest capability refers to MAX(capability); highest salary refers to salary = 'high';", "gpa of 3.1 to 3.7 refers to gpa BETWEEN 3.1 AND 3.7; undergraduate students refers to type = 'UG';", "research postgraduate students refers to type = 'RPG'; intelligence level of 4 and above refers to intelligence > = 4;", "average satisfaction = DIVIDE(SUM(sat), COUNT(course_id)); satisfaction refers to sat; good student refers to grade = 'B';", "research assistant refers to the student who serves for research where the abbreviation is RA; full name refers to f_name and l_name;" ] }
{ "query": "Describe the full names, emails and intelligence of the students with the highest capability and salary.", "pos": [ "full names of the students = f_name; l_name; highest capability refers to MAX(capability); highest salary refers to salary = 'high';" ], "neg": [ "sat refers to student's satisfaction degree with the course; more satisfied refers to MAX(sat);", "difficulty of the course refers to diff;", "professor with the highest research ability refers to prof_id where MAX(capability);", "female refers to gender = 'Female';", "diff refers to difficulty; diff is higher means the course is more difficult in which highest difficulty is expessed as diff = 5;", "salary range refers to salary;", "sat refers to student's satisfaction degree with the course where sat = 5 stands for the highest satisfaction;", "DIVIDE(COUNT(student_id(grade = 'B' and name = 'Computer Network')), COUNT(student_id where name = ' Computer Network')) as percentage;", "A refers to an excellent grade in which grade = 'A' for the course;", "highest teachability refers to MAX(teachability); high salary refers to salary = 'high';" ] }
{ "query": "Describe the students' full names and GPAs under the supervision of the most popular professor.", "pos": [ "student's full names = f_name, l_name; most popular refers to MAX(popularity);" ], "neg": [ "DIVIDE(COUNT(student_id(grade = 'B' and name = 'Computer Network')), COUNT(student_id where name = ' Computer Network')) as percentage;", "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; average salary refers to salary = 'med';", "difficulty of the course refers to diff;", "the highest research capability refers to capability = 5; high salary refers to salary = 'high'; prof_id refers to professor’s ID; GPA is an abbreviated name of Grade Point Average where average GPA refers to AVG(gpa);", "Higher credit means more important in which most important refers to MAX(credit); diff refers to difficulty; the most difficult course refers to MAX(diff);", "student with the highest GPA refers to student_id where MAX(gpa);", "full name of the professor = first_name, last_name; most number of students refers to MAX(COUNT(student_id));", "highest popularity refers to MAX(popularity); research capability refers to capability; capability = 5;", "research postgraduate student refers to type = 'RPG';" ] }
{ "query": "What is the popularity of the professor who advises the highest number of students with the highest research ability?", "pos": [ "professor with the highest research ability refers to prof_id where MAX(capability);" ], "neg": [ "Name the professor refers to full name which includes f_name and l_name;", "diff refers to difficulty; diff is higher means the course is more difficult in which easiest difficulty refers to diff = 1; 3-credit course refers to credit = '3'; get an \"A\" refers to grade = 'A' for the course;", "student's full names = f_name, l_name; most popular refers to MAX(popularity);", "gpa of 3.1 to 3.7 refers to gpa BETWEEN 3.1 AND 3.7; undergraduate students refers to type = 'UG';", "lower credit means less important;", "Ivy League school is assembled by 8 universities: Brown University, Columbia University, Cornell University, Dartmouth College, Harvard University, Princeton University, University of Pennsylvania and Yale University;", "highest teachability refers to MAX(teachability); high 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;", "UG is an abbreviated name of undergraduate student in which type = 'UG';", "research postgraduate students refers to type = 'RPG'; name of the course refers to name; satisfaction refers to sat; sat = 1;" ] }
{ "query": "For the 3-credit course with the easiest difficulty, how many students get an \"A\" in that course?", "pos": [ "diff refers to difficulty; diff is higher means the course is more difficult in which easiest difficulty refers to diff = 1; 3-credit course refers to credit = '3'; get an \"A\" refers to grade = 'A' for the course;" ], "neg": [ "research postgraduate student refers to type = 'RPG';", "Ogdon Zywicki is a professor;", "name of the students = f_name, l_name; above average-capability refers to capability > AVG(capability);", "DIVIDE(COUNT(student_id(grade = 'B' and name = 'Computer Network')), COUNT(student_id where name = ' Computer Network')) as percentage;", "highest teachability refers to MAX(teachability); high salary refers to salary = 'high';", "Higher credit means more important in which most important refers to MAX(credit); diff refers to difficulty; the most difficult course refers to MAX(diff);", "A refers to an excellent grade in which grade = 'A' for the course;", "Ivy League school is assembled by 8 universities: Brown University, Columbia University, Cornell University, Dartmouth College, Harvard University, Princeton University, University of Pennsylvania and Yale University;", "salary range refers to salary;", "low salary refers to salary = 'low';" ] }
{ "query": "Which professor is Oliy Spratling working with? Give the full name.", "pos": [ "research assistant refers to the student who serves for research where the abbreviation is RA; full name refers to f_name and l_name;" ], "neg": [ "research postgraduate student refers to type = 'RPG'; research assistant refers to the student who serves for research where the abbreviation is RA;", "If grade is NULL, it means that this student fails to pass the course; full name refers to f_name and l_name;", "diff refers to difficulty; the least difficult courses refer to MIN(diff);", "the highest research capability refers to capability = 5; high salary refers to salary = 'high'; prof_id refers to professor’s ID; GPA is an abbreviated name of Grade Point Average where average GPA refers to AVG(gpa);", "difficulty of the course refers to diff;", "gpa of 3.1 to 3.7 refers to gpa BETWEEN 3.1 AND 3.7; undergraduate students refers to type = 'UG';", "average satisfaction difference = SUBTRACT(AVG(sat where salary = 'high')), (AVG(sat where salary = 'free')); satisfaction refers to sat; no salary refers to salary = 'free';", "student with the highest GPA refers to student_id where MAX(gpa);", "capability on research refers to capability;", "A refers to an excellent grade in which grade = 'A' for the course;" ] }
{ "query": "How many research assistants of Ogdon Zywicki have an average salary?", "pos": [ "research assistant refers to the student who serves for research where the abbreviation is RA; average salary refers to salary = 'med';" ], "neg": [ "A refers to an excellent grade in which grade = 'A' for the course;", "research postgraduate student refers to type = 'RPG';", "intelligence < 4; full name = f_name, l_name; gpa > 3;", "diff refers to difficulty; diff is higher means the course is more difficult in which easiest difficulty refers to diff = 1; 3-credit course refers to credit = '3'; get an \"A\" refers to grade = 'A' for the course;", "Ivy League school is assembled by 8 universities: Brown University, Columbia University, Cornell University, Dartmouth College, Harvard University, Princeton University, University of Pennsylvania and Yale University;", "sat refers to student's satisfaction degree with the course where sat = 5 stands for the highest satisfaction;", "salary range refers to salary;", "diff refers to difficulty; diff is higher means the course is more difficult in which highest difficulty is expessed as diff = 5;", "GPA is an abbreviated name of Grade Point Average where GPA between 3 to 4 refers to gpa BETWEEN 3 AND 4; If grade is null or empty, it means that this student fails to pass this course;", "highest teachability refers to MAX(teachability); high salary refers to salary = 'high';" ] }
{ "query": "Among the easiest courses, what is the name of the course where most students got an A?", "pos": [ "diff refers to difficulty; the easiest courses refers to diff = 1; A refers to an excellent grade in which grade = 'A' for the course;" ], "neg": [ "female refers to gender = 'Female';", "research postgraduate student refers to type = 'RPG'; research assistant refers to the student who serves for research where the abbreviation is RA;", "capability on research refers to capability;", "UG is an abbreviated name of undergraduate student in which type = 'UG';", "GPA is an abbreviated name of Grade Point Average where GPA between 3 to 4 refers to gpa BETWEEN 3 AND 4; If grade is null or empty, it means that this student fails to pass this course;", "highest popularity refers to MAX(popularity); research capability refers to capability; capability = 5;", "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;", "research postgraduate students refers to type = 'RPG'; intelligence level of 4 and above refers to intelligence > = 4;", "research assistant refers to the student who serves for research where the abbreviation is RA; full name refers to f_name and l_name;", "full names of the students = f_name; l_name; highest capability refers to MAX(capability); highest salary refers to salary = 'high';" ] }
{ "query": "Among students with low salary, how many of them have a gpa of 3.5?", "pos": [ "low salary refers to salary = 'low';" ], "neg": [ "A refers to an excellent grade in which grade = 'A' for the course;", "sat refers to student's satisfaction degree with the course; more satisfied refers to MAX(sat);", "If grade is null or empty, it means that this student fails to pass the course;", "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';", "A refers to an excellent grade in which grade = 'A' for the course;", "highest teachability refers to MAX(teachability); high salary refers to salary = 'high';", "sat refers to student's satisfaction degree with the course where sat = 5 stands for the highest satisfaction;", "female refers to gender = 'Female';", "full name of students = f_name, l_name; failed refers to grade IS NULL;", "diff refers to difficulty; diff is higher means the course is more difficult in which easiest difficulty refers to diff = 1; 3-credit course refers to credit = '3'; get an \"A\" refers to grade = 'A' for the course;" ] }
{ "query": "Among students that gave satisfaction of value 4 for the course named \"Statistical Learning\", how many of them have a gpa of 3.8?", "pos": [ "satisfaction refers to sat;\n\nsat = 4; gpa = 3.8 " ], "neg": [ "full name of the professor = first_name, last_name; most number of students refers to MAX(COUNT(student_id));", "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;", "research postgraduate student refers to type = 'RPG';", "student's full names = f_name, l_name; most popular refers to MAX(popularity);", "highest popularity refers to MAX(popularity); research capability refers to capability; capability = 5;", "Ogdon Zywicki is a professor;", "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';", "sat refers to student's satisfaction degree with the course; more satisfied refers to MAX(sat);", "diff refers to difficulty; diff is higher means the course is more difficult in which highest difficulty is expessed as diff = 5;" ] }
{ "query": "Among the students who took the course Machine Learning Theory, how many of them are undergraduates?", "pos": [ "UG is an abbreviated name of undergraduate student in which type = 'UG';" ], "neg": [ "research postgraduate students refers to type = 'RPG'; intelligence level of 4 and above refers to intelligence > = 4;", "name of the students = f_name, l_name; above average-capability refers to capability > AVG(capability);", "average satisfaction = DIVIDE(SUM(sat), COUNT(course_id)); satisfaction refers to sat; good student refers to grade = 'B';", "salary range refers to salary;", "If grade is null or empty, it means that this student fails to pass the course;", "difficulty refers to diff; most difficult course refers to MAX(diff); student's full names = f_name, l_name;", "lower credit means less important;", "the highest research capability refers to capability = 5; high salary refers to salary = 'high'; prof_id refers to professor’s ID; GPA is an abbreviated name of Grade Point Average where average GPA refers to AVG(gpa);", "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';", "sat refers to student's satisfaction degree with the course; more satisfied refers to MAX(sat);" ] }
{ "query": "Please list the full names of all the students who are research assistants with the highest research capability.", "pos": [ "research assistant refers to the student who serves for research where the abbreviation is RA; the highest research capability refers to capability = 5; full name refers to f_name and l_name;" ], "neg": [ "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;", "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;", "full names of the students = f_name; l_name; highest capability refers to MAX(capability); highest salary refers to salary = 'high';", "Ivy League school is assembled by 8 universities: Brown University, Columbia University, Cornell University, Dartmouth College, Harvard University, Princeton University, University of Pennsylvania and Yale University;", "female refers to gender = 'Female'; highest teaching ability refers to MAX(teachingability);", "A refers to an excellent grade in which grade = 'A' for the course;", "name of the students = f_name, l_name; above average-capability refers to capability > AVG(capability);", "research assistant refers to the student who serves for research where the abbreviation is RA; taught postgraduate student refers to type = 'TPG'; DIVIDE(COUNT(student_id where type = 'TPG' and first_name = 'Ogdon', last_name = 'Zywicki'), COUNT(first_name = 'Ogdon', last_name = 'Zywicki')) as percentage;", "full name of the professor = first_name, last_name; most number of students refers to MAX(COUNT(student_id));", "sat refers to student's satisfaction degree with the course;" ] }
{ "query": "Describe the names and credits of the least difficult courses.", "pos": [ "diff refers to difficulty; the least difficult courses refer to MIN(diff);" ], "neg": [ "research postgraduate students refers to type = 'RPG'; name of the course refers to name; satisfaction refers to sat; sat = 1;", "the highest research capability refers to capability = 5; high salary refers to salary = 'high'; prof_id refers to professor’s ID; GPA is an abbreviated name of Grade Point Average where average GPA refers to AVG(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;", "Higher credit means more important in which most important refers to MAX(credit); diff refers to difficulty; the most difficult course refers to MAX(diff);", "low salary refers to salary = 'low';", "research assistant refers to the student who serves for research where the abbreviation is RA; full name refers to f_name and l_name;", "capability < 3; difference = subtract(count(type = 'UG')), (count(type = 'RPG')); undergraduate students refers to type = 'UG'; research postgraduate students refers to type = 'RPG';", "sat refers to student's satisfaction degree with the course;", "capability on research refers to capability;", "Undergraduate students refers to type = 'UG'; GPA of 3.7 and above refers to gpa > 3.7;" ] }
{ "query": "Calculate the GPA of the semester for Laughton Antonio.", "pos": [ "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;" ], "neg": [ "gpa of 3.1 to 3.7 refers to gpa BETWEEN 3.1 AND 3.7; undergraduate students refers to type = 'UG';", "professor with the highest research ability refers to prof_id where MAX(capability);", "DIVIDE(COUNT(student_id(grade = 'B' and name = 'Computer Network')), COUNT(student_id where name = ' Computer Network')) as percentage;", "diff refers to difficulty; diff is higher means the course is more difficult in which easiest difficulty refers to diff = 1; 3-credit course refers to credit = '3'; get an \"A\" refers to grade = 'A' for the course;", "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;", "Higher credit means more important in which most important refers to MAX(credit); diff refers to difficulty; the most difficult course refers to MAX(diff);", "student's full names = f_name, l_name; most popular refers to MAX(popularity);", "intelligence < 4; full name = f_name, l_name; gpa > 3;", "difficulty of the course refers to diff;", "research assistant refers to the student who serves for research where the abbreviation is RA; average salary refers to salary = 'med';" ] }
{ "query": "Among research postgraduate students, give the name of the course with the student satisfaction value of 1.", "pos": [ "research postgraduate students refers to type = 'RPG'; name of the course refers to name; satisfaction refers to sat; sat = 1;" ], "neg": [ "student with the highest GPA refers to student_id where MAX(gpa);", "full names of the students = f_name; l_name; highest capability refers to MAX(capability); highest salary refers to salary = 'high';", "highest teachability refers to MAX(teachability); high salary refers to salary = 'high';", "research assistant refers to the student who serves for research where the abbreviation is RA;", "diff refers to difficulty; diff is higher means the course is more difficult in which easiest difficulty refers to diff = 1; 3-credit course refers to credit = '3'; get an \"A\" refers to grade = 'A' for the course;", "research postgraduate student refers to type = 'RPG';", "student's last name refers to l_name; satisfaction refers to sat; highest satisfaction refers to MAX(sat);", "gpa of 3.1 to 3.7 refers to gpa BETWEEN 3.1 AND 3.7; undergraduate students refers to type = 'UG';", "UG is an abbreviated name of undergraduate student in which type = 'UG';", "sat refers to student's satisfaction degree with the course;" ] }
{ "query": "How many courses does the student with the highest GPA this semester take?", "pos": [ "student with the highest GPA refers to student_id where MAX(gpa);" ], "neg": [ "A refers to an excellent grade in which grade = 'A' for the course;", "If grade is NULL, it means that this student fails to pass the course; full name refers to f_name and l_name;", "university from which the professor graduated refers to graduate_from; undergraduate students refers to type = 'UG';", "sat refers to student's satisfaction degree with the course;", "GPA is an abbreviated name of Grade Point Average where GPA between 3 to 4 refers to gpa BETWEEN 3 AND 4; If grade is null or empty, it means that this student fails to pass this course;", "full names of the students = f_name; l_name; highest capability refers to MAX(capability); highest salary refers to salary = 'high';", "full name of the professor = first_name, last_name; most number of students refers to MAX(COUNT(student_id));", "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; prof_id refers to professor’s ID; full name refers to f_name and l_name;", "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';" ] }
{ "query": "Provide the registered courses' names by undergraduate students with GPA of 3.7 and above.", "pos": [ "Undergraduate students refers to type = 'UG'; GPA of 3.7 and above refers to gpa > 3.7;" ], "neg": [ "highest popularity refers to MAX(popularity); research capability refers to capability; capability = 5;", "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';", "research postgraduate students refers to type = 'RPG'; name of the course refers to name; satisfaction refers to sat; sat = 1;", "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';", "gpa of 3.1 to 3.7 refers to gpa BETWEEN 3.1 AND 3.7; undergraduate students refers to type = 'UG';", "capability on research refers to capability;", "intelligence < 4; full name = f_name, l_name; gpa > 3;", "highest teachability refers to MAX(teachability); high salary refers to salary = 'high';", "student's last name refers to l_name; satisfaction refers to sat; highest satisfaction refers to MAX(sat);" ] }
{ "query": "Name the students with above-average capability.", "pos": [ "name of the students = f_name, l_name; above average-capability refers to capability > AVG(capability);" ], "neg": [ "sat refers to student's satisfaction degree with the course where sat = 5 stands for the highest satisfaction;", "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; average salary refers to salary = 'med';", "student with the highest GPA refers to student_id where MAX(gpa);", "female refers to gender = 'Female'; highest teaching ability refers to MAX(teachingability);", "lower credit means less important;", "If grade is NULL, it means that this student fails to pass the course; full name refers to f_name and l_name;", "research assistant refers to the student who serves for research where the abbreviation is RA;", "female refers to gender = 'Female';", "sat refers to student's satisfaction degree with the course; more satisfied refers to MAX(sat);" ] }
{ "query": "How many students, who have a GPA between 3 to 4, failed a course?", "pos": [ "GPA is an abbreviated name of Grade Point Average where GPA between 3 to 4 refers to gpa BETWEEN 3 AND 4; If grade is null or empty, it means that this student fails to pass this course;" ], "neg": [ "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; full name refers to f_name and l_name;", "salary range refers to salary;", "diff refers to difficulty; diff is higher means the course is more difficult in which highest difficulty is expessed as diff = 5;", "UG is an abbreviated name of undergraduate student in which type = 'UG';", "lower intelligence refers to intelligence = 1; sat refers to student's satisfaction degree with the course where least satisfaction refers to sat = 1;", "highest popularity refers to MAX(popularity); research capability refers to capability; capability = 5;", "professor with the highest research ability refers to prof_id where MAX(capability);", "research assistant refers to the student who serves for research where the abbreviation is RA; full name refers to f_name and l_name;", "female refers to gender = 'Female'; highest teaching ability refers to MAX(teachingability);" ] }
{ "query": "Which professor advised Willie Rechert to work as a research assistant? Please give his or her full name.", "pos": [ "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;" ], "neg": [ "lower credit means less important;", "diff refers to difficulty; diff is higher means the course is more difficult in which highest difficulty is expessed as diff = 5;", "the highest research capability refers to capability = 5; high salary refers to salary = 'high'; prof_id refers to professor’s ID; GPA is an abbreviated name of Grade Point Average where average GPA refers to AVG(gpa);", "sat refers to student's satisfaction degree with the course;", "sat refers to student's satisfaction degree with the course where sat = 5 stands for the highest satisfaction;", "capability on research refers to capability;", "diff refers to difficulty; diff is higher means the course is more difficult in which easiest difficulty refers to diff = 1; 3-credit course refers to credit = '3'; get an \"A\" refers to grade = 'A' for the course;", "female refers to gender = 'Female'; highest teaching ability refers to MAX(teachingability);", "difficulty refers to diff; most difficult course refers to MAX(diff); student's full names = f_name, l_name;", "intelligence < 4; full name = f_name, l_name; gpa > 3;" ] }
{ "query": "What is the average GPA of the students with the highest research capability and high salary? List the full names of the students.", "pos": [ "the highest research capability refers to capability = 5; high salary refers to salary = 'high'; prof_id refers to professor’s ID; GPA is an abbreviated name of Grade Point Average where average GPA refers to AVG(gpa);" ], "neg": [ "female refers to gender = 'Female'; highest teaching ability refers to MAX(teachingability);", "If grade is NULL, it means that this student fails to pass the course; full name refers to f_name and l_name;", "capability on research refers to capability;", "diff refers to difficulty; the least difficult courses refer to MIN(diff);", "professor with the highest research ability refers to prof_id where MAX(capability);", "research postgraduate students refers to type = 'RPG'; intelligence level of 4 and above refers to intelligence > = 4;", "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; prof_id refers to professor’s ID; full name refers to f_name and l_name;", "highest popularity refers to MAX(popularity); research capability refers to capability; capability = 5;", "diff refers to difficulty; diff is higher means the course is more difficult in which highest difficulty is expessed as diff = 5;" ] }
{ "query": "Please list the names of the courses that are less important than Machine Learning Theory.", "pos": [ "lower credit means less important;" ], "neg": [ "average satisfaction difference = SUBTRACT(AVG(sat where salary = 'high')), (AVG(sat where salary = 'free')); satisfaction refers to sat; no salary refers to salary = 'free';", "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;", "professor with the highest research ability refers to prof_id where MAX(capability);", "A refers to an excellent grade in which grade = 'A' for the course;", "full name of students = f_name, l_name; failed refers to grade IS NULL;", "intelligence < 4; full name = f_name, l_name; gpa > 3;", "difficulty refers to diff; most difficult course refers to MAX(diff); student's full names = f_name, l_name;", "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';", "diff refers to difficulty; the least difficult courses refer to MIN(diff);", "gpa of 3.1 to 3.7 refers to gpa BETWEEN 3.1 AND 3.7; undergraduate students refers to type = 'UG';" ] }
{ "query": "How many research assistants does the female professor with the lowest teaching ability have?", "pos": [ "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';" ], "neg": [ "capability < 3; difference = subtract(count(type = 'UG')), (count(type = 'RPG')); undergraduate students refers to type = 'UG'; research postgraduate students refers to type = 'RPG';", "name of the students = f_name, l_name; above average-capability refers to capability > AVG(capability);", "capability on research refers to capability;", "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;", "intelligence < 4; full name = f_name, l_name; gpa > 3;", "DIVIDE(COUNT(student_id(grade = 'B' and name = 'Computer Network')), COUNT(student_id where name = ' Computer Network')) as percentage;", "research assistant refers to the student who serves for research where the abbreviation is RA; average salary refers to salary = 'med';", "highest teachability refers to MAX(teachability); high salary refers to salary = 'high';", "low salary refers to salary = 'low';", "sat refers to student's satisfaction degree with the course where sat = 5 stands for the highest satisfaction;" ] }
{ "query": "List the courses' IDs and students' IDs who failed to pass the course.", "pos": [ "If grade is null or empty, it means that this student fails to pass the course;" ], "neg": [ "Ivy League school is assembled by 8 universities: Brown University, Columbia University, Cornell University, Dartmouth College, Harvard University, Princeton University, University of Pennsylvania and Yale University;", "difficulty refers to diff; most difficult course refers to MAX(diff); student's full names = f_name, l_name;", "student's last name refers to l_name; satisfaction refers to sat; highest satisfaction refers to MAX(sat);", "full names of the students = f_name; l_name; highest capability refers to MAX(capability); highest salary refers to salary = 'high';", "difficulty of the course refers to diff;", "average satisfaction difference = SUBTRACT(AVG(sat where salary = 'high')), (AVG(sat where salary = 'free')); satisfaction refers to sat; no salary refers to salary = 'free';", "Name the professor refers to full name which includes f_name and l_name;", "If grade is NULL, it means that this student fails to pass the course; full name refers to f_name and l_name;", "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;", "highest popularity refers to MAX(popularity); research capability refers to capability; capability = 5;" ] }
{ "query": "Among professors with the highest popularity, how many of their students have research capability of 5?", "pos": [ "highest popularity refers to MAX(popularity); research capability refers to capability; capability = 5;" ], "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;", "UG is an abbreviated name of undergraduate student in which type = 'UG';", "student with the highest GPA refers to student_id where MAX(gpa);", "A refers to an excellent grade in which grade = 'A' for the course;", "research assistant refers to the student who serves for research where the abbreviation is RA; full name refers to f_name and l_name;", "satisfaction refers to sat;\n\nsat = 4; gpa = 3.8 ", "diff refers to difficulty; the least difficult courses refer to MIN(diff);", "research postgraduate students refers to type = 'RPG'; name of the course refers to name; satisfaction refers to sat; sat = 1;", "university from which the professor graduated refers to graduate_from; undergraduate students refers to type = 'UG';", "full name of students = f_name, l_name; failed refers to grade IS NULL;" ] }
{ "query": "What is the salary range of the student with an email of [email protected]?", "pos": [ "salary range refers to salary;" ], "neg": [ "research assistant refers to the student who serves for research where the abbreviation is RA;", "low salary refers to salary = 'low';", "sat refers to student's satisfaction degree with the course where sat = 5 stands for the highest satisfaction;", "diff refers to difficulty; the least difficult courses refer to MIN(diff);", "difficulty of the course refers to diff;", "research assistant refers to the student who serves for research where the abbreviation is RA; taught postgraduate student refers to type = 'TPG'; DIVIDE(COUNT(student_id where type = 'TPG' and first_name = 'Ogdon', last_name = 'Zywicki'), COUNT(first_name = 'Ogdon', last_name = 'Zywicki')) as percentage;", "university from which the professor graduated refers to graduate_from; undergraduate students refers to type = 'UG';", "student with the highest GPA refers to student_id where MAX(gpa);", "sat refers to student's satisfaction degree with the course;", "research assistant refers to the student who serves for research where the abbreviation is RA; average salary refers to salary = 'med';" ] }
{ "query": "Among students registered for the most difficult course, list the students' full names who got grade A.", "pos": [ "difficulty refers to diff; most difficult course refers to MAX(diff); student's full names = f_name, l_name;" ], "neg": [ "difficulty of a course refers to diff; most difficult course refers to MAX(diff);", "research assistant refers to the student who serves for research where the abbreviation is RA; taught postgraduate student refers to type = 'TPG'; DIVIDE(COUNT(student_id where type = 'TPG' and first_name = 'Ogdon', last_name = 'Zywicki'), COUNT(first_name = 'Ogdon', last_name = 'Zywicki')) as percentage;", "gpa of 3.1 to 3.7 refers to gpa BETWEEN 3.1 AND 3.7; undergraduate students refers to type = 'UG';", "diff refers to difficulty; the easiest courses refers to diff = 1; A refers to an excellent grade in which grade = 'A' for the course;", "Ivy League school is assembled by 8 universities: Brown University, Columbia University, Cornell University, Dartmouth College, Harvard University, Princeton University, University of Pennsylvania and Yale University;", "research postgraduate student refers to type = 'RPG'; research assistant refers to the student who serves for research where the abbreviation is RA;", "Ogdon Zywicki is a professor;", "salary range refers to salary;", "GPA is an abbreviated name of Grade Point Average where GPA between 3 to 4 refers to gpa BETWEEN 3 AND 4; If grade is null or empty, it means that this student fails to pass this course;", "diff refers to difficulty; diff is higher means the course is more difficult in which easiest difficulty refers to diff = 1; 3-credit course refers to credit = '3'; get an \"A\" refers to grade = 'A' for the course;" ] }
{ "query": "What is the percentage of students who get a \"B\" in the course \"Computer Network\"?", "pos": [ "DIVIDE(COUNT(student_id(grade = 'B' and name = 'Computer Network')), COUNT(student_id where name = ' Computer Network')) as percentage;" ], "neg": [ "the highest research capability refers to capability = 5; high salary refers to salary = 'high'; prof_id refers to professor’s ID; GPA is an abbreviated name of Grade Point Average where average GPA refers to AVG(gpa);", "diff refers to difficulty; diff is higher means the course is more difficult in which highest difficulty is expessed as diff = 5;", "student with the highest GPA refers to student_id where MAX(gpa);", "gpa of 3.1 to 3.7 refers to gpa BETWEEN 3.1 AND 3.7; undergraduate students refers to type = 'UG';", "research postgraduate students refers to type = 'RPG'; intelligence level of 4 and above refers to intelligence > = 4;", "difficulty of a course refers to diff; most difficult course refers to MAX(diff);", "sat refers to student's satisfaction degree with the course; more satisfied refers to MAX(sat);", "research postgraduate student refers to type = 'RPG'; research assistant refers to the student who serves for research where the abbreviation is RA;", "lower intelligence refers to intelligence = 1; sat refers to student's satisfaction degree with the course where least satisfaction refers to sat = 1;", "research postgraduate students refers to type = 'RPG'; name of the course refers to name; satisfaction refers to sat; sat = 1;" ] }
{ "query": "Among the students with less than four intelligence, list the full name and phone number of students with a greater than 3 GPA.", "pos": [ "intelligence < 4; full name = f_name, l_name; gpa > 3;" ], "neg": [ "average satisfaction = DIVIDE(SUM(sat), COUNT(course_id)); satisfaction refers to sat; good student refers to grade = 'B';", "research postgraduate students refers to type = 'RPG'; name of the course refers to name; satisfaction refers to sat; sat = 1;", "highest popularity refers to MAX(popularity); research capability refers to capability; capability = 5;", "Name the professor refers to full name which includes f_name and l_name;", "Higher credit means more important in which most important refers to MAX(credit); diff refers to difficulty; the most difficult course refers to MAX(diff);", "sat refers to student's satisfaction degree with the course where sat = 5 stands for the highest satisfaction;", "the highest research capability refers to capability = 5; high salary refers to salary = 'high'; prof_id refers to professor’s ID; GPA is an abbreviated name of Grade Point Average where average GPA refers to AVG(gpa);", "research assistant refers to the student who serves for research where the abbreviation is RA; average salary refers to salary = 'med';", "difficulty of a course refers to diff; most difficult course refers to MAX(diff);", "diff refers to difficulty; the least difficult courses refer to MIN(diff);" ] }
{ "query": "List the capability of research postgraduate students with an intellegence level of 4 and above.", "pos": [ "research postgraduate students refers to type = 'RPG'; intelligence level of 4 and above refers to intelligence > = 4;" ], "neg": [ "diff refers to difficulty; the least difficult courses refer to MIN(diff);", "intelligence < 4; full name = f_name, l_name; gpa > 3;", "average satisfaction difference = SUBTRACT(AVG(sat where salary = 'high')), (AVG(sat where salary = 'free')); satisfaction refers to sat; no salary refers to salary = 'free';", "female refers to gender = 'Female'; highest teaching ability refers to MAX(teachingability);", "research assistant refers to the student who serves for research where the abbreviation is RA; average salary refers to salary = 'med';", "professor with the highest research ability refers to prof_id where MAX(capability);", "capability on research refers to capability;", "salary range refers to salary;", "If grade is NULL, it means that this student fails to pass the course; full name refers to f_name and l_name;", "diff refers to difficulty; the easiest courses refers to diff = 1; A refers to an excellent grade in which grade = 'A' for the course;" ] }
{ "query": "What is the average satisfying degree of the course Machine Learning Theory?", "pos": [ "sat refers to student's satisfaction degree with the course;" ], "neg": [ "Name the professor refers to full name which includes f_name and l_name;", "capability < 3; difference = subtract(count(type = 'UG')), (count(type = 'RPG')); undergraduate students refers to type = 'UG'; research postgraduate students refers to type = 'RPG';", "salary range refers to salary;", "low salary refers to salary = 'low';", "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;", "research assistant refers to the student who serves for research where the abbreviation is RA; full name refers to f_name and l_name;", "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';", "lower intelligence refers to intelligence = 1; sat refers to student's satisfaction degree with the course where least satisfaction refers to sat = 1;", "A refers to an excellent grade in which grade = 'A' for the course;", "research assistant refers to the student who serves for research where the abbreviation is RA; the highest research capability refers to capability = 5; full name refers to f_name and l_name;" ] }
{ "query": "What is the capability on research of the student named Alvera McQuillin?", "pos": [ "capability on research refers to capability;" ], "neg": [ "full name of the professor = first_name, last_name; most number of students refers to MAX(COUNT(student_id));", "A refers to an excellent grade in which grade = 'A' for the course;", "research assistant refers to the student who serves for research where the abbreviation is RA; full name refers to f_name and l_name;", "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; higher popularity means more popular; prof_id refers to professor’s ID;", "difficulty refers to diff; most difficult course refers to MAX(diff); student's full names = f_name, l_name;", "female refers to gender = 'Female';", "Name the professor refers to full name which includes f_name and l_name;", "salary range refers to salary;", "Undergraduate students refers to type = 'UG'; GPA of 3.7 and above refers to gpa > 3.7;" ] }
{ "query": "Give the phone number of the only student who obtained \"A\" in the course \"Intro to BlockChain\".", "pos": [ "A refers to an excellent grade in which grade = 'A' for the course;" ], "neg": [ "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;", "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;", "intelligence < 4; full name = f_name, l_name; gpa > 3;", "student's last name refers to l_name; satisfaction refers to sat; highest satisfaction refers to MAX(sat);", "research postgraduate student refers to type = 'RPG'; research assistant refers to the student who serves for research where the abbreviation is RA;", "satisfaction refers to sat;\n\nsat = 4; gpa = 3.8 ", "professor with the highest research ability refers to prof_id where MAX(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';", "female refers to gender = 'Female';", "capability < 3; difference = subtract(count(type = 'UG')), (count(type = 'RPG')); undergraduate students refers to type = 'UG'; research postgraduate students refers to type = 'RPG';" ] }
{ "query": "Provide the full names and emails of unpaid research assistants.", "pos": [ "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';" ], "neg": [ "full name of the professor = first_name, last_name; most number of students refers to MAX(COUNT(student_id));", "research assistant refers to the student who serves for research where the abbreviation is RA; the highest research capability refers to capability = 5; full name refers to f_name and l_name;", "diff refers to difficulty; diff is higher means the course is more difficult in which easiest difficulty refers to diff = 1; 3-credit course refers to credit = '3'; get an \"A\" refers to grade = 'A' for the course;", "UG is an abbreviated name of undergraduate student in which type = 'UG';", "gpa of 3.1 to 3.7 refers to gpa BETWEEN 3.1 AND 3.7; undergraduate students refers to type = 'UG';", "highest teachability refers to MAX(teachability); high salary refers to salary = 'high';", "diff refers to difficulty; the least difficult courses refer to MIN(diff);", "DIVIDE(COUNT(student_id(grade = 'B' and name = 'Computer Network')), COUNT(student_id where name = ' Computer Network')) as percentage;", "A refers to an excellent grade in which grade = 'A' for the course;", "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';" ] }