set
dict
{ "query": "Identify all installed and activated apps by their id.", "pos": [ "installed refers to is_installed = 1; activated refers to is_active = 1; id refers to app_id;" ], "neg": [ "魅蓝Note 2 refers to device_model = '魅蓝Note 2';", "female refers to gender = 'F'; over the age of 50 refers to age > 50;", "phone models refers to device_model; OPPO brand refers to phone_brand = 'OPPO';", "percentage = DIVIDE(MULTIPLY(CONCAT(COUNT(device_id WHERE phone_brand = 'OPPO' AND gender = 'F'), 100), COUNT(device_id)), '%') AS 'the percentage of female OPPO users'; DIVIDE(MULTIPLY(CONCAT(COUNT(device_id WHERE phone_brand = 'OPPO' AND gender = 'M'), 100), COUNT(device_id)), '%') AS 'the percentage of male OPPO users';", "most common age group refers to MAX(COUNT(`group`));", "percentage = DVIDE(SUM(gender = 'M'), COUNT(device_id)); male refers to gender = 'M';", "ratio = DIVIDE(SUM(is_active = 1), SUM(is_active = 0)); active refers to is_active = 1; inactive refers to is_active = 0;", "brand of the device refers to phone_brand; youngest user refers to MIN(age);", "device refers to device_id; device_id = -9222956879900150000;", "oldest user refers to MAX(age); active user refers to is_active = 1; on 5/6/2016 refers to timestamp LIKE '2016-05-06%'; coordinates 121, 31 refers to longitude = 121 AND latitude = 31;" ] }
{ "query": "Among the users who use a Galaxy Note 2, how many of them are female?", "pos": [ "Galaxy Note 2 refers to device_model = 'Galaxy Note 2'; female refers to gender = 'F';" ], "neg": [ "coordinates of (80,37) refers to longitude = 80 and latitude = 37;", "models refers to device_model;", "most app users refers to MAX(COUNT(app_id));", "male refers to gender = 'M'; age group refers to group; `group` = 'M32-38';", "event number refers to event_id; event_id = 7; user number refers to app_id; app_id = -8022267440849930000;", "on 2016/5/1 at 0:55:25 refers to timestamp = '2016-05-01 00:55:25';", "male refers to gender = 'M'; Galaxy Note 3 refers to device_model = 'Galaxy Note 3';", "location coordinates = longitude, latitude; Galaxy Note 2 refers to device_model = 'Galaxy Note 2';", "oldest device user refers to MAX(age);", "male refers to gender = 'M';" ] }
{ "query": "Please provide the gender of at least one user who owns an HTC Desire 826 device.", "pos": [ "HTC Desire 826 refers to phone_brand = 'HTC' AND device_model = 'Desire 826';" ], "neg": [ "behavior categories refers to category; user number refers to app_id; app_id = -9222198347540750000;", "event number refers to event_id; event_id = 7; user number refers to app_id; app_id = -8022267440849930000;", "SUGAR refers to phone_brand = 'SUGAR'; percentage = MULTIPLY(DIVIDE(SUM(age > 20), COUNT(device_id)) 1.0); above 20 years old refers to age > 20;", "locate = longitude, latitude; women refers to gender = 'F'; under 30 years old refers to age < 30;", "coordinates of (80,37) refers to longitude = 80 and latitude = 37;", "how many more = SUBTRACT(SUM(IF(phone_brand = 'vivo',1,0)), SUM(IF(phone_brand = 'LG',1,0))); brand vivo refers to phone_brand = 'vivo'; brand LG refers to phone_brand = 'LG';", "average age = AVG(age); female refers to gender = 'F'; vivo device refers to phone_brand = 'vivo';", "Galaxy Note 2 refers to device_model = 'Galaxy Note 2'; female refers to gender = 'F';", "30-year-old refers to age = '30'; active refers to is_active = 1; on 2016/5/2 refers to timestamp = '2016/5/2 XX:XX:XX';", "most users belong to refers to MAX(COUNT(app_id)); name of category refers to category;" ] }
{ "query": "What is the ID of the device used by the youngest user?", "pos": [ "ID of the device refers to device_id; youngest user refers to MIN(age);" ], "neg": [ "event no. refers to event_id; event_id = '2'; percentage = SUM(IF(phone_brand = 'vivo',1,0)), COUNT(device_id) WHERE event_id = '2'; vivo phone refers to phone_brand = 'vivo';", "model of the device refers to device_model; oldest user refers to MAX(age);", "male refers to gender = 'M';", "in 2016 refers to year(timestamp) = 2016; M23-26 user group refers to `group` = 'M23-26';", "average age = AVG(age); female refers to gender = 'F'; vivo device refers to phone_brand = 'vivo';", "group of age refers to group;", "device number refers to device_id; device_id = 29182687948017100; event number refers to event_id; and event_id = 1;", "HTC Desire 826 refers to phone_brand = 'HTC' AND device_model = 'Desire 826';", "female refers to gender = 'F'; over the age of 50 refers to age > 50;", "app no. refers to app_id; app_id = 1977658975649780000;" ] }
{ "query": "For the event which happened at 23:55:16 on 2016/5/7, in the location coordinate(113, 28), on what device did it happen? Give the name of the device model.", "pos": [ "at 23:55:16 on 2016/5/7 refers to timestamp = '2016/5/7 23:55:16'; location coordinate (113, 28) refers to longitude = '113' AND latitude = '28';" ], "neg": [ "model of the device refers to device_model; oldest user refers to MAX(age);", "device number refers to device_id; device_id = 29182687948017100; event number refers to event_id; and event_id = 1;", "30-year-old refers to age = '30'; active refers to is_active = 1; on 2016/5/2 refers to timestamp = '2016/5/2 XX:XX:XX';", "percentage = MULTIPLY(DIVIDE(SUM(gender = NULL and age = NULL and `group` = NULL), COUNT(device_id)), 1.0); vivo devices refers to phone_brand = 'vivo'; no information refers to gender = NULL AND age = NULL AND `group` = NULL;", "female refers to gender = 'F'; over the age of 50 refers to age > 50;", "model refers to device_model; device_model = 'A51';", "id refers to device_id;", "percentage = MULTIPLY(DIVIDE(SUM(is_installed = 1 and is_active = 0), COUNT(app_id)), 1.0); event number refers to event_id = 6; installed refers to is_installed = 1; do not use refers to is_active = 0;", "at 23:33:34 on 2016/5/6 refers to timestamp = '2016/5/6 23:33:34'; installed refers to is_installed = '1';", "gender that owned more = SUBTRACT(IF(SUM(gender = 'M'), SUM(gender = 'F'),'M','F'));" ] }
{ "query": "Please list the location coordinates of all the Galaxy Note 2 devices when an event happened.", "pos": [ "location coordinates = longitude, latitude; Galaxy Note 2 refers to device_model = 'Galaxy Note 2';" ], "neg": [ "oldest user refers to MAX(age); active user refers to is_active = 1; on 5/6/2016 refers to timestamp LIKE '2016-05-06%'; coordinates 121, 31 refers to longitude = 121 AND latitude = 31;", "IDs of the events refers to event_id; vivo devices refers to phone_brand = 'vivo';", "male refers to gender = 'M';", "event no. refers to event_id; event_id = '887711';", "percentage = DVIDE(SUM(gender = 'M'), COUNT(device_id)); male refers to gender = 'M';", "user group M23-26 refers to group = 'M23-26'; vivo device refers to phone_brand = 'vivo';", "oldest event refers to MIN(timestamp);", "female refers to gender = 'F'; ZenFone 5 refers to device_model = 'ZenFone 5';", "male refers to gender = 'M';", "brand vivo refers to phone_brand = 'vivo';" ] }
{ "query": "What is the ratio of female users to male users who uses a vivo device?", "pos": [ "ratio = DIVIDE(SUM(gender = 'M' WHERE phone_brand = 'vivo'), SUM(gender = 'F' WHERE phone_brand = 'vivo')); female refers to gender = 'F'; male refers to gender = 'M'; vivo device refers to phone_brand = 'vivo';" ], "neg": [ "youngest refers to MIN(age); female refers to gender = 'F';", "ratio in percentage = DIVIDE(SUM(IF(category = '80s Japanese comic',1,0)), COUNT(app_id)) as '80s'; DIVIDE(SUM(IF(category = '90s Japanese comic',1,0)), COUNT(app_id)) as '90s'; 80s Japanese comic refers to category = '80s Japanese comic'; 90s Japanese comic refers to category = '80s Japanese comic';", "percentage = MULTIPLY(DIVIDE(SUM(is_installed = 1 and is_active = 0), COUNT(app_id)), 1.0); event number refers to event_id = 6; installed refers to is_installed = 1; do not use refers to is_active = 0;", "on 2016/5/1 refers to timestamp = '2016-05-01'; male refers to gender = 'M';", "model refers to device_model; device_model = 'A51';", "age group refers to group; most OPPO users refers to MAX(COUNT(phone_brand = 'OPPO')); OPPO users refers to phone_brand = 'OPPO';", "behavior category refers to category; number refers to app_id; app_id = 5902120154267990000;", "30-year-old refers to age = '30'; active refers to is_active = 1; on 2016/5/2 refers to timestamp = '2016/5/2 XX:XX:XX';", "Galaxy Note 2 refers to device_model = 'Galaxy Note 2';", "at 23:55:16 on 2016/5/7 refers to timestamp = '2016/5/7 23:55:16'; location coordinate (113, 28) refers to longitude = '113' AND latitude = '28';" ] }
{ "query": "How many apps are labeled 7?", "pos": [ "labeled 7 refers to label_id = 7;" ], "neg": [ "LG L70 refers to phone_brand = 'LG' AND device_model = 'L70';", "M23-26 user group refers to `group` = 'M23-26';", "event no. refers to event_id; event_id = 2; not active refers to is_active = 0; earliest time refers to MIN(timestamp);", "locate = longitude, latitude; women refers to gender = 'F'; under 30 years old refers to age < 30;", "魅蓝Note 2 refers to device_model = '魅蓝Note 2';", "id refers to device_id;", "installed refers to is_installed = 1; activated refers to is_active = 1; id refers to app_id;", "male refers to gender = 'M';", "location coordinates = longitude, latitude; inactive refers to is_active = 0; event no. refers to event_id; event_id = 2;", "ratio = DIVIDE(SUM(gender = 'M' WHERE phone_brand = 'vivo'), SUM(gender = 'F' WHERE phone_brand = 'vivo')); female refers to gender = 'F'; male refers to gender = 'M'; vivo device refers to phone_brand = 'vivo';" ] }
{ "query": "How many female users use ZenFone 5 devices?", "pos": [ "female refers to gender = 'F'; ZenFone 5 refers to device_model = 'ZenFone 5';" ], "neg": [ "percentage = MULTIPLY(DIVIDE(SUM(is_installed = 1 and is_active = 0), COUNT(app_id)), 1.0); event number refers to event_id = 6; installed refers to is_installed = 1; do not use refers to is_active = 0;", "model refers to device_model;", "installed refers to is_installed = 1; not active refers to is_active = 0;", "phone models refers to device_model; OPPO brand refers to phone_brand = 'OPPO';", "most app users refers to MAX(COUNT(app_id));", "male refers to gender = 'M';", "OPPO refers to phone_brand = 'OPPO';", "date refers to timestamp; most events refers to MAX(COUNT(event_id)); 40-year-old  refers to age = 40; male refers to gender = 'M';", "male refers to gender = 'M';", "on 2016/5/1 at 0:55:25 refers to timestamp = '2016-05-01 00:55:25';" ] }
{ "query": "Please list the IDs of the events happened on all the vivo devices.", "pos": [ "IDs of the events refers to event_id; vivo devices refers to phone_brand = 'vivo';" ], "neg": [ "females refers to gender = 'F'; aged 24 to 26 refers to `group` = 'F24-26';", "vivo device refers to phone_brand = 'vivo'; youngest refers to MIN(age);", "event no. refers to event_id; event_id = '2'; percentage = SUM(IF(phone_brand = 'vivo',1,0)), COUNT(device_id) WHERE event_id = '2'; vivo phone refers to phone_brand = 'vivo';", "models refers to device_model; on 5th May, 2016 refers to timestamp LIKE '2016-05-05%'; coordinates of (112,44) refers to longitude = 112 AND latitude = 44;", "vivo devices refers to phone_brand = 'vivo'; in the year 2016 refers to year(timestamp) = 2016;", "most app users refers to MAX(COUNT(app_id));", "on 2016/5/1 refers to timestamp = '2016-05-01'; male refers to gender = 'M';", "female refers to gender = 'F'; ZenFone 5 refers to device_model = 'ZenFone 5';", "event no. refers to event_id; event_id = '887711';", "male refers to gender = 'M';" ] }
{ "query": "Among the users who use OPPO, calculate the percentage of those who are under 50 years old.", "pos": [ "OPPO refers to phone_brand = 'OPPO'; percentage = MULTIPLY(DIVIDE(SUM(age < 50), COUNT(device_id)), 1.0); under 50 years old refers to age < 50;" ], "neg": [ "most app users refers to MAX(COUNT(app_id));", "model refers to device_model;", "how many more = SUBTRACT(SUM(IF(phone_brand = 'vivo',1,0)), SUM(IF(phone_brand = 'LG',1,0))); brand vivo refers to phone_brand = 'vivo'; brand LG refers to phone_brand = 'LG';", "device number refers to device_id; device_id = 29182687948017100; event number refers to event_id; and event_id = 1;", "brand of the device refers to phone_brand; youngest user refers to MIN(age);", "labeled 7 refers to label_id = 7;", "device no. refers to device_id; device_id = 29182687948017100; in 2016 refers to `timestamp` LIKE '2016%';", "88-years-old refers to age = 88; male refers to gender = 'M'; on 4th May, 2016 refers to timestamp LIKE '2016-05-04%';", "ratio = DIVIDE(SUM(gender = 'M' WHERE phone_brand = 'vivo'), SUM(gender = 'F' WHERE phone_brand = 'vivo')); female refers to gender = 'F'; male refers to gender = 'M'; vivo device refers to phone_brand = 'vivo';", "event number refers to event_id; event_id = 7; user number refers to app_id; app_id = -8022267440849930000;" ] }
{ "query": "What are the categories of the top 2 oldest events?", "pos": [ "oldest event refers to MIN(timestamp);" ], "neg": [ "vivo device refers to phone_brand = 'vivo'; female refers to gender = 'F'; under 30 refers to age < 30;", "HTC Desire 826 refers to phone_brand = 'HTC' AND device_model = 'Desire 826';", "event no. refers to event_id; event_id = '2'; percentage = SUM(IF(phone_brand = 'vivo',1,0)), COUNT(device_id) WHERE event_id = '2'; vivo phone refers to phone_brand = 'vivo';", "oldest user refers to MAX(age);", "under 30 refers to age < 30;", "date refers to timestamp; most events refers to MAX(COUNT(event_id)); 40-year-old  refers to age = 40; male refers to gender = 'M';", "event no. refers to event_id; event_id = 2; vivo devices refers to phone_brand = 'vivo';", "at 23:33:34 on 2016/5/6 refers to timestamp = '2016/5/6 23:33:34'; installed refers to is_installed = '1';", "active refers to is_active = 1;", "魅蓝Note 2 refers to device_model = '魅蓝Note 2';" ] }
{ "query": "List all females aged 24 to 26 devices' locations.", "pos": [ "females refers to gender = 'F'; aged 24 to 26 refers to `group` = 'F24-26';" ], "neg": [ "gender that logged in the most refers to MAX(COUNT(gender)); first 10 days of May 2016 refers to timestamp BETWEEN '2016-05-01 00:00:00' AND '2016-05-10 23:59:59';", "魅蓝Note 2 refers to device_model = '魅蓝Note 2';", "on 2016/5/1 refers to timestamp = '2016-05-01'; male refers to gender = 'M';", "percentage = MULTIPLY(DIVIDE(SUM(is_installed = 1 and is_active = 0), COUNT(app_id)), 1.0); event number refers to event_id = 6; installed refers to is_installed = 1; do not use refers to is_active = 0;", "male refers to gender = 'M';", "locate = longitude, latitude; women refers to gender = 'F'; under 30 years old refers to age < 30;", "installed refers to is_installed = 1; not active refers to is_active = 0;", "event no. refers to event_id; event_id = '2'; percentage = SUM(IF(phone_brand = 'vivo',1,0)), COUNT(device_id) WHERE event_id = '2'; vivo phone refers to phone_brand = 'vivo';", "oldest user refers to MAX(age); active user refers to is_active = 1; on 5/6/2016 refers to timestamp LIKE '2016-05-06%'; coordinates 121, 31 refers to longitude = 121 AND latitude = 31;", "SUGAR refers to phone_brand = 'SUGAR'; percentage = MULTIPLY(DIVIDE(SUM(age > 20), COUNT(device_id)) 1.0); above 20 years old refers to age > 20;" ] }
{ "query": "For the device with an event occurring on 2016/5/1 at 0:55:25, what is the gender of its user?", "pos": [ "on 2016/5/1 at 0:55:25 refers to timestamp = '2016-05-01 00:55:25';" ], "neg": [ "youngest refers to MIN(age); female refers to gender = 'F';", "how many more = SUBTRACT(SUM(IF(phone_brand = 'vivo',1,0)), SUM(IF(phone_brand = 'LG',1,0))); brand vivo refers to phone_brand = 'vivo'; brand LG refers to phone_brand = 'LG';", "device no. refers to device_id; device_id = 29182687948017100; in 2016 refers to `timestamp` LIKE '2016%';", "youngest user refers to MIN(age);", "more events refers to MAX(COUNT(event_id));", "on 2016/5/1 refers to timestamp = '2016-05-01'; male refers to gender = 'M';", "user group M23-26 refers to group = 'M23-26'; vivo device refers to phone_brand = 'vivo';", "Galaxy Note 2 refers to device_model = 'Galaxy Note 2'; female refers to gender = 'F';", "under 30 refers to age < 30;", "percentage = DIVIDE(MULTIPLY(CONCAT(COUNT(device_id WHERE phone_brand = 'OPPO' AND gender = 'F'), 100), COUNT(device_id)), '%') AS 'the percentage of female OPPO users'; DIVIDE(MULTIPLY(CONCAT(COUNT(device_id WHERE phone_brand = 'OPPO' AND gender = 'M'), 100), COUNT(device_id)), '%') AS 'the percentage of male OPPO users';" ] }
{ "query": "How many device users are male?", "pos": [ "male refers to gender = 'M';" ], "neg": [ "under 30 refers to age < 30;", "male refers to gender = 'Male';", "on 2016/5/1 at 0:55:25 refers to timestamp = '2016-05-01 00:55:25';", "behavior category refers to category; number refers to app_id; app_id = 5902120154267990000;", "time refers to timestamp; event no. refers to event_id; event_id = '2'; vivo device refers to phone_brand = 'vivo';", "M23-26 user group refers to `group` = 'M23-26';", "event number refers to event_id; event_id = 7; user number refers to app_id; app_id = -8022267440849930000;", "IDs of the events refers to event_id; vivo devices refers to phone_brand = 'vivo';", "models refers to device_model; on 5th May, 2016 refers to timestamp LIKE '2016-05-05%'; coordinates of (112,44) refers to longitude = 112 AND latitude = 44;", "labeled 7 refers to label_id = 7;" ] }
{ "query": "How many users in user group M23-26 use a vivo device?", "pos": [ "user group M23-26 refers to group = 'M23-26'; vivo device refers to phone_brand = 'vivo';" ], "neg": [ "device number refers to device_id; device_id = 29182687948017100; event number refers to event_id; and event_id = 1;", "most common age group refers to MAX(COUNT(`group`));", "Galaxy Note 2 refers to device_model = 'Galaxy Note 2';", "brand refers to phone_brand; brand that is most common refers to MAX(COUNT(phone_brand)); twenties refers to age BETWEEN 20 AND 30;", "male refers to gender = 'M'; Galaxy Note 3 refers to device_model = 'Galaxy Note 3';", "more app users refers to SUBTRACT(IF(SUM(category = 'Securities'), SUM(category = 'Finance')) > 0,'Securities','Finance') as more;", "models of the devices refers to device_model; female refers to gender = 'F';", "id refers to device_id;", "female refers to gender = 'F'; over the age of 50 refers to age > 50;", "app user ID refers to app_id; app_id = 7324884708820020000;" ] }
{ "query": "Among all the users who use a vivo device, what is the percentage of the users in the M23-26 user group?", "pos": [ "vivo device refers to phone_brand = 'vivo'; percentage = MULTIPLY(DIVIDE(COUNT(phone_brand = 'vivo WHERE group = 'M23-26), COUNT(phone_brand = 'vivo)), 100); M23-26 user group refers to group = 'M23-26';" ], "neg": [ "models refers to device_model; under 10 years of age refers to age < 10;", "percentage = DVIDE(SUM(gender = 'M'), COUNT(device_id)); male refers to gender = 'M';", "male refers to gender = 'M';", "oldest user refers to MAX(age); active user refers to is_active = 1; on 5/6/2016 refers to timestamp LIKE '2016-05-06%'; coordinates 121, 31 refers to longitude = 121 AND latitude = 31;", "SUGAR refers to phone_brand = 'SUGAR'; percentage = MULTIPLY(DIVIDE(SUM(age > 20), COUNT(device_id)) 1.0); above 20 years old refers to age > 20;", "on 2016/5/1 at 0:55:25 refers to timestamp = '2016-05-01 00:55:25';", "app no. refers to app_id; app_id = 1977658975649780000;", "ID of the device refers to device_id; youngest user refers to MIN(age);", "device number refers to device_id; device_id = 29182687948017100; event number refers to event_id; and event_id = 1;", "active refers to is_active = 1;" ] }
{ "query": "Which brand is most common among people in their twenties?", "pos": [ "brand refers to phone_brand; brand that is most common refers to MAX(COUNT(phone_brand)); twenties refers to age BETWEEN 20 AND 30;" ], "neg": [ "percentage = MULTIPLY(DIVIDE(SUM(is_installed = 1 and is_active = 0), COUNT(app_id)), 1.0); event number refers to event_id = 6; installed refers to is_installed = 1; do not use refers to is_active = 0;", "brand vivo refers to phone_brand = 'vivo';", "group of age refers to group;", "average age = AVG(age); female refers to gender = 'F'; vivo device refers to phone_brand = 'vivo';", "models refers to device_model; coordinates of (80,44) refers to longitude = 80 AND latitude = 44;", "coordinates of (80,37) refers to longitude = 80 and latitude = 37;", "model of the device refers to device_model; oldest user refers to MAX(age);", "devices' brands refers to phone_brand; models refers to device_model; on 5/7/2016 at 6:03:22 AM refers to timestamp = '2016-05-07 06:03:22';", "female refers to gender = 'F'; over the age of 50 refers to age > 50;", "male refers to gender = 'Male';" ] }
{ "query": "Calculate the percentage of male users among all device users.", "pos": [ "percentage = DVIDE(SUM(gender = 'M'), COUNT(device_id)); male refers to gender = 'M';" ], "neg": [ "more events refers to MAX(COUNT(event_id));", "male refers to gender = 'Male';", "youngest user refers to MIN(age);", "male refers to gender = 'M';", "how many more = SUBTRACT(SUM(IF(phone_brand = 'vivo',1,0)), SUM(IF(phone_brand = 'LG',1,0))); brand vivo refers to phone_brand = 'vivo'; brand LG refers to phone_brand = 'LG';", "魅蓝Note 2 refers to device_model = '魅蓝Note 2';", "coordinates of (80,37) refers to longitude = 80 and latitude = 37;", "male refers to gender = 'M'; age group refers to group; `group` = 'M32-38';", "Galaxy Note 2 refers to device_model = 'Galaxy Note 2';", "under 30 refers to age < 30;" ] }
{ "query": "Among all the devices with event no.2 happening, what is the percentage of the device being a vivo phone?", "pos": [ "event no. refers to event_id; event_id = '2'; percentage = SUM(IF(phone_brand = 'vivo',1,0)), COUNT(device_id) WHERE event_id = '2'; vivo phone refers to phone_brand = 'vivo';" ], "neg": [ "gender that logged in the most refers to MAX(COUNT(gender)); first 10 days of May 2016 refers to timestamp BETWEEN '2016-05-01 00:00:00' AND '2016-05-10 23:59:59';", "percentage = DIVIDE(MULTIPLY(CONCAT(COUNT(device_id WHERE phone_brand = 'OPPO' AND gender = 'F'), 100), COUNT(device_id)), '%') AS 'the percentage of female OPPO users'; DIVIDE(MULTIPLY(CONCAT(COUNT(device_id WHERE phone_brand = 'OPPO' AND gender = 'M'), 100), COUNT(device_id)), '%') AS 'the percentage of male OPPO users';", "oldest user refers to MAX(age);", "ratio = DIVIDE(SUM(is_active = 1), SUM(is_active = 0)); active refers to is_active = 1; inactive refers to is_active = 0;", "female refers to gender = 'F'; over the age of 50 refers to age > 50;", "installed refers to is_installed = 1; not active refers to is_active = 0;", "percentage = MULTIPLY(DIVIDE(SUM(is_installed = 1 and is_active = 0), COUNT(app_id)), 1.0); event number refers to event_id = 6; installed refers to is_installed = 1; do not use refers to is_active = 0;", "male refers to gender = 'M';", "not active refers to is_active = 0; event no. refers to event_id; event_id = 2;", "HTC Desire 826 refers to phone_brand = 'HTC' AND device_model = 'Desire 826';" ] }
{ "query": "State the number of the \"魅蓝Note 2\" users who are in the \"F29-32\" group.", "pos": [ "魅蓝Note 2 refers to device_model = '魅蓝Note 2';" ], "neg": [ "location coordinates = longitude, latitude; inactive refers to is_active = 0; event no. refers to event_id; event_id = 2;", "vivo device refers to phone_brand = 'vivo'; female refers to gender = 'F'; under 30 refers to age < 30;", "male refers to gender = 'M';", "model of the device refers to device_model; oldest user refers to MAX(age);", "in 2016 refers to year(timestamp) = 2016; M23-26 user group refers to `group` = 'M23-26';", "HTC Desire 826 refers to phone_brand = 'HTC' AND device_model = 'Desire 826';", "more events refers to MAX(COUNT(event_id));", "OPPO refers to phone_brand = 'OPPO'; percentage = MULTIPLY(DIVIDE(SUM(age < 50), COUNT(device_id)), 1.0); under 50 years old refers to age < 50;", "event no. refers to event_id; event_id = '887711';", "location = longitude, latitude;" ] }
{ "query": "Please list the device models of all the devices used by a user in the M23-26 user group.", "pos": [ "M23-26 user group refers to `group` = 'M23-26';" ], "neg": [ "most app users refers to MAX(COUNT(app_id));", "most users belong to refers to MAX(COUNT(app_id)); name of category refers to category;", "event number refers to event_id; event_id = 7; user number refers to app_id; app_id = -8022267440849930000;", "event no. refers to event_id; event_id = 2; not active refers to is_active = 0; earliest time refers to MIN(timestamp);", "OPPO refers to phone_brand = 'OPPO'; percentage = MULTIPLY(DIVIDE(SUM(age < 50), COUNT(device_id)), 1.0); under 50 years old refers to age < 50;", "at 23:33:34 on 2016/5/6 refers to timestamp = '2016/5/6 23:33:34'; installed refers to is_installed = '1';", "female refers to gender = 'F';", "models refers to device_model;", "label that represented the behavior category refers to label_id;", "vivo device refers to phone_brand = 'vivo'; female refers to gender = 'F'; under 30 refers to age < 30;" ] }
{ "query": "Among the male users, how many users use device model of Desire 820?", "pos": [ "male refers to gender = 'M';" ], "neg": [ "male refers to gender = 'M';", "vivo devices refers to phone_brand = 'vivo'; in the year 2016 refers to year(timestamp) = 2016;", "on 2016/5/1 refers to timestamp = '2016-05-01'; male refers to gender = 'M';", "youngest refers to MIN(age); female refers to gender = 'F';", "at 23:33:34 on 2016/5/6 refers to timestamp = '2016/5/6 23:33:34'; installed refers to is_installed = '1';", "event no. refers to event_id; event_id = '887711';", "brand of the device refers to phone_brand; youngest user refers to MIN(age);", "more app users refers to SUBTRACT(IF(SUM(category = 'Securities'), SUM(category = 'Finance')) > 0,'Securities','Finance') as more;", "male refers to gender = 'M';", "time refers to timestamp; event no. refers to event_id; event_id = '2'; vivo device refers to phone_brand = 'vivo';" ] }
{ "query": "How many male users have a Galaxy Note 3?", "pos": [ "male refers to gender = 'M'; Galaxy Note 3 refers to device_model = 'Galaxy Note 3';" ], "neg": [ "difference = SUBTRACT(SUM(latitude! = 0 and longitude! = 0), SUM(latitude = 0 and longitude = 0)); device number refers to device_id; device_id = -922956879900150000; can be location refers to latitude ! = 0 and longitude ! = 0; unable to be location refers to latitude = 0 and longitude = 0;", "percentage = MULTIPLY(DIVIDE(SUM(gender = NULL and age = NULL and `group` = NULL), COUNT(device_id)), 1.0); vivo devices refers to phone_brand = 'vivo'; no information refers to gender = NULL AND age = NULL AND `group` = NULL;", "locate = longitude, latitude; women refers to gender = 'F'; under 30 years old refers to age < 30;", "user group M23-26 refers to group = 'M23-26'; vivo device refers to phone_brand = 'vivo';", "percentage = MULTIPLY(DIVIDE(SUM(is_installed = 1 and is_active = 0), COUNT(app_id)), 1.0); event number refers to event_id = 6; installed refers to is_installed = 1; do not use refers to is_active = 0;", "male refers to gender = 'M'; age group refers to group; `group` = 'M32-38';", "most users belong to refers to MAX(COUNT(app_id)); name of category refers to category;", "youngest refers to MIN(age); female refers to gender = 'F';", "ratio = DIVIDE(SUM(is_active = 1), SUM(is_active = 0)); active refers to is_active = 1; inactive refers to is_active = 0;", "how many more = SUBTRACT(SUM(IF(phone_brand = 'vivo',1,0)), SUM(IF(phone_brand = 'LG',1,0))); brand vivo refers to phone_brand = 'vivo'; brand LG refers to phone_brand = 'LG';" ] }
{ "query": "Please list all the models of the devices used by a female user.", "pos": [ "models of the devices refers to device_model; female refers to gender = 'F';" ], "neg": [ "more events refers to MAX(COUNT(event_id));", "event no. refers to event_id; event_id = '2'; percentage = SUM(IF(phone_brand = 'vivo',1,0)), COUNT(device_id) WHERE event_id = '2'; vivo phone refers to phone_brand = 'vivo';", "event no. refers to event_id; event_id = '887711';", "female refers to gender = 'F'; age group of 27 to 28 refers to `group` = 'F27-28';", "most app users refers to MAX(COUNT(app_id));", "behavior category refers to category; number refers to app_id; app_id = 5902120154267990000;", "in 2016 refers to year(timestamp) = 2016; M23-26 user group refers to `group` = 'M23-26';", "percentage = DVIDE(SUM(gender = 'M'), COUNT(device_id)); male refers to gender = 'M';", "oldest device user refers to MAX(age);", "id refers to device_id;" ] }
{ "query": "Among all the users who use a vivo device, what is the age of the youngest user?", "pos": [ "vivo device refers to phone_brand = 'vivo'; youngest refers to MIN(age);" ], "neg": [ "in 2016 refers to year(timestamp) = 2016; M23-26 user group refers to `group` = 'M23-26';", "device refers to device_id; device_id = -9222956879900150000;", "id refers to device_id;", "Galaxy Note 2 refers to device_model = 'Galaxy Note 2';", "魅蓝Note 2 refers to device_model = '魅蓝Note 2';", "model refers to device_model; device_model = 'A51';", "female refers to gender = 'F'; over the age of 50 refers to age > 50;", "vivo device refers to phone_brand = 'vivo'; female refers to gender = 'F'; under 30 refers to age < 30;", "event no. refers to event_id; event_id = '887711';", "difference = SUBTRACT(SUM(latitude! = 0 and longitude! = 0), SUM(latitude = 0 and longitude = 0)); device number refers to device_id; device_id = -922956879900150000; can be location refers to latitude ! = 0 and longitude ! = 0; unable to be location refers to latitude = 0 and longitude = 0;" ] }
{ "query": "What is the model of the oldest user's device?", "pos": [ "model of the device refers to device_model; oldest user refers to MAX(age);" ], "neg": [ "ratio = DIVIDE(SUM(gender = 'M' WHERE phone_brand = 'vivo'), SUM(gender = 'F' WHERE phone_brand = 'vivo')); female refers to gender = 'F'; male refers to gender = 'M'; vivo device refers to phone_brand = 'vivo';", "labeled 7 refers to label_id = 7;", "model refers to device_model; device_model = 'A51';", "male refers to gender = 'M';", "app no. refers to app_id; app_id = 1977658975649780000;", "30-year-old refers to age = '30'; active refers to is_active = 1; on 2016/5/2 refers to timestamp = '2016/5/2 XX:XX:XX';", "device refers to device_id; device_id = -9222956879900150000;", "Galaxy Note 2 refers to device_model = 'Galaxy Note 2';", "male refers to gender = 'M';", "difference = SUBTRACT(SUM(latitude! = 0 and longitude! = 0), SUM(latitude = 0 and longitude = 0)); device number refers to device_id; device_id = -922956879900150000; can be location refers to latitude ! = 0 and longitude ! = 0; unable to be location refers to latitude = 0 and longitude = 0;" ] }
{ "query": "Please list any five app categories that are related to games, along with their label ID.", "pos": [ "app categories refers to category; related to games refers to category like '%game%';" ], "neg": [ "locate = longitude, latitude; women refers to gender = 'F'; under 30 years old refers to age < 30;", "ratio = DIVIDE(SUM(is_active = 1), SUM(is_active = 0)); active refers to is_active = 1; inactive refers to is_active = 0;", "male refers to gender = 'M';", "females refers to gender = 'F'; aged 24 to 26 refers to `group` = 'F24-26';", "event no. refers to event_id; event_id = 2; vivo devices refers to phone_brand = 'vivo';", "male refers to gender = 'M';", "at 23:55:16 on 2016/5/7 refers to timestamp = '2016/5/7 23:55:16'; location coordinate (113, 28) refers to longitude = '113' AND latitude = '28';", "male refers to gender = 'M'; age group refers to group; `group` = 'M32-38';", "app no. refers to app_id; app_id = 1977658975649780000;", "vivo devices refers to phone_brand = 'vivo'; in the year 2016 refers to year(timestamp) = 2016;" ] }
{ "query": "Among the devices with an event occurring in 2016, how many of them are owned by a user in the M23-26 user group?", "pos": [ "in 2016 refers to year(timestamp) = 2016; M23-26 user group refers to `group` = 'M23-26';" ], "neg": [ "more events refers to MAX(COUNT(event_id));", "models refers to device_model; HTC brand refers to phone_brand = 'HTC';", "SUGAR refers to phone_brand = 'SUGAR'; percentage = MULTIPLY(DIVIDE(SUM(age > 20), COUNT(device_id)) 1.0); above 20 years old refers to age > 20;", "oldest user refers to MAX(age); active user refers to is_active = 1; on 5/6/2016 refers to timestamp LIKE '2016-05-06%'; coordinates 121, 31 refers to longitude = 121 AND latitude = 31;", "age group refers to group; most OPPO users refers to MAX(COUNT(phone_brand = 'OPPO')); OPPO users refers to phone_brand = 'OPPO';", "app categories refers to category; related to games refers to category like '%game%';", "male refers to gender = 'Male';", "gender that logged in the most refers to MAX(COUNT(gender)); first 10 days of May 2016 refers to timestamp BETWEEN '2016-05-01 00:00:00' AND '2016-05-10 23:59:59';", "female refers to gender = 'F';", "ratio = DIVIDE(SUM(gender = 'M' WHERE phone_brand = 'vivo'), SUM(gender = 'F' WHERE phone_brand = 'vivo')); female refers to gender = 'F'; male refers to gender = 'M'; vivo device refers to phone_brand = 'vivo';" ] }
{ "query": "Between device ID of \"-9215352913819630000\" and \"-9222956879900150000\", mention the age and gender of device user who participated more events.", "pos": [ "more events refers to MAX(COUNT(event_id));" ], "neg": [ "male refers to gender = 'M';", "not active refers to is_active = 0; event no. refers to event_id; event_id = 2;", "devices' brands refers to phone_brand; models refers to device_model; on 5/7/2016 at 6:03:22 AM refers to timestamp = '2016-05-07 06:03:22';", "brand vivo refers to phone_brand = 'vivo';", "30-year-old refers to age = '30'; active refers to is_active = 1; on 2016/5/2 refers to timestamp = '2016/5/2 XX:XX:XX';", "OPPO refers to phone_brand = 'OPPO'; percentage = MULTIPLY(DIVIDE(SUM(age < 50), COUNT(device_id)), 1.0); under 50 years old refers to age < 50;", "label that represented the behavior category refers to label_id;", "device refers to device_id; device_id = -9222956879900150000;", "Galaxy Note 2 refers to device_model = 'Galaxy Note 2';", "vivo devices refers to phone_brand = 'vivo'; in the year 2016 refers to year(timestamp) = 2016;" ] }
{ "query": "Which gender owned more of the Galaxy Note 2 device model?", "pos": [ "gender that owned more = SUBTRACT(IF(SUM(gender = 'M'), SUM(gender = 'F'),'M','F'));" ], "neg": [ "Galaxy Note 2 refers to device_model = 'Galaxy Note 2';", "locate = longitude, latitude; women refers to gender = 'F'; under 30 years old refers to age < 30;", "models refers to device_model;", "more app users refers to SUBTRACT(IF(SUM(category = 'Securities'), SUM(category = 'Finance')) > 0,'Securities','Finance') as more;", "time refers to timestamp;", "models refers to device_model; coordinates of (80,44) refers to longitude = 80 AND latitude = 44;", "event number refers to event_id; event_id = 7; user number refers to app_id; app_id = -8022267440849930000;", "coordinates of (80,37) refers to longitude = 80 and latitude = 37;", "vivo device refers to phone_brand = 'vivo'; percentage = MULTIPLY(DIVIDE(COUNT(phone_brand = 'vivo WHERE group = 'M23-26), COUNT(phone_brand = 'vivo)), 100); M23-26 user group refers to group = 'M23-26';", "LG L70 refers to phone_brand = 'LG' AND device_model = 'L70';" ] }
{ "query": "Provide the number of events participated by the device users at coordinates of (80,37).", "pos": [ "coordinates of (80,37) refers to longitude = 80 and latitude = 37;" ], "neg": [ "not active refers to is_active = 0; event no. refers to event_id; event_id = 2;", "location = longitude, latitude;", "oldest event refers to MIN(timestamp);", "phone models refers to device_model; OPPO brand refers to phone_brand = 'OPPO';", "youngest refers to MIN(age); female refers to gender = 'F';", "app categories refers to category; related to games refers to category like '%game%';", "on 2016/5/1 refers to timestamp = '2016-05-01'; male refers to gender = 'M';", "OPPO refers to phone_brand = 'OPPO';", "behavior category refers to category; category = 'comics';", "model of the device refers to device_model; oldest user refers to MAX(age);" ] }
{ "query": "For the event which happened at 23:33:34 on 2016/5/6, how many installed apps were involved?", "pos": [ "at 23:33:34 on 2016/5/6 refers to timestamp = '2016/5/6 23:33:34'; installed refers to is_installed = '1';" ], "neg": [ "Galaxy Note 2 refers to device_model = 'Galaxy Note 2'; female refers to gender = 'F';", "coordinates of (80,37) refers to longitude = 80 and latitude = 37;", "oldest device user refers to MAX(age);", "phone models refers to device_model; OPPO brand refers to phone_brand = 'OPPO';", "models refers to device_model; on 5th May, 2016 refers to timestamp LIKE '2016-05-05%'; coordinates of (112,44) refers to longitude = 112 AND latitude = 44;", "models refers to device_model; under 10 years of age refers to age < 10;", "label that represented the behavior category refers to label_id;", "models of the devices refers to device_model; female refers to gender = 'F';", "male refers to gender = 'M'; Galaxy Note 3 refers to device_model = 'Galaxy Note 3';", "ratio in percentage = DIVIDE(SUM(IF(category = '80s Japanese comic',1,0)), COUNT(app_id)) as '80s'; DIVIDE(SUM(IF(category = '90s Japanese comic',1,0)), COUNT(app_id)) as '90s'; 80s Japanese comic refers to category = '80s Japanese comic'; 90s Japanese comic refers to category = '80s Japanese comic';" ] }
{ "query": "Give the number of 30-year-old users who were active in the events on 2016/5/2.", "pos": [ "30-year-old refers to age = '30'; active refers to is_active = 1; on 2016/5/2 refers to timestamp = '2016/5/2 XX:XX:XX';" ], "neg": [ "group of age refers to group;", "time refers to timestamp;", "male refers to gender = 'M';", "installed refers to is_installed = 1; activated refers to is_active = 1; id refers to app_id;", "at 23:55:16 on 2016/5/7 refers to timestamp = '2016/5/7 23:55:16'; location coordinate (113, 28) refers to longitude = '113' AND latitude = '28';", "male refers to gender = 'M';", "88-years-old refers to age = 88; male refers to gender = 'M'; on 4th May, 2016 refers to timestamp LIKE '2016-05-04%';", "female refers to gender = 'F';", "location coordinates = longitude, latitude; Galaxy Note 2 refers to device_model = 'Galaxy Note 2';", "youngest user refers to MIN(age);" ] }
{ "query": "List out the time of the event id 12.", "pos": [ "time refers to timestamp;" ], "neg": [ "model of the device refers to device_model; oldest user refers to MAX(age);", "most common age group refers to MAX(COUNT(`group`));", "HTC Desire 826 refers to phone_brand = 'HTC' AND device_model = 'Desire 826';", "group of age refers to group;", "brand refers to phone_brand; brand that is most common refers to MAX(COUNT(phone_brand)); twenties refers to age BETWEEN 20 AND 30;", "models refers to device_model;", "most users belong to refers to MAX(COUNT(app_id)); name of category refers to category;", "label that represented the behavior category refers to label_id;", "event no. refers to event_id; event_id = '2'; percentage = SUM(IF(phone_brand = 'vivo',1,0)), COUNT(device_id) WHERE event_id = '2'; vivo phone refers to phone_brand = 'vivo';", "event no. refers to event_id; event_id = 2; not active refers to is_active = 0; earliest time refers to MIN(timestamp);" ] }
{ "query": "What are the categories that app user ID7324884708820020000 belongs to?", "pos": [ "app user ID refers to app_id; app_id = 7324884708820020000;" ], "neg": [ "male refers to gender = 'M'; age group refers to group; `group` = 'M32-38';", "time refers to timestamp; event no. refers to event_id; event_id = '2'; vivo device refers to phone_brand = 'vivo';", "OPPO refers to phone_brand = 'OPPO';", "model of the device refers to device_model; oldest user refers to MAX(age);", "behavior categories refers to category; user number refers to app_id; app_id = -9222198347540750000;", "app categories refers to category; related to games refers to category like '%game%';", "ratio = DIVIDE(SUM(gender = 'M' WHERE phone_brand = 'vivo'), SUM(gender = 'F' WHERE phone_brand = 'vivo')); female refers to gender = 'F'; male refers to gender = 'M'; vivo device refers to phone_brand = 'vivo';", "installed refers to is_installed = 1; activated refers to is_active = 1; id refers to app_id;", "male refers to gender = 'M';", "female refers to gender = 'F';" ] }
{ "query": "What is the percentage of female OPPO users against the male OPPO users?", "pos": [ "percentage = DIVIDE(MULTIPLY(CONCAT(COUNT(device_id WHERE phone_brand = 'OPPO' AND gender = 'F'), 100), COUNT(device_id)), '%') AS 'the percentage of female OPPO users'; DIVIDE(MULTIPLY(CONCAT(COUNT(device_id WHERE phone_brand = 'OPPO' AND gender = 'M'), 100), COUNT(device_id)), '%') AS 'the percentage of male OPPO users';" ], "neg": [ "ratio = DIVIDE(SUM(is_active = 1), SUM(is_active = 0)); active refers to is_active = 1; inactive refers to is_active = 0;", "percentage = DVIDE(SUM(gender = 'M'), COUNT(device_id)); male refers to gender = 'M';", "time refers to timestamp; event no. refers to event_id; event_id = '2'; vivo device refers to phone_brand = 'vivo';", "device no. refers to device_id; device_id = 29182687948017100; in 2016 refers to `timestamp` LIKE '2016%';", "oldest event refers to MIN(timestamp);", "ratio = DIVIDE(SUM(gender = 'M' WHERE phone_brand = 'vivo'), SUM(gender = 'F' WHERE phone_brand = 'vivo')); female refers to gender = 'F'; male refers to gender = 'M'; vivo device refers to phone_brand = 'vivo';", "Galaxy Note 2 refers to device_model = 'Galaxy Note 2'; female refers to gender = 'F';", "event number refers to event_id; event_id = 7; user number refers to app_id; app_id = -8022267440849930000;", "at 23:33:34 on 2016/5/6 refers to timestamp = '2016/5/6 23:33:34'; installed refers to is_installed = '1';", "youngest user refers to MIN(age);" ] }
{ "query": "Describe the number of app IDs and location of the event ID \"79641\".", "pos": [ "location = longitude, latitude;" ], "neg": [ "M23-26 user group refers to `group` = 'M23-26';", "model of the device refers to device_model; oldest user refers to MAX(age);", "most users belong to refers to MAX(COUNT(app_id)); name of category refers to category;", "male refers to gender = 'M'; Galaxy Note 3 refers to device_model = 'Galaxy Note 3';", "labeled 7 refers to label_id = 7;", "ratio in percentage = DIVIDE(SUM(IF(category = '80s Japanese comic',1,0)), COUNT(app_id)) as '80s'; DIVIDE(SUM(IF(category = '90s Japanese comic',1,0)), COUNT(app_id)) as '90s'; 80s Japanese comic refers to category = '80s Japanese comic'; 90s Japanese comic refers to category = '80s Japanese comic';", "youngest refers to MIN(age); female refers to gender = 'F';", "percentage = MULTIPLY(DIVIDE(SUM(gender = NULL and age = NULL and `group` = NULL), COUNT(device_id)), 1.0); vivo devices refers to phone_brand = 'vivo'; no information refers to gender = NULL AND age = NULL AND `group` = NULL;", "at 23:55:16 on 2016/5/7 refers to timestamp = '2016/5/7 23:55:16'; location coordinate (113, 28) refers to longitude = '113' AND latitude = '28';", "age group refers to group; most OPPO users refers to MAX(COUNT(phone_brand = 'OPPO')); OPPO users refers to phone_brand = 'OPPO';" ] }
{ "query": "What is the ratio of active and inactive app users of the event ID \"58\"?", "pos": [ "ratio = DIVIDE(SUM(is_active = 1), SUM(is_active = 0)); active refers to is_active = 1; inactive refers to is_active = 0;" ], "neg": [ "on 2016/5/1 at 0:55:25 refers to timestamp = '2016-05-01 00:55:25';", "how many more = SUBTRACT(SUM(IF(phone_brand = 'vivo',1,0)), SUM(IF(phone_brand = 'LG',1,0))); brand vivo refers to phone_brand = 'vivo'; brand LG refers to phone_brand = 'LG';", "models of the devices refers to device_model; female refers to gender = 'F';", "魅蓝Note 2 refers to device_model = '魅蓝Note 2';", "vivo device refers to phone_brand = 'vivo'; percentage = MULTIPLY(DIVIDE(COUNT(phone_brand = 'vivo WHERE group = 'M23-26), COUNT(phone_brand = 'vivo)), 100); M23-26 user group refers to group = 'M23-26';", "female refers to gender = 'F'; age group of 27 to 28 refers to `group` = 'F27-28';", "ID of the device refers to device_id; youngest user refers to MIN(age);", "male refers to gender = 'M'; age group refers to group; `group` = 'M32-38';", "youngest user refers to MIN(age);", "age group refers to group; most OPPO users refers to MAX(COUNT(phone_brand = 'OPPO')); OPPO users refers to phone_brand = 'OPPO';" ] }
{ "query": "How many events have happened on device no.29182687948017100 in 2016?", "pos": [ "device no. refers to device_id; device_id = 29182687948017100; in 2016 refers to `timestamp` LIKE '2016%';" ], "neg": [ "location = longitude, latitude;", "how many more = SUBTRACT(SUM(IF(phone_brand = 'vivo',1,0)), SUM(IF(phone_brand = 'LG',1,0))); brand vivo refers to phone_brand = 'vivo'; brand LG refers to phone_brand = 'LG';", "locate = longitude, latitude; women refers to gender = 'F'; under 30 years old refers to age < 30;", "active refers to is_active = 1;", "app user ID refers to app_id; app_id = 7324884708820020000;", "oldest user refers to MAX(age); active user refers to is_active = 1; on 5/6/2016 refers to timestamp LIKE '2016-05-06%'; coordinates 121, 31 refers to longitude = 121 AND latitude = 31;", "youngest refers to MIN(age); female refers to gender = 'F';", "brand of the device refers to phone_brand; youngest user refers to MIN(age);", "OPPO refers to phone_brand = 'OPPO'; percentage = MULTIPLY(DIVIDE(SUM(age < 50), COUNT(device_id)), 1.0); under 50 years old refers to age < 50;", "male refers to gender = 'M'; Galaxy Note 3 refers to device_model = 'Galaxy Note 3';" ] }
{ "query": "Identify by their id all the apps that belong to the game-stress reliever category.", "pos": [ "id refers to device_id;" ], "neg": [ "male refers to gender = 'M';", "gender that logged in the most refers to MAX(COUNT(gender)); first 10 days of May 2016 refers to timestamp BETWEEN '2016-05-01 00:00:00' AND '2016-05-10 23:59:59';", "male refers to gender = 'M';", "app no. refers to app_id; app_id = 1977658975649780000;", "HTC Desire 826 refers to phone_brand = 'HTC' AND device_model = 'Desire 826';", "more app users refers to SUBTRACT(IF(SUM(category = 'Securities'), SUM(category = 'Finance')) > 0,'Securities','Finance') as more;", "event no. refers to event_id; event_id = 2; vivo devices refers to phone_brand = 'vivo';", "under 30 refers to age < 30;", "location coordinates = longitude, latitude; Galaxy Note 2 refers to device_model = 'Galaxy Note 2';", "device refers to device_id; device_id = -9222956879900150000;" ] }
{ "query": "Among the female users that uses OPPO as their phone brand, what is the percentage of them of the user that uses R815T model to install the app?", "pos": [ "female refers to gender = 'F'; percentage = DIVIDE(SUM(IF(phone_brand = 'OPPO',1,0)), SUM(IF(device_id = 'R815T',1,0))); R815T refers to device_id = 'R815T';" ], "neg": [ "gender that logged in the most refers to MAX(COUNT(gender)); first 10 days of May 2016 refers to timestamp BETWEEN '2016-05-01 00:00:00' AND '2016-05-10 23:59:59';", "brand of the device refers to phone_brand; youngest user refers to MIN(age);", "youngest user refers to MIN(age);", "male refers to gender = 'M';", "LG L70 refers to phone_brand = 'LG' AND device_model = 'L70';", "group of age refers to group;", "installed refers to is_installed = 1; not active refers to is_active = 0;", "male refers to gender = 'M'; Galaxy Note 3 refers to device_model = 'Galaxy Note 3';", "behavior category refers to category; category = 'comics';", "active refers to is_active = 1;" ] }
{ "query": "What are the top 3 categories with the most app users?", "pos": [ "most app users refers to MAX(COUNT(app_id));" ], "neg": [ "brand refers to phone_brand; brand that is most common refers to MAX(COUNT(phone_brand)); twenties refers to age BETWEEN 20 AND 30;", "model refers to device_model; device_model = 'A51';", "installed refers to is_installed = 1; not active refers to is_active = 0;", "event no. refers to event_id; event_id = 2; not active refers to is_active = 0; earliest time refers to MIN(timestamp);", "HTC Desire 826 refers to phone_brand = 'HTC' AND device_model = 'Desire 826';", "models refers to device_model; HTC brand refers to phone_brand = 'HTC';", "male refers to gender = 'Male';", "Galaxy Note 2 refers to device_model = 'Galaxy Note 2';", "魅蓝Note 2 refers to device_model = '魅蓝Note 2';", "difference = SUBTRACT(SUM(latitude! = 0 and longitude! = 0), SUM(latitude = 0 and longitude = 0)); device number refers to device_id; device_id = -922956879900150000; can be location refers to latitude ! = 0 and longitude ! = 0; unable to be location refers to latitude = 0 and longitude = 0;" ] }
{ "query": "When did event number 7 happen for user number -8022267440849930000?", "pos": [ "event number refers to event_id; event_id = 7; user number refers to app_id; app_id = -8022267440849930000;" ], "neg": [ "label that represented the behavior category refers to label_id;", "model of the device refers to device_model; oldest user refers to MAX(age);", "female refers to gender = 'F'; over the age of 50 refers to age > 50;", "female refers to gender = 'F'; percentage = DIVIDE(SUM(IF(phone_brand = 'OPPO',1,0)), SUM(IF(device_id = 'R815T',1,0))); R815T refers to device_id = 'R815T';", "魅蓝Note 2 refers to device_model = '魅蓝Note 2';", "vivo device refers to phone_brand = 'vivo'; youngest refers to MIN(age);", "models refers to device_model; HTC brand refers to phone_brand = 'HTC';", "females refers to gender = 'F'; aged 24 to 26 refers to `group` = 'F24-26';", "female refers to gender = 'F'; age group of 27 to 28 refers to `group` = 'F27-28';", "male refers to gender = 'M';" ] }
{ "query": "Please list the directions in which the trains with 4 short cars run.", "pos": [ "short refers to len = 'short'; 4 cars run refers to position = 4" ], "neg": [ "majority of train refers to MAX(count(id))", "fully loaded refers to load_num = 3; head cars refers to position = 1", "at least one empty-loaded car run refers to load_num = 0", "2 or less cars refers to trailPosi < = 2", "eastbound refers to direction = 'east'; head cars refers to position = 1", "train no.1 refers to train_id = 1; tail car refers to position = 4", "short cars refers to len = 'short'; in the shape of hexagon refers to shape = 'hexagon'", "shape = 'ellipse'", "flat roof refers to roof = 'flat'", "running west refers to direction = 'west'; open roof refers to roof = 'none'" ] }
{ "query": "List all the load shapes of all head cars of each train and identify which load shape has the highest number. Calculate the percentage of the trains with the said head car that are running eas", "pos": [ "which load shape has the highest number refers to MAX(load_shape); head car refers to position = 1; east is a direction; calculation = MULTIPLY(DIVIDE(count(direction = 'east' where MAX(load_shape) where position = 1 then id), count(id)), 100)" ], "neg": [ "short refers to len = 'short'; ellipse cars refers to shape = 'ellipse'", "east is a direction; at least 4 cars refers to carsNum > = 4", "less than 4 cars refers to carsNum < 4", "2nd car refers to position = 2", "short refers to len = 'short'; 4 cars run refers to position = 4", "most of the trains refers to MAX(count(id)); second cars refers to position = 2", "long cars refers to len = 'long'", "eastbound refers to direction = 'east'; head cars refers to position = 1", "shape = 'ellipse'", "2 or less cars refers to trailPosi < = 2" ] }
{ "query": "How many trains are running west?", "pos": [ "west is a direction" ], "neg": [ "majority of train refers to MAX(count(id))", "fully loaded refers to load_num = 3; head cars refers to position = 1", "flat roof refers to roof = 'flat'", "head cars refers to position = 1;", "most of the trains refers to MAX(count(id)); second cars refers to position = 2", "less than 4 cars refers to carsNum < 4", "east is a direction", "running west refers to direction = 'west'; open roof refers to roof = 'none'", "3 cars refers to carsNum = 3", "east is a direction; at least 4 cars refers to carsNum > = 4" ] }
{ "query": "How many wheels do the long cars have?", "pos": [ "long cars refers to len = 'long'" ], "neg": [ "fully loaded refers to load_num = 3; head cars refers to position = 1", "at least one empty-loaded car run refers to load_num = 0", "most of the trains refers to MAX(count(id)); second cars refers to position = 2", "which load shape has the highest number refers to MAX(load_shape); head car refers to position = 1; east is a direction; calculation = MULTIPLY(DIVIDE(count(direction = 'east' where MAX(load_shape) where position = 1 then id), count(id)), 100)", "west is a direction", "short refers to len = 'short'; 4 cars run refers to position = 4", "east is a direction", "majority of train refers to MAX(count(id))", "shape = 'ellipse'", "east is a direction; at least 4 cars refers to carsNum > = 4" ] }
{ "query": "How many trains with fully loaded head cars are running east?", "pos": [ "fully loaded refers to load_num = 3; head cars refers to position = 1" ], "neg": [ "which load shape has the highest number refers to MAX(load_shape); head car refers to position = 1; east is a direction; calculation = MULTIPLY(DIVIDE(count(direction = 'east' where MAX(load_shape) where position = 1 then id), count(id)), 100)", "shape = 'ellipse'", "less than 4 cars refers to carsNum < 4", "long cars refers to len = 'long'", "short refers to len = 'short'; ellipse cars refers to shape = 'ellipse'", "short cars refers to len = 'short'; in the shape of hexagon refers to shape = 'hexagon'", "flat roof refers to roof = 'flat'; load_shape = 'circle'", "at least one empty-loaded car run refers to load_num = 0", "east is a direction; at least 4 cars refers to carsNum > = 4", "east is a direction" ] }
{ "query": "Please list the IDs of all the trains that run in the east direction and have less than 4 cars.", "pos": [ "less than 4 cars refers to carsNum < 4" ], "neg": [ "2 or less cars refers to trailPosi < = 2", "flat roof refers to roof = 'flat'; load_shape = 'circle'", "which load shape has the highest number refers to MAX(load_shape); head car refers to position = 1; east is a direction; calculation = MULTIPLY(DIVIDE(count(direction = 'east' where MAX(load_shape) where position = 1 then id), count(id)), 100)", "at least one empty-loaded car run refers to load_num = 0", "majority of train refers to MAX(count(id))", "short refers to len = 'short'; 4 cars run refers to position = 4", "most of the trains refers to MAX(count(id)); second cars refers to position = 2", "shape = 'ellipse'", "running west refers to direction = 'west'; open roof refers to roof = 'none'", "flat roof refers to roof = 'flat'" ] }
{ "query": "How many short cars are in the shape of hexagon?", "pos": [ "short cars refers to len = 'short'; in the shape of hexagon refers to shape = 'hexagon'" ], "neg": [ "flat roof refers to roof = 'flat'; load_shape = 'circle'", "east is a direction; at least 4 cars refers to carsNum > = 4", "empty cars refers to load_num = 0", "head cars refers to position = 1;", "3 cars refers to carsNum = 3", "east is a direction", "west is a direction", "2 or less cars refers to trailPosi < = 2", "less than 4 cars refers to carsNum < 4", "most of the trains refers to MAX(count(id)); second cars refers to position = 2" ] }
{ "query": "Please list the shapes of all the head cars on the trains that run in the east direction.", "pos": [ "head cars refers to position = 1;" ], "neg": [ "flat roof refers to roof = 'flat'", "running west refers to direction = 'west'; open roof refers to roof = 'none'", "short refers to len = 'short'; ellipse cars refers to shape = 'ellipse'", "short refers to len = 'short'; 4 cars run refers to position = 4", "empty cars refers to load_num = 0", "most of the trains refers to MAX(count(id)); second cars refers to position = 2", "west is a direction", "flat roof refers to roof = 'flat'; load_shape = 'circle'", "shape = 'ellipse'", "majority of train refers to MAX(count(id))" ] }
{ "query": "Which direction do most of the trains with rectangle-shaped second cars run?", "pos": [ "most of the trains refers to MAX(count(id)); second cars refers to position = 2" ], "neg": [ "2nd car refers to position = 2", "eastbound refers to direction = 'east'; head cars refers to position = 1", "running west refers to direction = 'west'; open roof refers to roof = 'none'", "at least one empty-loaded car run refers to load_num = 0", "fully loaded refers to load_num = 3; head cars refers to position = 1", "flat roof refers to roof = 'flat'; load_shape = 'circle'", "2 or less cars refers to trailPosi < = 2", "head cars refers to position = 1;", "3 cars refers to carsNum = 3", "short refers to len = 'short'; ellipse cars refers to shape = 'ellipse'" ] }
{ "query": "In which direction does the train with an ellipse-shape car run?", "pos": [ "shape = 'ellipse'" ], "neg": [ "empty cars refers to load_num = 0", "short refers to len = 'short'; 4 cars run refers to position = 4", "running west refers to direction = 'west'; open roof refers to roof = 'none'", "east is a direction; at least 4 cars refers to carsNum > = 4", "west is a direction", "less than 4 cars refers to carsNum < 4", "long cars refers to len = 'long'", "eastbound refers to direction = 'east'; head cars refers to position = 1", "at least one empty-loaded car run refers to load_num = 0", "3 cars refers to carsNum = 3" ] }
{ "query": "How many trains are there that run in the east direction?", "pos": [ "east is a direction" ], "neg": [ "fully loaded refers to load_num = 3; head cars refers to position = 1", "short refers to len = 'short'; ellipse cars refers to shape = 'ellipse'", "west is a direction", "flat roof refers to roof = 'flat'; load_shape = 'circle'", "flat roof refers to roof = 'flat'", "short cars refers to len = 'short'; in the shape of hexagon refers to shape = 'hexagon'", "2nd car refers to position = 2", "3 cars refers to carsNum = 3", "eastbound refers to direction = 'east'; head cars refers to position = 1", "less than 4 cars refers to carsNum < 4" ] }
{ "query": "What is the shape of the tail car on train no.1?", "pos": [ "train no.1 refers to train_id = 1; tail car refers to position = 4" ], "neg": [ "which load shape has the highest number refers to MAX(load_shape); head car refers to position = 1; east is a direction; calculation = MULTIPLY(DIVIDE(count(direction = 'east' where MAX(load_shape) where position = 1 then id), count(id)), 100)", "flat roof refers to roof = 'flat'; load_shape = 'circle'", "flat roof refers to roof = 'flat'", "running west refers to direction = 'west'; open roof refers to roof = 'none'", "eastbound refers to direction = 'east'; head cars refers to position = 1", "short cars refers to len = 'short'; in the shape of hexagon refers to shape = 'hexagon'", "fully loaded refers to load_num = 3; head cars refers to position = 1", "shape = 'ellipse'", "3 cars refers to carsNum = 3", "2nd car refers to position = 2" ] }
{ "query": "Which direction do the majority of the trains are running?", "pos": [ "majority of train refers to MAX(count(id))" ], "neg": [ "2 or less cars refers to trailPosi < = 2", "fully loaded refers to load_num = 3; head cars refers to position = 1", "train no.1 refers to train_id = 1; tail car refers to position = 4", "flat roof refers to roof = 'flat'", "head cars refers to position = 1;", "short refers to len = 'short'; 4 cars run refers to position = 4", "west is a direction", "short cars refers to len = 'short'; in the shape of hexagon refers to shape = 'hexagon'", "3 cars refers to carsNum = 3", "less than 4 cars refers to carsNum < 4" ] }
{ "query": "How many cars on a train that runs in the east direction have a flat roof?", "pos": [ "flat roof refers to roof = 'flat'" ], "neg": [ "3 cars refers to carsNum = 3", "short refers to len = 'short'; 4 cars run refers to position = 4", "at least one empty-loaded car run refers to load_num = 0", "long cars refers to len = 'long'", "shape = 'ellipse'", "most of the trains refers to MAX(count(id)); second cars refers to position = 2", "east is a direction", "which load shape has the highest number refers to MAX(load_shape); head car refers to position = 1; east is a direction; calculation = MULTIPLY(DIVIDE(count(direction = 'east' where MAX(load_shape) where position = 1 then id), count(id)), 100)", "train no.1 refers to train_id = 1; tail car refers to position = 4", "empty cars refers to load_num = 0" ] }
{ "query": "Provide the directions for all the trains that have 2 or less cars.", "pos": [ "2 or less cars refers to trailPosi < = 2" ], "neg": [ "train no.1 refers to train_id = 1; tail car refers to position = 4", "empty cars refers to load_num = 0", "flat roof refers to roof = 'flat'; load_shape = 'circle'", "at least one empty-loaded car run refers to load_num = 0", "shape = 'ellipse'", "most of the trains refers to MAX(count(id)); second cars refers to position = 2", "less than 4 cars refers to carsNum < 4", "flat roof refers to roof = 'flat'", "fully loaded refers to load_num = 3; head cars refers to position = 1", "eastbound refers to direction = 'east'; head cars refers to position = 1" ] }
{ "query": "Which direction does the majority of the trains that have 3 cars are running?", "pos": [ "3 cars refers to carsNum = 3" ], "neg": [ "east is a direction", "2 or less cars refers to trailPosi < = 2", "shape = 'ellipse'", "2nd car refers to position = 2", "east is a direction; at least 4 cars refers to carsNum > = 4", "short refers to len = 'short'; 4 cars run refers to position = 4", "train no.1 refers to train_id = 1; tail car refers to position = 4", "at least one empty-loaded car run refers to load_num = 0", "empty cars refers to load_num = 0", "most of the trains refers to MAX(count(id)); second cars refers to position = 2" ] }
{ "query": "List all the directions of the trains that have empty cars.", "pos": [ "empty cars refers to load_num = 0" ], "neg": [ "short refers to len = 'short'; 4 cars run refers to position = 4", "2 or less cars refers to trailPosi < = 2", "majority of train refers to MAX(count(id))", "long cars refers to len = 'long'", "flat roof refers to roof = 'flat'", "2nd car refers to position = 2", "short cars refers to len = 'short'; in the shape of hexagon refers to shape = 'hexagon'", "at least one empty-loaded car run refers to load_num = 0", "flat roof refers to roof = 'flat'; load_shape = 'circle'", "shape = 'ellipse'" ] }
{ "query": "Among the trains running east, how many trains have at least 4 cars?", "pos": [ "east is a direction; at least 4 cars refers to carsNum > = 4" ], "neg": [ "train no.1 refers to train_id = 1; tail car refers to position = 4", "flat roof refers to roof = 'flat'", "which load shape has the highest number refers to MAX(load_shape); head car refers to position = 1; east is a direction; calculation = MULTIPLY(DIVIDE(count(direction = 'east' where MAX(load_shape) where position = 1 then id), count(id)), 100)", "short refers to len = 'short'; 4 cars run refers to position = 4", "long cars refers to len = 'long'", "most of the trains refers to MAX(count(id)); second cars refers to position = 2", "fully loaded refers to load_num = 3; head cars refers to position = 1", "3 cars refers to carsNum = 3", "west is a direction", "majority of train refers to MAX(count(id))" ] }
{ "query": "Please list the directions in which the trains with at least one empty-loaded car run.", "pos": [ "at least one empty-loaded car run refers to load_num = 0" ], "neg": [ "running west refers to direction = 'west'; open roof refers to roof = 'none'", "train no.1 refers to train_id = 1; tail car refers to position = 4", "2nd car refers to position = 2", "head cars refers to position = 1;", "less than 4 cars refers to carsNum < 4", "which load shape has the highest number refers to MAX(load_shape); head car refers to position = 1; east is a direction; calculation = MULTIPLY(DIVIDE(count(direction = 'east' where MAX(load_shape) where position = 1 then id), count(id)), 100)", "empty cars refers to load_num = 0", "fully loaded refers to load_num = 3; head cars refers to position = 1", "majority of train refers to MAX(count(id))", "flat roof refers to roof = 'flat'; load_shape = 'circle'" ] }
{ "query": "What are the load shapes of all the short ellipse cars?", "pos": [ "short refers to len = 'short'; ellipse cars refers to shape = 'ellipse'" ], "neg": [ "west is a direction", "eastbound refers to direction = 'east'; head cars refers to position = 1", "majority of train refers to MAX(count(id))", "east is a direction; at least 4 cars refers to carsNum > = 4", "at least one empty-loaded car run refers to load_num = 0", "head cars refers to position = 1;", "2nd car refers to position = 2", "long cars refers to len = 'long'", "flat roof refers to roof = 'flat'; load_shape = 'circle'", "less than 4 cars refers to carsNum < 4" ] }
{ "query": "How many eastbound trains have rectangular-shaped head cars?", "pos": [ "eastbound refers to direction = 'east'; head cars refers to position = 1" ], "neg": [ "train no.1 refers to train_id = 1; tail car refers to position = 4", "at least one empty-loaded car run refers to load_num = 0", "short refers to len = 'short'; 4 cars run refers to position = 4", "less than 4 cars refers to carsNum < 4", "fully loaded refers to load_num = 3; head cars refers to position = 1", "running west refers to direction = 'west'; open roof refers to roof = 'none'", "east is a direction; at least 4 cars refers to carsNum > = 4", "short refers to len = 'short'; ellipse cars refers to shape = 'ellipse'", "3 cars refers to carsNum = 3", "most of the trains refers to MAX(count(id)); second cars refers to position = 2" ] }
{ "query": "What is the direction of the train with a diamond-shaped load in its 2nd car?", "pos": [ "2nd car refers to position = 2" ], "neg": [ "3 cars refers to carsNum = 3", "at least one empty-loaded car run refers to load_num = 0", "running west refers to direction = 'west'; open roof refers to roof = 'none'", "shape = 'ellipse'", "short refers to len = 'short'; ellipse cars refers to shape = 'ellipse'", "which load shape has the highest number refers to MAX(load_shape); head car refers to position = 1; east is a direction; calculation = MULTIPLY(DIVIDE(count(direction = 'east' where MAX(load_shape) where position = 1 then id), count(id)), 100)", "empty cars refers to load_num = 0", "short cars refers to len = 'short'; in the shape of hexagon refers to shape = 'hexagon'", "west is a direction", "east is a direction; at least 4 cars refers to carsNum > = 4" ] }
{ "query": "Among the trains running west, how many trains have no more than one car with an open roof?", "pos": [ "running west refers to direction = 'west'; open roof refers to roof = 'none'" ], "neg": [ "at least one empty-loaded car run refers to load_num = 0", "east is a direction; at least 4 cars refers to carsNum > = 4", "flat roof refers to roof = 'flat'; load_shape = 'circle'", "head cars refers to position = 1;", "empty cars refers to load_num = 0", "less than 4 cars refers to carsNum < 4", "3 cars refers to carsNum = 3", "short cars refers to len = 'short'; in the shape of hexagon refers to shape = 'hexagon'", "short refers to len = 'short'; 4 cars run refers to position = 4", "majority of train refers to MAX(count(id))" ] }
{ "query": "Among the cars on a train that runs in the east direction, how many of them have a flat roof and a circle load shape?", "pos": [ "flat roof refers to roof = 'flat'; load_shape = 'circle'" ], "neg": [ "head cars refers to position = 1;", "east is a direction", "short refers to len = 'short'; ellipse cars refers to shape = 'ellipse'", "east is a direction; at least 4 cars refers to carsNum > = 4", "at least one empty-loaded car run refers to load_num = 0", "eastbound refers to direction = 'east'; head cars refers to position = 1", "fully loaded refers to load_num = 3; head cars refers to position = 1", "majority of train refers to MAX(count(id))", "running west refers to direction = 'west'; open roof refers to roof = 'none'", "short refers to len = 'short'; 4 cars run refers to position = 4" ] }
{ "query": "For the university id 268, show its number of students in 2013.", "pos": [ "number of students refers to num_students; in 2013 refers to year = 2013" ], "neg": [ "Harvard university's refers to university_name = 'Harvard University'; in 2011 refers to year = 2011; percentage of Harvard university's international students refers to pct_international_students", "in 2011 refers to year 2011; that got 98 refers to score = 98; in teaching refers to criteria_name = 'Teaching'; name of university refers to university_name", "names of the criteria refers to criteria_name; under Center for World University Rankings refers to system_name = 'Center for World University Rankings';", "in 2011 refers to year 2011; Harvard University refers to university_name = 'Harvard University';", "in 2011 refers to year 2011; the most students refers to MAX(num_students); which university refers to university_name;", "number of international students refers to DIVIDE(MULTIPLY(pct_international_students, num_students), 100); in 2013 refers to year = 2013", "in 2011 refers to year 2011; student staff ratio of over 15 refers to student_staff_ratio > 15; ID of the university refers to university_id", "number of students ranges from 400 to 1000 refers to num_students BETWEEN 400 AND 1000; name of university refers to university_name", "ranking system called Center for World University Ranking refers to system_name = 'Center for World University Rankings';", "in 2011 refers to year 2011; the most international students refers to MAX(DIVIDE(MULTIPLY(num_students,  pct_international_students), 100)); name of university refers to university_id" ] }
{ "query": "How many universities had above 30% of international students in 2013?", "pos": [ "had above 30% of international students refers to pct_international_students > 30; in 2013 refers to year = 2013" ], "neg": [ "average number of criterias refers to DIVIDE(SUM(id), 3); \"Times Higher Education World University Ranking\", \"Shanghai Ranking\" and \"Center for World University Rankings\" refers to system_name IN ('Times Higher Education World University Ranking', 'Shanghai Ranking', 'Center for World University Rankings');", "international students refers to DIVIDE(MULTIPLY(num_students, pct_international_students), 100); difference refers to SUBTRACT(SUM(num_students), SUM(DIVIDE(MULTIPLY(num_students, pct_international_students), 100))); in University of Tokyo refers to university_name = 'University of Tokyo'; from 2011 to 2014 refers to year BETWEEN 2011 AND 2014", "Brown University refers to university_name = 'Brown University'; score the highest refers to MAX(score)", "in 2015 refers to year = 2015; score less than 28% refers to score < MULTIPLY(avg(score), 0.28) where year = 2015; names of universities refers to university_name", "number of students refers to num_students; in 2013 refers to year = 2013", "the Center for World University Rankings refers to system_name = 'Center for World University Rankings';", "under Alumni criteria refers to criteria_name = 'Alumni'; in 2008 refers to year = 2008; average score refers to DIVIDE(SUM(score), COUNT(university_id))", "got a score above 80 refers to score > 80; under International criteria refers to criteria_name = 'International'; in 2016 refers to year = 2016; highest score refers to MAX(score)", "have no less than 50,000 students refers to num_students > 50000; name of university refers to university_name;", "Shanghai Ranking system refers to system_name = 'Shanghai Ranking'; ranking criteria refers to criteria_name" ] }
{ "query": "In Argentina, how many universities are there?", "pos": [ "In Argentina refers to country_name = 'Argentina';" ], "neg": [ "Harvard University refers to university_name = 'Harvard University'; difference in overall student enrollment and international student refers to SUBTRACT(SUM(num_students), SUM(DIVIDE(MULTIPLY(pct_international_students, num_students), 100))); from 2011 to 2012 refers to year BETWEEN 2011 AND 2012", "University of Veterinary Medicine Vienna refers to university_name = 'University of Veterinary Medicine Vienna';", "Harvard University refers to university_name = 'Harvard University'; in 2012 refers to year = 2012", "female students refers to DIVIDE(MULTIPLY(num_students, pct_female_students), 100); in United States of America refers to country_name = 'United States of America'; percentage refers to DIVIDE(SUM(DIVIDE(MULTIPLY(num_students, pct_female_students), 100)), SUM(num_students))", "have at least 80,000 students refers to num_students > 8000; year = 2011", "have the most students refers to MAX(num_students)", "student population refers to num_students; in 2013 refers to year = 2013", "most number of students refers to MAX(num_students); in 2015 refers to year = 2015; name of university refers to university_name;", "have no less than 20,000 female students refers to DIVIDE(MULTIPLY(pct_female_students, num_students), 100) > 20000; in 2016 refers to year = 2016; located in the United States of America refers to country_name = 'United States of America'", "Chosun University refers to university_name = 'Chosun University'; in 2015 refers to year = 2015; on \"Influence Rank\" refers to criteria_name = 'Influence Rank';" ] }
{ "query": "What is the name of the university that had the highest number of international students for 6 consecutive years?", "pos": [ "had the highest number of international students refers to max(pct_international_students); for 6 consecutive years refers to count(SUBTRACT(year, rm)) > = 6; name of university refers to university_name;" ], "neg": [ "institutions with over 50,000 students refers to num_students > 50000; in 2011 refers to year = 2011; percentage of oversea students of more than 10% refers to pct_international_students > 10;", "in 2011 refers to year 2011; Harvard University refers to university_name = 'Harvard University'; names of all the ranking criteria refers to criteria_name", "had the highest reputation refers to MAX(score), in 2012 refers to year = 2012; which university refers to university_name;", "most number of students refers to MAX(num_students); in 2015 refers to year = 2015; name of university refers to university_name;", "in 2011 refers to year 2011; student staff ratio of over 15 refers to student_staff_ratio > 15; ID of the university refers to university_id", "Johns Hopkins University refers to university_name = 'Johns Hopkins University'; which country refers to country_name", "in 2015 refers to year = 2015; score less than 28% refers to score < MULTIPLY(avg(score), 0.28) where year = 2015; names of universities refers to university_name", "in 2011 refers to year 2011; have more than 15000 students refers to num_students > 15000; in Australia refers to country_name = 'Australia';", "in 2011 refers to year 2011; in teaching refers to  criteria_name = 'Teaching'; score in teaching of over 90 refers to score > 90; in the United States of America refers to country_name = 'United States of America';", "average score refers to avg(score); between year 2013 to 2015 refers to year BETWEEN 2013 AND 2015" ] }
{ "query": "Give the name of the country that has the most universities.", "pos": [ "has the most universities refers to MAX(COUNT(id)); name of the country refers to country_name" ], "neg": [ "the Center for World University Rankings refers to system_name = 'Center for World University Rankings';", "\"Center for World University Rankings\" refers to system_name = 'Center for World University Rankings';", "highest number of female students refers to MAX(SUBTRACT(num_students, DIVIDE(MULTIPLY(num_students, pct_female_students), 100))); name of university refers to university_name", "in 2011 refers to year 2011; Harvard University refers to university_name = 'Harvard University';", "Shanghai Ranking system refers to system_name = 'Shanghai Ranking'; ranking criteria refers to criteria_name", "lowest number of students refers to MIN(num_students); in 2015 refers to year = 2015; name of university refers to university_name;", "total number of female students refers to SUM(DIVIDE(MULTIPLY(pct_female_students, num_students), 100)); In years 2011 to 2013 refers to year BETWEEN 2011 AND 2013", "Brown University refers to university_name = 'Brown University'; in 2014 refers to year = 2014", "University of Auckland refers to university_name = 'University of Auckland'; in 2015 refers to year = 2015; number of staff refers to DIVIDE(num_students, student_staff_ratio)", "Yale University refers to university_name = 'Yale University'; a score of no less than 10 refers to score > = 10; in the Quality of Education Rank refers to criteria_name = 'Quality of Education Rank'" ] }
{ "query": "Name the most famous university in Argentina.", "pos": [ "in Argentina refers to country_name = 'Argentina';  most famous refers to MAX(SUM(score))" ], "neg": [ "most students refers to MAX(num_students), in 2011 refers to year = 2011", "scored 40 refers to score = 40; in teaching refers to criteria_name = 'Teaching'", "University of Auckland refers to university_name = 'University of Auckland'; in 2015 refers to year = 2015; number of staff refers to DIVIDE(num_students, student_staff_ratio)", "Harvard University refers to university_name = 'Harvard University'; difference in overall student enrollment and international student refers to SUBTRACT(SUM(num_students), SUM(DIVIDE(MULTIPLY(pct_international_students, num_students), 100))); from 2011 to 2012 refers to year BETWEEN 2011 AND 2012", "ranking system called Center for World University Ranking refers to system_name = 'Center for World University Rankings';", "number of students greater than 98% of the average student population of all universities refers to num_students >  MULTPLY(num_students, 0.98); in 2013 refers to year = 2013", "in 2011 refers to year = 2011; had the most students refers to MAX(num_students); name of university refers to university_name;", "had above 30% of international students refers to pct_international_students > 30; in 2013 refers to year = 2013", "Yale University refers to university_name = 'Yale University'; a score of no less than 10 refers to score > = 10; in the Quality of Education Rank refers to criteria_name = 'Quality of Education Rank'", "in 2011 refers to year 2011; student staff ratio of over 15 refers to student_staff_ratio > 15; ID of the university refers to university_id" ] }
{ "query": "Show the name of the university with the lowest number of students in 2015.", "pos": [ "lowest number of students refers to MIN(num_students); in 2015 refers to year = 2015; name of university refers to university_name;" ], "neg": [ "in 2011 refers to year 2011; Harvard University refers to university_name = 'Harvard University'; names of all the ranking criteria refers to criteria_name", "Chosun University refers to university_name = 'Chosun University'; in 2015 refers to year = 2015; on \"Influence Rank\" refers to criteria_name = 'Influence Rank';", "female students refers to DIVIDE(MULTIPLY(num_students, pct_female_students), 100); in United States of America refers to country_name = 'United States of America'; percentage refers to DIVIDE(SUM(DIVIDE(MULTIPLY(num_students, pct_female_students), 100)), SUM(num_students))", "Yale University refers to university_name = 'Yale University'; a score of no less than 10 refers to score > = 10; in the Quality of Education Rank refers to criteria_name = 'Quality of Education Rank'", "in 2011 refers to year 2011; the most international students refers to MAX(DIVIDE(MULTIPLY(num_students,  pct_international_students), 100)); name of university refers to university_id", "university's name refers to university_name; highest ranking score refers to MAX(score); in Teaching refers to criteria_name = 'Teaching'", "number of students ranges from 400 to 1000 refers to num_students BETWEEN 400 AND 1000; name of university refers to university_name", "in 2011 refers to year 2011; female students refers to DIVIDE(MULTIPLY(pct_female_students, num_students), 100); Stanford University refers to university_name = 'Stanford University';", "In 2014 refers to year = 2014; leader refers to MAX(score); in the publications rank refers to criteria_name = 'Publications Rank'; name of university refers to university_name;", "highest student staff ratio refers to max(student_staff_ratio)" ] }
{ "query": "How many universities have no less than 20,000 female students in 2016? Identify how many of the said universities are located in the United States of America.", "pos": [ "have no less than 20,000 female students refers to DIVIDE(MULTIPLY(pct_female_students, num_students), 100) > 20000; in 2016 refers to year = 2016; located in the United States of America refers to country_name = 'United States of America'" ], "neg": [ "lowest number of students refers to MIN(num_students); in 2015 refers to year = 2015; name of university refers to university_name;", "the Center for World University Rankings refers to system_name = 'Center for World University Rankings';", "in 2011 refers to year 2011; Harvard University refers to university_name = 'Harvard University';", "total number of female students refers to SUM(DIVIDE(MULTIPLY(pct_female_students, num_students), 100)); In years 2011 to 2013 refers to year BETWEEN 2011 AND 2013", "University of Southampton refers to university_name = 'University of Southampton'; in 2015 refers to year = 2015; score the best refers to MAX(score); which criteria refers to criteria_name", "in 2011 refers to year 2011; in University of Michigan refers to university_name = 'University of Michigan';", "scored 40 refers to score = 40; in teaching refers to criteria_name = 'Teaching'", "had the lowest number of students refers to MIN(num_students)", "Harvard University refers to university_name = 'Harvard University'; in 2012 refers to year = 2012", "Harvard university's refers to university_name = 'Harvard University'; in 2011 refers to year = 2011; percentage of Harvard university's international students refers to pct_international_students" ] }
{ "query": "What is the student staff ratio of the university with the highest student staff ratio of all time?", "pos": [ "highest student staff ratio refers to max(student_staff_ratio)" ], "neg": [ "the Center for World University Rankings refers to system_name = 'Center for World University Rankings';", "highest number of international students refers to MAX(DIVIDE(MULTIPLY(num_students, pct_international_students), 100)); name of university refers to university_name;", "got a score above 80 refers to score > 80; under International criteria refers to criteria_name = 'International'; in 2016 refers to year = 2016; highest score refers to MAX(score)", "have no less than 50,000 students refers to num_students > 50000; name of university refers to university_name;", "Harvard University refers to university_name = 'Harvard University'; in 2012 refers to year = 2012", "Harvard University refers to university_name = 'Harvard University'; scored 100 refers to score = 100", "average score refers to avg(score); Emory University refers to university_name = 'Emory University'; from 2011 to 2016 refers to year BETWEEN 2011 AND 2016;", "has the most universities refers to MAX(COUNT(id)); name of the country refers to country_name", "in 2011 refers to year 2011; the most international students refers to MAX(DIVIDE(MULTIPLY(num_students,  pct_international_students), 100)); name of university refers to university_id", "has the lowest number of students refers to min(num_students); name of the university refers to university_name" ] }
{ "query": "Calculate the total number of students in universities located in Sweden.", "pos": [ "located in Sweden refers to country_name = 'Sweden'; number of students refers to num_students" ], "neg": [ "Johns Hopkins University refers to university_name = 'Johns Hopkins University'; which country refers to country_name", "university's name refers to university_name; highest ranking score refers to MAX(score); in Teaching refers to criteria_name = 'Teaching'", "University of Auckland refers to university_name = 'University of Auckland'; in 2015 refers to year = 2015; number of staff refers to DIVIDE(num_students, student_staff_ratio)", "highest student staff ratio refers to max(student_staff_ratio)", "number of international students refers to DIVIDE(MULTIPLY(pct_international_students, num_students), 100); in 2013 refers to year = 2013", "in 2011 refers to year 2011; the most international students refers to MAX(DIVIDE(MULTIPLY(num_students,  pct_international_students), 100)); name of university refers to university_id", "criteria \"Total Shanghai\" refers to criteria_name = 'Total Shanghai'; which ranking system refers to system_name", "under Alumni criteria refers to criteria_name = 'Alumni'; in 2008 refers to year = 2008; average score refers to DIVIDE(SUM(score), COUNT(university_id))", "Harvard university's refers to university_name = 'Harvard University'; in 2011 refers to year = 2011; percentage of Harvard university's international students refers to pct_international_students", "the Center for World University Rankings refers to system_name = 'Center for World University Rankings';" ] }
{ "query": "How many percent of universities got a score above 80 under International criteria in 2016? Among them, name the university which got the highest score.", "pos": [ "got a score above 80 refers to score > 80; under International criteria refers to criteria_name = 'International'; in 2016 refers to year = 2016; highest score refers to MAX(score)" ], "neg": [ "scored under 60 refers to score < 60; in 2011 refers to year 2011; in teaching refers to criteria_name = 'Teaching'; in the United States of America refers to country_name = 'United States of America';", "has the lowest number of students refers to min(num_students); name of the university refers to university_name", "Johns Hopkins University refers to university_name = 'Johns Hopkins University'; which country refers to country_name", "number of students ranges from 400 to 1000 refers to num_students BETWEEN 400 AND 1000; name of university refers to university_name", "Chosun University refers to university_name = 'Chosun University'; in 2015 refers to year = 2015; on \"Influence Rank\" refers to criteria_name = 'Influence Rank';", "ranking system called Center for World University Ranking refers to system_name = 'Center for World University Rankings';", "scored 40 refers to score = 40; in teaching refers to criteria_name = 'Teaching'", "have no less than 20,000 female students refers to DIVIDE(MULTIPLY(pct_female_students, num_students), 100) > 20000; in 2016 refers to year = 2016; located in the United States of America refers to country_name = 'United States of America'", "criteria \"Citations Rank\" refers to criteria_name = 'Citations Rank';", "Yale University refers to university_name = 'Yale University'; a score of no less than 10 refers to score > = 10; in the Quality of Education Rank refers to criteria_name = 'Quality of Education Rank'" ] }
{ "query": "What are the names of the universities that got 98 in teaching in 2011?", "pos": [ "in 2011 refers to year 2011; that got 98 refers to score = 98; in teaching refers to criteria_name = 'Teaching'; name of university refers to university_name" ], "neg": [ "criteria \"Citations Rank\" refers to criteria_name = 'Citations Rank';", "greatest student staff ratio of all time refers to max(student_staff_ratio)", "in 2011 refers to year 2011; have more than 15000 students refers to num_students > 15000; in Australia refers to country_name = 'Australia';", "Johns Hopkins University refers to university_name = 'Johns Hopkins University'; which country refers to country_name", "highest number of international students refers to MAX(DIVIDE(MULTIPLY(num_students, pct_international_students), 100)); in 2015 refers to year = 2015; name of university refers to university_name;", "under Alumni criteria refers to criteria_name = 'Alumni'; in 2008 refers to year = 2008; average score refers to DIVIDE(SUM(score), COUNT(university_id))", "in 2011 refers to year 2011; Harvard University refers to university_name = 'Harvard University'; names of all the ranking criteria refers to criteria_name", "location refers to country_name", "highest number of female students refers to MAX(SUBTRACT(num_students, DIVIDE(MULTIPLY(num_students, pct_female_students), 100))); name of university refers to university_name", "in 2011 refers to year 2011; student staff ratio of over 15 refers to student_staff_ratio > 15; ID of the university refers to university_id" ] }
{ "query": "How many universities scored 40 in teaching criteria?", "pos": [ "scored 40 refers to score = 40; in teaching refers to criteria_name = 'Teaching'" ], "neg": [ "in 2011 refers to year 2011; the most international students refers to MAX(DIVIDE(MULTIPLY(num_students,  pct_international_students), 100)); name of university refers to university_id", "located in Sweden refers to country_name = 'Sweden'; number of students refers to num_students", "scored under 60 refers to score < 60; in 2011 refers to year 2011; in teaching refers to criteria_name = 'Teaching'; in the United States of America refers to country_name = 'United States of America';", "in 2011 refers to year 2011; with over 20000 students refers to num_students > 20000; international students percentage of over 25% refers to pct_international_students > 25;", "have at least 80,000 students refers to num_students > 8000; year = 2011", "got a score above 80 refers to score > 80; under International criteria refers to criteria_name = 'International'; in 2016 refers to year = 2016; highest score refers to MAX(score)", "highest student staff ratio refers to max(student_staff_ratio)", "the Center for World University Rankings refers to system_name = 'Center for World University Rankings';", "in 2011 refers to year 2011; Harvard University refers to university_name = 'Harvard University'; names of all the ranking criteria refers to criteria_name", "in 2011 refers to year = 2011; had the most students refers to MAX(num_students); name of university refers to university_name;" ] }
{ "query": "Give the names of universities with number of students ranges from 400 to 1000.", "pos": [ "number of students ranges from 400 to 1000 refers to num_students BETWEEN 400 AND 1000; name of university refers to university_name" ], "neg": [ "have no less than 50,000 students refers to num_students > 50000; name of university refers to university_name;", "most international students refers to MAX(SUM(DIVIDE(MULTIPLE(pct_international_students, num_students), 100))); name of university refers to university_name;", "greatest student staff ratio of all time refers to max(student_staff_ratio)", "University of Tokyo refers to university_name = 'University of Tokyo';", "scored 40 refers to score = 40; in teaching refers to criteria_name = 'Teaching'", "Cyprus refers to country_name = 'Cyprus';", "in 2011 refers to year 2011; student staff ratio of over 15 refers to student_staff_ratio > 15; ID of the university refers to university_id", "in 2011 refers to year 2011; the most international students refers to MAX(DIVIDE(MULTIPLY(num_students,  pct_international_students), 100)); name of university refers to university_id", "University of Auckland refers to university_name = 'University of Auckland'; in 2015 refers to year = 2015; number of staff refers to DIVIDE(num_students, student_staff_ratio)", "with the highest score refers to MAX(score); in teaching refers to criteria_name = 'Teaching'; name of university refers to university_name;" ] }
{ "query": "Calculate the average score of Emory University from 2011 to 2016.", "pos": [ "average score refers to avg(score); Emory University refers to university_name = 'Emory University'; from 2011 to 2016 refers to year BETWEEN 2011 AND 2016;" ], "neg": [ "of Harvard University refers to university_name = 'Harvard University';", "Chosun University refers to university_name = 'Chosun University'; in 2015 refers to year = 2015; on \"Influence Rank\" refers to criteria_name = 'Influence Rank';", "in 2011 refers to year 2011; have more than 15000 students refers to num_students > 15000; in Australia refers to country_name = 'Australia';", "international students refers to DIVIDE(MULTIPLY(num_students, pct_international_students), 100); University of Wisconsin-Madison refers to university_name = 'University of Wisconsin-Madison'; in 2013 refers to year = 2013", "most international students refers to MAX(SUM(DIVIDE(MULTIPLE(pct_international_students, num_students), 100))); name of university refers to university_name;", "in 2011 refers to year 2011; more than 100,000 students refers to num_students > 100000; which university refers to university_name;", "most students refers to MAX(num_students), in 2011 refers to year = 2011", "university's name refers to university_name; highest ranking score refers to MAX(score); in Teaching refers to criteria_name = 'Teaching'", "lowest number of students refers to MIN(num_students); in 2015 refers to year = 2015; name of university refers to university_name;", "In Argentina refers to country_name = 'Argentina';" ] }
{ "query": "Among the universities in United States of America, what is the percentage of female students in year 2016?", "pos": [ "female students refers to DIVIDE(MULTIPLY(num_students, pct_female_students), 100); in United States of America refers to country_name = 'United States of America'; percentage refers to DIVIDE(SUM(DIVIDE(MULTIPLY(num_students, pct_female_students), 100)), SUM(num_students))" ], "neg": [ "had the highest number of international students refers to max(pct_international_students); for 6 consecutive years refers to count(SUBTRACT(year, rm)) > = 6; name of university refers to university_name;", "have no less than 50,000 students refers to num_students > 50000; name of university refers to university_name;", "in 2011 refers to year 2011; Harvard University refers to university_name = 'Harvard University'; names of all the ranking criteria refers to criteria_name", "in 2011 refers to year 2011; that got 98 refers to score = 98; in teaching refers to criteria_name = 'Teaching'; name of university refers to university_name", "lowest number of students refers to MIN(num_students); in 2015 refers to year = 2015; name of university refers to university_name;", "University of Veterinary Medicine Vienna refers to university_name = 'University of Veterinary Medicine Vienna';", "Harvard University refers to university_name = 'Harvard University'; nation refers to country_name", "number of students refers to num_students; in 2013 refers to year = 2013", "In 2014 refers to year = 2014; leader refers to MAX(score); in the publications rank refers to criteria_name = 'Publications Rank'; name of university refers to university_name;", "in 2011 refers to year 2011; less than 50 scores refers to score < 50;" ] }
{ "query": "What are the names of the top 5 universities with the highest number of international students?", "pos": [ "highest number of international students refers to MAX(DIVIDE(MULTIPLY(num_students, pct_international_students), 100)); name of university refers to university_name;" ], "neg": [ "under Alumni criteria refers to criteria_name = 'Alumni'; in 2008 refers to year = 2008; average score refers to DIVIDE(SUM(score), COUNT(university_id))", "average score refers to avg(score); Emory University refers to university_name = 'Emory University'; from 2011 to 2016 refers to year BETWEEN 2011 AND 2016;", "in 2011 refers to year 2011; in University of Michigan refers to university_name = 'University of Michigan';", "in 2011 refers to year 2011; have more than 15000 students refers to num_students > 15000; in Australia refers to country_name = 'Australia';", "number of students ranges from 400 to 1000 refers to num_students BETWEEN 400 AND 1000; name of university refers to university_name", "Harvard University refers to university_name = 'Harvard University'; difference in overall student enrollment and international student refers to SUBTRACT(SUM(num_students), SUM(DIVIDE(MULTIPLY(pct_international_students, num_students), 100))); from 2011 to 2012 refers to year BETWEEN 2011 AND 2012", "scored 70 and below refers to score < 70; in 2016 refers to year = 2016", "in 2011 refers to year 2011; in teaching refers to  criteria_name = 'Teaching'; score in teaching of over 90 refers to score > 90; in the United States of America refers to country_name = 'United States of America';", "highest number of international students refers to MAX(DIVIDE(MULTIPLY(num_students, pct_international_students), 100)); in 2015 refers to year = 2015; name of university refers to university_name;", "Harvard University refers to university_name = 'Harvard University'; scored 100 refers to score = 100" ] }
{ "query": "In what year does the Brown University score the highest?", "pos": [ "Brown University refers to university_name = 'Brown University'; score the highest refers to MAX(score)" ], "neg": [ "had the lowest number of students refers to MIN(num_students)", "in 2011 refers to year 2011; have more than 15000 students refers to num_students > 15000; in Australia refers to country_name = 'Australia';", "scored 40 refers to score = 40; in teaching refers to criteria_name = 'Teaching'", "in 2011 refers to year 2011; in teaching refers to  criteria_name = 'Teaching'; score in teaching of over 90 refers to score > 90; in the United States of America refers to country_name = 'United States of America';", "in 2011 refers to year 2011; the most international students refers to MAX(DIVIDE(MULTIPLY(num_students,  pct_international_students), 100)); name of university refers to university_id", "Harvard University refers to university_name = 'Harvard University'; difference in overall student enrollment and international student refers to SUBTRACT(SUM(num_students), SUM(DIVIDE(MULTIPLY(pct_international_students, num_students), 100))); from 2011 to 2012 refers to year BETWEEN 2011 AND 2012", "international students refers to DIVIDE(MULTIPLY(num_students, pct_international_students), 100); difference refers to SUBTRACT(SUM(num_students), SUM(DIVIDE(MULTIPLY(num_students, pct_international_students), 100))); in University of Tokyo refers to university_name = 'University of Tokyo'; from 2011 to 2014 refers to year BETWEEN 2011 AND 2014", "located in Japan refers to country_name = 'Japan';", "the Center for World University Rankings refers to system_name = 'Center for World University Rankings';", "have at least 80,000 students refers to num_students > 8000; year = 2011" ] }
{ "query": "Which universities have more than 100,000 students in 2011?", "pos": [ "in 2011 refers to year 2011; more than 100,000 students refers to num_students > 100000; which university refers to university_name;" ], "neg": [ "had the highest number of international students refers to max(pct_international_students); for 6 consecutive years refers to count(SUBTRACT(year, rm)) > = 6; name of university refers to university_name;", "has the most universities refers to MAX(COUNT(id)); name of the country refers to country_name", "in 2015 refers to year = 2015; score less than 28% refers to score < MULTIPLY(avg(score), 0.28) where year = 2015; names of universities refers to university_name", "average number of criterias refers to DIVIDE(SUM(id), 3); \"Times Higher Education World University Ranking\", \"Shanghai Ranking\" and \"Center for World University Rankings\" refers to system_name IN ('Times Higher Education World University Ranking', 'Shanghai Ranking', 'Center for World University Rankings');", "institutions with over 50,000 students refers to num_students > 50000; in 2011 refers to year = 2011; percentage of oversea students of more than 10% refers to pct_international_students > 10;", "In 2014 refers to year = 2014; leader refers to MAX(score); in the publications rank refers to criteria_name = 'Publications Rank'; name of university refers to university_name;", "in 2011 refers to year 2011; Harvard University refers to university_name = 'Harvard University';", "scored under 60 refers to score < 60; in 2011 refers to year 2011; in teaching refers to criteria_name = 'Teaching'; in the United States of America refers to country_name = 'United States of America';", "Harvard University refers to university_name = 'Harvard University'; difference in overall student enrollment and international student refers to SUBTRACT(SUM(num_students), SUM(DIVIDE(MULTIPLY(pct_international_students, num_students), 100))); from 2011 to 2012 refers to year BETWEEN 2011 AND 2012", "in 2011 refers to year 2011; the most international students refers to MAX(DIVIDE(MULTIPLY(num_students,  pct_international_students), 100)); name of university refers to university_id" ] }
{ "query": "In which year did university ID 1 have the most students?", "pos": [ "have the most students refers to MAX(num_students)" ], "neg": [ "have no less than 20,000 female students refers to DIVIDE(MULTIPLY(pct_female_students, num_students), 100) > 20000; in 2016 refers to year = 2016; located in the United States of America refers to country_name = 'United States of America'", "Harvard University refers to university_name = 'Harvard University'; in 2012 refers to year = 2012", "Brown University refers to university_name = 'Brown University'; in 2014 refers to year = 2014", "Johns Hopkins University refers to university_name = 'Johns Hopkins University'; which country refers to country_name", "has the lowest number of students refers to min(num_students); name of the university refers to university_name", "University of Tokyo refers to university_name = 'University of Tokyo';", "most number of students refers to MAX(num_students); in 2015 refers to year = 2015; name of university refers to university_name;", "in 2011 refers to year 2011; with over 20000 students refers to num_students > 20000; international students percentage of over 25% refers to pct_international_students > 25;", "located in Sweden refers to country_name = 'Sweden'; number of students refers to num_students", "number of international students refers to DIVIDE(MULTIPLY(pct_international_students, num_students), 100); in 2013 refers to year = 2013" ] }
{ "query": "What are the top three universities with the most international students?", "pos": [ "most international students refers to MAX(SUM(DIVIDE(MULTIPLE(pct_international_students, num_students), 100))); name of university refers to university_name;" ], "neg": [ "highest student staff ratio refers to max(student_staff_ratio)", "average score refers to avg(score); Emory University refers to university_name = 'Emory University'; from 2011 to 2016 refers to year BETWEEN 2011 AND 2016;", "University of Auckland refers to university_name = 'University of Auckland'; in 2015 refers to year = 2015; number of staff refers to DIVIDE(num_students, student_staff_ratio)", "Cyprus refers to country_name = 'Cyprus';", "highest number of international students refers to MAX(DIVIDE(MULTIPLY(num_students, pct_international_students), 100)); name of university refers to university_name;", "has the lowest number of students refers to min(num_students); name of the university refers to university_name", "have at least 80,000 students refers to num_students > 8000; year = 2011", "got a score above 80 refers to score > 80; under International criteria refers to criteria_name = 'International'; in 2016 refers to year = 2016; highest score refers to MAX(score)", "\"Center for World University Rankings\" refers to system_name = 'Center for World University Rankings';", "greatest student staff ratio of all time refers to max(student_staff_ratio)" ] }
{ "query": "Please list the names of all the universities that scored under 60 in teaching in 2011 and are in the United States of America.", "pos": [ "scored under 60 refers to score < 60; in 2011 refers to year 2011; in teaching refers to criteria_name = 'Teaching'; in the United States of America refers to country_name = 'United States of America';" ], "neg": [ "in 2011 refers to year 2011; in teaching refers to  criteria_name = 'Teaching'; score in teaching of over 90 refers to score > 90; in the United States of America refers to country_name = 'United States of America';", "in 2011 refers to year 2011; less than 50 scores refers to score < 50;", "Johns Hopkins University refers to university_name = 'Johns Hopkins University'; which country refers to country_name", "in 2015 refers to year = 2015; score less than 28% refers to score < MULTIPLY(avg(score), 0.28) where year = 2015; names of universities refers to university_name", "in 2011 refers to year 2011; had over 30000 students refers to num_students > 30000;", "lowest number of students refers to MIN(num_students); in 2015 refers to year = 2015; name of university refers to university_name;", "average score refers to avg(score); located in Brazil refers to country_name = 'Brazil';", "in 2011 refers to year = 2011; had the most students refers to MAX(num_students); name of university refers to university_name;", "in 2011 refers to year 2011; the most international students refers to MAX(DIVIDE(MULTIPLY(num_students,  pct_international_students), 100)); name of university refers to university_id", "In Argentina refers to country_name = 'Argentina';" ] }
{ "query": "Which ranking system is criteria \"Total Shanghai\" in?", "pos": [ "criteria \"Total Shanghai\" refers to criteria_name = 'Total Shanghai'; which ranking system refers to system_name" ], "neg": [ "scored under 60 refers to score < 60; in 2011 refers to year 2011; in teaching refers to criteria_name = 'Teaching'; in the United States of America refers to country_name = 'United States of America';", "under Alumni criteria refers to criteria_name = 'Alumni'; in 2008 refers to year = 2008; average score refers to DIVIDE(SUM(score), COUNT(university_id))", "in 2015 refers to year = 2015; score less than 28% refers to score < MULTIPLY(avg(score), 0.28) where year = 2015; names of universities refers to university_name", "in Argentina refers to country_name = 'Argentina';  most famous refers to MAX(SUM(score))", "the Center for World University Rankings refers to system_name = 'Center for World University Rankings';", "had the highest reputation refers to MAX(score), in 2012 refers to year = 2012; which university refers to university_name;", "have no less than 50,000 students refers to num_students > 50000; name of university refers to university_name;", "criteria named Quality of Education Rank refers to criteria_name = 'Quality of Education Rank'; ranking system refers to system_name;", "most international students refers to MAX(SUM(DIVIDE(MULTIPLE(pct_international_students, num_students), 100))); name of university refers to university_name;", "in 2011 refers to year 2011; Harvard University refers to university_name = 'Harvard University';" ] }
{ "query": "What is the country ID of the University of Tokyo?", "pos": [ "University of Tokyo refers to university_name = 'University of Tokyo';" ], "neg": [ "\"Center for World University Rankings\" refers to system_name = 'Center for World University Rankings';", "number of students refers to num_students; in 2013 refers to year = 2013", "average score refers to avg(score); located in Brazil refers to country_name = 'Brazil';", "total number of female students refers to SUM(DIVIDE(MULTIPLY(pct_female_students, num_students), 100)); In years 2011 to 2013 refers to year BETWEEN 2011 AND 2013", "the Center for World University Rankings refers to system_name = 'Center for World University Rankings';", "international students refers to DIVIDE(MULTIPLY(num_students, pct_international_students), 100); University of Wisconsin-Madison refers to university_name = 'University of Wisconsin-Madison'; in 2013 refers to year = 2013", "Yale University refers to university_name = 'Yale University'; a score of no less than 10 refers to score > = 10; in the Quality of Education Rank refers to criteria_name = 'Quality of Education Rank'", "number of students ranges from 400 to 1000 refers to num_students BETWEEN 400 AND 1000; name of university refers to university_name", "of Harvard University refers to university_name = 'Harvard University';", "has the lowest number of students refers to min(num_students); name of the university refers to university_name" ] }
{ "query": "Give the location of the university ID 112.", "pos": [ "location refers to country_name" ], "neg": [ "under Alumni criteria refers to criteria_name = 'Alumni'; in 2008 refers to year = 2008; average score refers to DIVIDE(SUM(score), COUNT(university_id))", "international students refers to DIVIDE(MULTIPLY(num_students, pct_international_students), 100); University of Wisconsin-Madison refers to university_name = 'University of Wisconsin-Madison'; in 2013 refers to year = 2013", "located in Sweden refers to country_name = 'Sweden'; number of students refers to num_students", "criteria named Quality of Education Rank refers to criteria_name = 'Quality of Education Rank'; ranking system refers to system_name;", "In Argentina refers to country_name = 'Argentina';", "in 2011 refers to year 2011; that got 98 refers to score = 98; in teaching refers to criteria_name = 'Teaching'; name of university refers to university_name", "scored 40 refers to score = 40; in teaching refers to criteria_name = 'Teaching'", "student population refers to num_students; in 2013 refers to year = 2013", "largest percentage of international students refers to MAX(pct_international_students); ID of university refers to university_id", "have at least 80,000 students refers to num_students > 8000; year = 2011" ] }
{ "query": "Calculate the difference between the total number of students and the number of international international students in Univeristy of Tokyo from 2011 to 2014.", "pos": [ "international students refers to DIVIDE(MULTIPLY(num_students, pct_international_students), 100); difference refers to SUBTRACT(SUM(num_students), SUM(DIVIDE(MULTIPLY(num_students, pct_international_students), 100))); in University of Tokyo refers to university_name = 'University of Tokyo'; from 2011 to 2014 refers to year BETWEEN 2011 AND 2014" ], "neg": [ "international students refers to DIVIDE(MULTIPLY(num_students, pct_international_students), 100); University of Wisconsin-Madison refers to university_name = 'University of Wisconsin-Madison'; in 2013 refers to year = 2013", "have at least 80,000 students refers to num_students > 8000; year = 2011", "in 2015 refers to year = 2015; score less than 28% refers to score < MULTIPLY(avg(score), 0.28) where year = 2015; names of universities refers to university_name", "in 2011 refers to year 2011; with over 20000 students refers to num_students > 20000; international students percentage of over 25% refers to pct_international_students > 25;", "has the lowest number of students refers to min(num_students); name of the university refers to university_name", "location refers to country_name", "Harvard university's refers to university_name = 'Harvard University'; in 2011 refers to year = 2011; percentage of Harvard university's international students refers to pct_international_students", "highest number of international students refers to MAX(DIVIDE(MULTIPLY(num_students, pct_international_students), 100)); in 2015 refers to year = 2015; name of university refers to university_name;", "criteria \"Total Shanghai\" refers to criteria_name = 'Total Shanghai'; which ranking system refers to system_name", "have no less than 20,000 female students refers to DIVIDE(MULTIPLY(pct_female_students, num_students), 100) > 20000; in 2016 refers to year = 2016; located in the United States of America refers to country_name = 'United States of America'" ] }
{ "query": "Name the university and country which had the highest number of international students in 2015.", "pos": [ "highest number of international students refers to MAX(DIVIDE(MULTIPLY(num_students, pct_international_students), 100)); in 2015 refers to year = 2015; name of university refers to university_name;" ], "neg": [ "criteria named Quality of Education Rank refers to criteria_name = 'Quality of Education Rank'; ranking system refers to system_name;", "had the highest number of international students refers to max(pct_international_students); for 6 consecutive years refers to count(SUBTRACT(year, rm)) > = 6; name of university refers to university_name;", "international students refers to DIVIDE(MULTIPLY(num_students, pct_international_students), 100); difference refers to SUBTRACT(SUM(num_students), SUM(DIVIDE(MULTIPLY(num_students, pct_international_students), 100))); in University of Tokyo refers to university_name = 'University of Tokyo'; from 2011 to 2014 refers to year BETWEEN 2011 AND 2014", "criteria \"Citations Rank\" refers to criteria_name = 'Citations Rank';", "average score refers to avg(score); Emory University refers to university_name = 'Emory University'; from 2011 to 2016 refers to year BETWEEN 2011 AND 2016;", "lowest number of students refers to MIN(num_students); in 2015 refers to year = 2015; name of university refers to university_name;", "scored 40 refers to score = 40; in teaching refers to criteria_name = 'Teaching'", "in Argentina refers to country_name = 'Argentina';  most famous refers to MAX(SUM(score))", "names of the criteria refers to criteria_name; under Center for World University Rankings refers to system_name = 'Center for World University Rankings';", "number of students greater than 98% of the average student population of all universities refers to num_students >  MULTPLY(num_students, 0.98); in 2013 refers to year = 2013" ] }
{ "query": "What is the name of the university with the most international students in 2011?", "pos": [ "in 2011 refers to year 2011; the most international students refers to MAX(DIVIDE(MULTIPLY(num_students,  pct_international_students), 100)); name of university refers to university_id" ], "neg": [ "most international students refers to MAX(SUM(DIVIDE(MULTIPLE(pct_international_students, num_students), 100))); name of university refers to university_name;", "Brown University refers to university_name = 'Brown University'; score the highest refers to MAX(score)", "have no less than 50,000 students refers to num_students > 50000; name of university refers to university_name;", "in Australia refers to country_name = 'Australia'; name of university refers to university_name", "Harvard University refers to university_name = 'Harvard University'; difference in overall student enrollment and international student refers to SUBTRACT(SUM(num_students), SUM(DIVIDE(MULTIPLY(pct_international_students, num_students), 100))); from 2011 to 2012 refers to year BETWEEN 2011 AND 2012", "international students refers to DIVIDE(MULTIPLY(num_students, pct_international_students), 100); difference refers to SUBTRACT(SUM(num_students), SUM(DIVIDE(MULTIPLY(num_students, pct_international_students), 100))); in University of Tokyo refers to university_name = 'University of Tokyo'; from 2011 to 2014 refers to year BETWEEN 2011 AND 2014", "scored under 60 refers to score < 60; in 2011 refers to year 2011; in teaching refers to criteria_name = 'Teaching'; in the United States of America refers to country_name = 'United States of America';", "Shanghai Ranking system refers to system_name = 'Shanghai Ranking'; ranking criteria refers to criteria_name", "number of students greater than 98% of the average student population of all universities refers to num_students >  MULTPLY(num_students, 0.98); in 2013 refers to year = 2013", "University of Tokyo refers to university_name = 'University of Tokyo';" ] }
{ "query": "Which university had the highest reputation in 2012?", "pos": [ "had the highest reputation refers to MAX(score), in 2012 refers to year = 2012; which university refers to university_name;" ], "neg": [ "in 2011 refers to year 2011; with over 20000 students refers to num_students > 20000; international students percentage of over 25% refers to pct_international_students > 25;", "lowest number of students refers to MIN(num_students); in 2015 refers to year = 2015; name of university refers to university_name;", "Harvard University refers to university_name = 'Harvard University'; in 2012 refers to year = 2012", "of Harvard University refers to university_name = 'Harvard University';", "University of Auckland refers to university_name = 'University of Auckland'; in 2015 refers to year = 2015; number of staff refers to DIVIDE(num_students, student_staff_ratio)", "with the highest score refers to MAX(score); in teaching refers to criteria_name = 'Teaching'; name of university refers to university_name;", "In Argentina refers to country_name = 'Argentina';", "have the most students refers to MAX(num_students)", "University of Veterinary Medicine Vienna refers to university_name = 'University of Veterinary Medicine Vienna';", "in 2011 refers to year 2011; have more than 15000 students refers to num_students > 15000; in Australia refers to country_name = 'Australia';" ] }
{ "query": "Provide the number of staff at the University of Auckland in 2015.", "pos": [ "University of Auckland refers to university_name = 'University of Auckland'; in 2015 refers to year = 2015; number of staff refers to DIVIDE(num_students, student_staff_ratio)" ], "neg": [ "in 2011 refers to year 2011; Harvard University refers to university_name = 'Harvard University';", "located in Japan refers to country_name = 'Japan';", "criteria \"Citations Rank\" refers to criteria_name = 'Citations Rank';", "number of students refers to num_students; in 2013 refers to year = 2013", "highest student staff ratio refers to max(student_staff_ratio)", "in 2011 refers to year 2011; less than 50 scores refers to score < 50;", "average score refers to avg(score); between year 2013 to 2015 refers to year BETWEEN 2013 AND 2015", "scored under 60 refers to score < 60; in 2011 refers to year 2011; in teaching refers to criteria_name = 'Teaching'; in the United States of America refers to country_name = 'United States of America';", "located in Sweden refers to country_name = 'Sweden'; number of students refers to num_students", "Harvard University refers to university_name = 'Harvard University'; difference in overall student enrollment and international student refers to SUBTRACT(SUM(num_students), SUM(DIVIDE(MULTIPLY(pct_international_students, num_students), 100))); from 2011 to 2012 refers to year BETWEEN 2011 AND 2012" ] }
{ "query": "Name the university that had the most students in 2011.", "pos": [ "in 2011 refers to year = 2011; had the most students refers to MAX(num_students); name of university refers to university_name;" ], "neg": [ "highest number of international students refers to MAX(DIVIDE(MULTIPLY(num_students, pct_international_students), 100)); in 2015 refers to year = 2015; name of university refers to university_name;", "scored 70 and below refers to score < 70; in 2016 refers to year = 2016", "criteria \"Citations Rank\" refers to criteria_name = 'Citations Rank';", "Harvard University refers to university_name = 'Harvard University'; scored 100 refers to score = 100", "in 2011 refers to year 2011; in University of Michigan refers to university_name = 'University of Michigan';", "Yale University refers to university_name = 'Yale University'; a score of no less than 10 refers to score > = 10; in the Quality of Education Rank refers to criteria_name = 'Quality of Education Rank'", "number of students ranges from 400 to 1000 refers to num_students BETWEEN 400 AND 1000; name of university refers to university_name", "in 2011 refers to year 2011; have more than 15000 students refers to num_students > 15000; in Australia refers to country_name = 'Australia';", "got a score above 80 refers to score > 80; under International criteria refers to criteria_name = 'International'; in 2016 refers to year = 2016; highest score refers to MAX(score)", "greatest student staff ratio of all time refers to max(student_staff_ratio)" ] }
{ "query": "In 2014, what is the name of the university which was considered a leader in the publications rank?", "pos": [ "In 2014 refers to year = 2014; leader refers to MAX(score); in the publications rank refers to criteria_name = 'Publications Rank'; name of university refers to university_name;" ], "neg": [ "average score refers to avg(score); located in Brazil refers to country_name = 'Brazil';", "got a score above 80 refers to score > 80; under International criteria refers to criteria_name = 'International'; in 2016 refers to year = 2016; highest score refers to MAX(score)", "In Argentina refers to country_name = 'Argentina';", "international students refers to DIVIDE(MULTIPLY(num_students, pct_international_students), 100); University of Wisconsin-Madison refers to university_name = 'University of Wisconsin-Madison'; in 2013 refers to year = 2013", "scored under 60 refers to score < 60; in 2011 refers to year 2011; in teaching refers to criteria_name = 'Teaching'; in the United States of America refers to country_name = 'United States of America';", "criteria \"Total Shanghai\" refers to criteria_name = 'Total Shanghai'; which ranking system refers to system_name", "in 2011 refers to year 2011; had over 30000 students refers to num_students > 30000;", "greatest student staff ratio of all time refers to max(student_staff_ratio)", "Johns Hopkins University refers to university_name = 'Johns Hopkins University'; which country refers to country_name", "located in Sweden refers to country_name = 'Sweden'; number of students refers to num_students" ] }