set
dict
{ "query": "How many CDP stores are there in California?", "pos": [ "California is a state; CDP stores refer to StoreID where Type = 'CDP';" ], "neg": [ "WARE-PUJ1005 is the WarehouseCode; fewest times refers to Min (Count(WarehouseCode))", "Latitude and Longitude coordinates can be used to identify the detailed position of stores; id refers to StoreID;", "the least sold product refers to Product Name where MIN(Order Quantity);", "net profit can be computed as SUBTRACT(Unit Price, Unit Cost); AVG(net profit) where Product Name = 'Bar Tools' and Order Quantity > 5;", "highest discount applied refers to Max(Discount Applied)", "net profit can be computed as SUBTRACT(Unit Price, Unit Cost); Joshua Bennett is the name of Sales Team;", "DIVIDE(COUNT(OrderNumber where County = 'Orange County' and SUBSTR(OrderDate, -2) = '18'), COUNT(OrderNumber where SUBSTR(OrderDate, -2) = '18')) as percentage;", "highest net profit = Max(Subtract (Unit Price, Unit Cost)); name of product refers to Product Name", "products with the ID of 30 to 40 refer to Product Name WHERE ProductID BETWEEN 30 AND 40;", "Sales Team = 'Stephen Payne'; net profit can be computed as SUBTRACT(Unit Price, Unit Cost); DIVIDE(COUNT(OrderNumber where Sales Team = 'Stephen Payne' and Net Profit > 1000)), (COUNT(OrderNumber where Sales Team = 'Stephen Payne')) as percentage;" ] }
{ "query": "List out the discount levels applied for all orders from Ole Group.", "pos": [ "Ole Group is the name of the customer; discount levels applied refer to Discount Applied NOT NULL;" ], "neg": [ "\"Midwest\" is the Region", "the lowest unit price refers to MIN(Unit Price);", "DIVIDE(SUM(Order Quantity where Product Name = 'Ornaments' and OrderDate LIKE '%/18'), 12);", "products with the ID of 30 to 40 refer to Product Name WHERE ProductID BETWEEN 30 AND 40;", "\"Brooklyn\" is the CityName; population of less than 3 million refers to Population < 3000000", "sales order 'SO - 0005951' refers to OrderNumber = 'SO - 0005951'; product refers to Product Name", "40% discount refers to Discount Applied = 0.4; in-store channel refers to Sales Channel = 'In-Store'; orders refer to OrderNumber;", "Product Name = 'Baseball'; December 2017 refers to OrderDate LIKE '12/%/17';", "net profit can be computed as SUBTRACT(Unit Price, Unit Cost); Joshua Bennett is the name of Sales Team;", "number of order refers to OrderNumber; population of 3000000 to 4000000 refers to Population BETWEEN 3000000 AND 4000000" ] }
{ "query": "Lists the name of the product and customer who placed an order on 10/21/18 and it was delivered on 11/21/19.", "pos": [ "ordered on 10/21/18 refers to OrderDate = '10/21/18'; delivered on 11/21/19 refers to DeliveryDate = '11/21/19'; name of product refers to Product Name" ], "neg": [ "COUNT(StoreID) < COUNT(StoreID where Type = 'Borough') < COUNT(StoreID where Type = 'CDP');", "October 27, 2018 refers to ProcuredDate = '10/27/18'; 'Oregon' is the State", "orders refer to OrderNumber;", "\"WARE-UHY1004\" is the WarehouseCode", "\"WARE-MKL1006\" is the WarehouseCode; most shipment to region refers to Max(Count(Region))", "order quantity of no less than 5 refers to Order Quantity > 5; shipped in the month of May 2019 refers to ShipDate LIKE '5/%/19'; lowest net profit = Min(Subtract(Unit Price, Unit Cost)); name of product refers to Products Name", "floral product refers to Product Name = 'Floral'; total net profit = SUM(Subtract(Unit Price, Unit Cost)); delivered in 2021 refers to DeliveryDate LIKE '%/21'", "\"California\" is the name of State; in store refers to Sales Channel = 'In-Store'; 20% discount refers to Discount Applied = '0.2'", "Latitude and Longitude coordinates can be used to identify the detailed position of stores; id refers to StoreID;", "Qualitest ordered the highest product quantity refers to Customer Names where MAX(Order Quantity);" ] }
{ "query": "Mention the most populated city and median income of the store in Florida state.", "pos": [ "most populated refers to Max(Population);" ], "neg": [ "In-Store sales refer to Sales Channel = 'In-Store'; city refers to City Name;", "October 27, 2018 refers to ProcuredDate = '10/27/18'; 'Oregon' is the State", "the most number of sales team refers to MAX(COUNT(Sales Team));", "Rochester Ltd is the name of the customer; orders refer to OrderNumber;", "net profit can be computed as SUBTRACT(Unit Price, Unit Cost); highest median income city refers to City Name where MAX(Median Income);", "\"Weimei Corp\" is the Customer Names; in 2018, 2019 and 2020 refers to SUBSTR (OrderDate, -2) IN ('18', '19', '20') : Average order = Divide (Count (OrderNumber), 3)", "sale team names refer to Sales Team; the least orders in 2019 refer to MIN(COUNT(OrderNumber where SUBSTR(OrderDate, -2) = '19'));", "order refers to OrderDate; in 2020 refers to Substr(OrderDate, -2) = '20'; January refers to Substr(OrderDate, 1, 1) = '1';  most preferred sales channel refers to Sales Channel where Max(Count(OrderNumber))", "order quantity of no less than 5 refers to Order Quantity > 5; shipped in the month of May 2019 refers to ShipDate LIKE '5/%/19'; lowest net profit = Min(Subtract(Unit Price, Unit Cost)); name of product refers to Products Name", "average household income = Divide (Sum(Household Income), Count(City Name)); highest number of store refers to Max(Count(StoreID))" ] }
{ "query": "Find the number of baseball ordered in December 2017.", "pos": [ "Product Name = 'Baseball'; December 2017 refers to OrderDate LIKE '12/%/17';" ], "neg": [ "California is a state; CDP stores refer to StoreID where Type = 'CDP';", "net profit can be computed as SUBTRACT(Unit Price, Unit Cost); the greatest net profit in 2020 refers to MAX(net profit) where OrderDate LIKE '%/20';", "highest discount applied refers to Max(Discount Applied)", "products with the ID of 30 to 40 refer to Product Name WHERE ProductID BETWEEN 30 AND 40;", "ordered on 10/21/18 refers to OrderDate = '10/21/18'; delivered on 11/21/19 refers to DeliveryDate = '11/21/19'; name of product refers to Product Name", "\"California\" is the name of State; in store refers to Sales Channel = 'In-Store'; 20% discount refers to Discount Applied = '0.2'", "\"Midwest\" is the Region", "\"Weimei Corp\" is the Customer Names; in 2018, 2019 and 2020 refers to SUBSTR (OrderDate, -2) IN ('18', '19', '20') : Average order = Divide (Count (OrderNumber), 3)", "Ole Group is the name of the customer; discount levels applied refer to Discount Applied NOT NULL;", "Medline is the name of the customer; DIVIDE(COUNT(OrderNumber where Sales Channel = 'In-Store' and Customer Names = 'Medline'), COUNT(OrderNumber where Customer Names = 'Medline')) as percentage;" ] }
{ "query": "How many orders have order date in 5/31/2018?", "pos": [ "orders refer to OrderNumber;" ], "neg": [ "floral product refers to Product Name = 'Floral'; total net profit = SUM(Subtract(Unit Price, Unit Cost)); delivered in 2021 refers to DeliveryDate LIKE '%/21'", "ordered on 10/21/18 refers to OrderDate = '10/21/18'; delivered on 11/21/19 refers to DeliveryDate = '11/21/19'; name of product refers to Product Name", "ratio can be calculated as DIVIDE(MAX(Unit_Cost)), MIN(Unit Cost);", "average land area = Divide (Sum(Land Area), Count(Land Area))", "WARE-PUJ1005 is the WarehouseCode; fewest times refers to Min (Count(WarehouseCode))", "order quantity greater than 5 refers to Order Quantity > 5", "net profit can be computed as SUBTRACT(Unit Price, Unit Cost); Joshua Bennett is the name of Sales Team;", "\"Joshua Bennett\" is the name of Sales Team", "product refers to Product Name; ordered the most in 2018 refers to MAX(COUNT(OrderNumber)) where SUBSTR(OrderDate, -2) = '18';", "the most number of sales team refers to MAX(COUNT(Sales Team));" ] }
{ "query": "What is the store id of the store located in the most populous county?", "pos": [ "most populous country refers to Max(Population)" ], "neg": [ "Latitude and Longitude coordinates can be used to identify the detailed position of stores; id refers to StoreID;", "the highest unit price refers to MAX(Unit Price);", "shipped refers to ShipDate; in 2019 refers to shipped in 2019 refers to SUBSTR(ShipDate, -2) = '19'; order in the said year refers to SUBSTR(OrderDate, -2) = '19'; highest number of order refers to Max(Count(OrderNumber))", "products with the ID of 30 to 40 refer to Product Name WHERE ProductID BETWEEN 30 AND 40;", "California is a state; CDP stores refer to StoreID where Type = 'CDP';", "Product Name = 'Baseball'; December 2017 refers to OrderDate LIKE '12/%/17';", "Latitude and Longitude coordinates can be used to identify the detailed position of stores; store refers to StoreID WHERE OrderNumber = 'SO - 000115';", "total orders of over 3 in 2018 refer to COUNT(OrderNumber) > 3 where SUBSTR(OrderDate, -2) = '18';", "Rochester Ltd is the name of the customer; all the numbers ordered refer to OrderNumber; 2018 refers to SUBSTR(OrderDate, -2) = '18';", "\"Chandler\" is the City Name; orders refers to OrderDate; in 2020 refers to Substr(OrderDate, -2) = '20'" ] }
{ "query": "Which sales team has the other with the highest unit price?", "pos": [ "highest unit price refers to Max(Unit Price)" ], "neg": [ "\"Joshua Bennett\" is the name of Sales Team", "net profit can be computed as SUBTRACT(Unit Price, Unit Cost); AVG(net profit) where Product Name = 'Phones' and Sales Channel = 'Distributor';", "net profit can be computed as SUBTRACT(Unit Price, Unit Cost); highest median income city refers to City Name where MAX(Median Income);", "less need for products refers to Order Quantity = 1; purchased through a distributor refers to Sales Channel = 'Distributor'; 'Harri County' is the County", "net profit can be computed as SUBTRACT(Unit Price, Unit Cost); the highest net profit in 2019 refers to MAX(Net Profit) where OrderDate LIKE '%/19'; product refers to Product Name;", "George Lewis refers to Sales Team; the highest number of orders refers to MAX(COUNT(OrderNumber)); which year from 2018 to 2020 refers to SUBSTR(OrderDate, -2) IN ('18', '19', '20') GROUP BY SUBSTR(OrderDate, -2);", "highest unit price refers to Max(Unit Price)", "highest net profit refers to Max(Subtract(Unit Price, Unit Cost)); name of product refers to Product Name", "\"Apollo Ltd\" is the Customer Names; most expensive unit price refers to max(Unit Price)", "average land area = Divide (Sum(Land Area), Count(Land Area))" ] }
{ "query": "Calculate the average net profit for bakeware product.", "pos": [ "net profit can be computed as SUBTRACT(Unit Price, Unit Cost); AVG(net profit) where Product Name = 'Bakeware';" ], "neg": [ "in the South refers to Region = 'South'; type of store that is most popular refers to Max(Count(Type))", "order quantity greater than 5 refers to Order Quantity > 5", "Latitude and Longitude coordinates can be used to identify the detailed position of stores; store refers to StoreID WHERE OrderNumber = 'SO - 000115';", "shipped from Daly City refers to Store Locations where City Name = 'Daly City'; orders refer to OrderNumber;", "name containing the word 'Group' refers to Customer Names LIKE '%Group%';", "average land area = Divide (Sum(Land Area), Count(Land Area))", "highest net profit = Max(Subtract (Unit Price, Unit Cost)); name of product refers to Product Name", "Rochester Ltd is the name of the customer; all the numbers ordered refer to OrderNumber; 2018 refers to SUBSTR(OrderDate, -2) = '18';", "unit cost greater than 4000USD refers to Unit Cost > 4000;", "ratio can be calculated as DIVIDE(MAX(Unit_Cost)), MIN(Unit Cost);" ] }
{ "query": "At what Latitude and Longitude is the store that has used the WARE-PUJ1005 warehouse the fewest times?", "pos": [ "WARE-PUJ1005 is the WarehouseCode; fewest times refers to Min (Count(WarehouseCode))" ], "neg": [ "COUNT(StoreID) < COUNT(StoreID where Type = 'Borough') < COUNT(StoreID where Type = 'CDP');", "highest net profit = Max(Subtract (Unit Price, Unit Cost)); name of product refers to Product Name", "net profit can be computed as SUBTRACT(Unit Price, Unit Cost); highest median income city refers to City Name where MAX(Median Income);", "shipped refers to ShipDate; in 2019 refers to shipped in 2019 refers to SUBSTR(ShipDate, -2) = '19'; order in the said year refers to SUBSTR(OrderDate, -2) = '19'; highest number of order refers to Max(Count(OrderNumber))", "highest discount applied refers to Max(Discount Applied)", "\"Chandler\" is the City Name; orders refers to OrderDate; in 2020 refers to Substr(OrderDate, -2) = '20'", "Latitude and Longitude coordinates can be used to identify the detailed position of stores; store refers to StoreID WHERE OrderNumber = 'SO - 000115';", "net profit can be computed as SUBTRACT(Unit Price, Unit Cost); Joshua Bennett is the name of Sales Team;", "\"Brooklyn\" is the CityName; population of less than 3 million refers to Population < 3000000", "total order quantity refers to Sum (Order Quantity); 'Candles' is the Products Name; percentage = Divide (Sum(Order Quantity where Product Name = 'Candles'), Sum(Order Quantity)) * 100" ] }
{ "query": "List all orders where its products were shipped from Daly City.", "pos": [ "shipped from Daly City refers to Store Locations where City Name = 'Daly City'; orders refer to OrderNumber;" ], "neg": [ "total orders refer to COUNT(OrderNumber); 2020 refers to SUBSTR(OrderDate, -2) = '20';", "orders refer to OrderNumber; more than 5 product quantities refer to Order Quantity > 5;", "WARE-PUJ1005 is the WarehouseCode; fewest times refers to Min (Count(WarehouseCode))", "Latitude and Longitude coordinates can be used to identify the detailed position of stores; id refers to StoreID;", "net profit can be computed as SUBTRACT(Unit Price, Unit Cost); Joshua Bennett is the name of Sales Team;", "net profit can be computed as SUBTRACT(Unit Price, Unit Cost); AVG(net profit) where Product Name = 'Phones' and Sales Channel = 'Distributor';", "name containing the word 'Group' refers to Customer Names LIKE '%Group%';", "Product Name = 'Baseball'; December 2017 refers to OrderDate LIKE '12/%/17';", "highest unit price refers to Max(Unit Price)", "Rochester Ltd is the name of the customer; orders refer to OrderNumber;" ] }
{ "query": "What type of store is most popular in the South?", "pos": [ "in the South refers to Region = 'South'; type of store that is most popular refers to Max(Count(Type))" ], "neg": [ "George Lewis refers to Sales Team; the highest number of orders refers to MAX(COUNT(OrderNumber)); which year from 2018 to 2020 refers to SUBSTR(OrderDate, -2) IN ('18', '19', '20') GROUP BY SUBSTR(OrderDate, -2);", "the least sold product refers to Product Name where MIN(Order Quantity);", "Medline is the name of the customer; DIVIDE(COUNT(OrderNumber where Sales Channel = 'In-Store' and Customer Names = 'Medline'), COUNT(OrderNumber where Customer Names = 'Medline')) as percentage;", "\"Midwest\" is the Region", "Sales Team = 'Stephen Payne'; net profit can be computed as SUBTRACT(Unit Price, Unit Cost); DIVIDE(COUNT(OrderNumber where Sales Team = 'Stephen Payne' and Net Profit > 1000)), (COUNT(OrderNumber where Sales Team = 'Stephen Payne')) as percentage;", "\"Weimei Corp\" is the Customer Names; in 2018, 2019 and 2020 refers to SUBSTR (OrderDate, -2) IN ('18', '19', '20') : Average order = Divide (Count (OrderNumber), 3)", "orders refer to OrderNumber;", "\"Elorac, Corp\" is the Customer Names", "city has the largest population refers to City Name where MAX(Population);", "net profit can be computed as SUBTRACT(Unit Price, Unit Cost); highest median income city refers to City Name where MAX(Median Income);" ] }
{ "query": "What is the amount of discount applied to the product with the highest net profit and what is the name of the said product?", "pos": [ "highest net profit refers to Max(Subtract(Unit Price, Unit Cost)); name of product refers to Product Name" ], "neg": [ "shipped from Daly City refers to Store Locations where City Name = 'Daly City'; orders refer to OrderNumber;", "highest net profit = Max(Subtract (Unit Price, Unit Cost)); name of product refers to Product Name", "products refers to Product Name; via wholesale channel refers to Sales Channel = 'Wholesale'", "\"Joshua Bennett\" is the name of Sales Team", "\"Distributor\" is the Sales Channel; minimum quantity refers to Min(Order Quantity)", "product refers to Product Name; ordered the most in 2018 refers to MAX(COUNT(OrderNumber)) where SUBSTR(OrderDate, -2) = '18';", "total orders of over 3 in 2018 refer to COUNT(OrderNumber) > 3 where SUBSTR(OrderDate, -2) = '18';", "order refers to OrderDate; in 2020 refers to Substr(OrderDate, -2) = '20'; January refers to Substr(OrderDate, 1, 1) = '1';  most preferred sales channel refers to Sales Channel where Max(Count(OrderNumber))", "Ole Group is the name of the customer; discount levels applied refer to Discount Applied NOT NULL;", "all the orders from WARE-NMK1003 refer to OrderNumber where WarehouseCode = 'WARE-NMK1003'; product refers to Product Name;" ] }
{ "query": "Count the number of orders made from the store in city with population of 3000000 to 4000000.", "pos": [ "number of order refers to OrderNumber; population of 3000000 to 4000000 refers to Population BETWEEN 3000000 AND 4000000" ], "neg": [ "less need for products refers to Order Quantity = 1; purchased through a distributor refers to Sales Channel = 'Distributor'; 'Harri County' is the County", "orders refer to OrderNumber;", "orders refer to OrderNumber; more than 5 product quantities refer to Order Quantity > 5;", "Rochester Ltd is the name of the customer; all the numbers ordered refer to OrderNumber; 2018 refers to SUBSTR(OrderDate, -2) = '18';", "net profit can be computed as SUBTRACT(Unit Price, Unit Cost); Joshua Bennett is the name of Sales Team;", "city has the largest population refers to City Name where MAX(Population);", "delivered in 2021 refer to DeliveryDate LIKE '%/21'; 'Sundial' is the Customer Names", "all the orders from WARE-NMK1003 refer to OrderNumber where WarehouseCode = 'WARE-NMK1003'; product refers to Product Name;", "Rochester Ltd is the name of the customer; orders refer to OrderNumber;", "net profit can be computed as SUBTRACT(Unit Price, Unit Cost); the highest net profit in 2019 refers to MAX(Net Profit) where OrderDate LIKE '%/19'; product refers to Product Name;" ] }
{ "query": "List all the name of products with the ID of 30 to 40.", "pos": [ "products with the ID of 30 to 40 refer to Product Name WHERE ProductID BETWEEN 30 AND 40;" ], "neg": [ "average household income = Divide (Sum(Household Income), Count(City Name)); highest number of store refers to Max(Count(StoreID))", "COUNT(StoreID) < COUNT(StoreID where Type = 'Borough') < COUNT(StoreID where Type = 'CDP');", "DIVIDE(SUM(Order Quantity where Product Name = 'Ornaments' and OrderDate LIKE '%/18'), 12);", "most populous country refers to Max(Population)", "delivered in 2021 refer to DeliveryDate LIKE '%/21'; 'Sundial' is the Customer Names", "Medsep Group is the name of the customer; orders refer to OrderNumber;", "net profit can be computed as SUBTRACT(Unit Price, Unit Cost); the greatest net profit in 2020 refers to MAX(net profit) where OrderDate LIKE '%/20';", "net profit can be computed as SUBTRACT(Unit Price, Unit Cost); Joshua Bennett is the name of Sales Team;", "Medline is the name of the customer; DIVIDE(COUNT(OrderNumber where Sales Channel = 'In-Store' and Customer Names = 'Medline'), COUNT(OrderNumber where Customer Names = 'Medline')) as percentage;", "\"Elorac, Corp\" is the Customer Names" ] }
{ "query": "Among sales teams in Midwest region, which sales team has an order quantity greater than 5?", "pos": [ "order quantity greater than 5 refers to Order Quantity > 5" ], "neg": [ "delivered in 2021 refer to DeliveryDate LIKE '%/21'; 'Sundial' is the Customer Names", "highest unit price refers to Max(Unit Price)", "Latitude and Longitude coordinates can be used to identify the detailed position of stores; store refers to StoreID WHERE OrderNumber = 'SO - 000115';", "net profit can be computed as SUBTRACT(Unit Price, Unit Cost); highest median income city refers to City Name where MAX(Median Income);", "unit cost greater than 4000USD refers to Unit Cost > 4000;", "total orders refer to COUNT(OrderNumber); 2020 refers to SUBSTR(OrderDate, -2) = '20';", "net profit can be computed as SUBTRACT(Unit Price, Unit Cost); AVG(net profit) where Product Name = 'Bar Tools' and Order Quantity > 5;", "city has the largest population refers to City Name where MAX(Population);", "George Lewis refers to Sales Team; the highest number of orders refers to MAX(COUNT(OrderNumber)); which year from 2018 to 2020 refers to SUBSTR(OrderDate, -2) IN ('18', '19', '20') GROUP BY SUBSTR(OrderDate, -2);", "most populated refers to Max(Population);" ] }
{ "query": "Name the products via wholesale channel of the store under Pacific/Honolulu time zone.", "pos": [ "products refers to Product Name; via wholesale channel refers to Sales Channel = 'Wholesale'" ], "neg": [ "order quantity of no less than 5 refers to Order Quantity > 5; shipped in the month of May 2019 refers to ShipDate LIKE '5/%/19'; lowest net profit = Min(Subtract(Unit Price, Unit Cost)); name of product refers to Products Name", "\"WARE-UHY1004\" is the WarehouseCode", "\"Weimei Corp\" is the Customer Names; in 2018, 2019 and 2020 refers to SUBSTR (OrderDate, -2) IN ('18', '19', '20') : Average order = Divide (Count (OrderNumber), 3)", "Medsep Group is the name of the customer; orders refer to OrderNumber;", "\"California\" is the name of State; in store refers to Sales Channel = 'In-Store'; 20% discount refers to Discount Applied = '0.2'", "COUNT(StoreID) < COUNT(StoreID where Type = 'Borough') < COUNT(StoreID where Type = 'CDP');", "total orders of over 3 in 2018 refer to COUNT(OrderNumber) > 3 where SUBSTR(OrderDate, -2) = '18';", "sales order 'SO - 0005951' refers to OrderNumber = 'SO - 0005951'; product refers to Product Name", "delivered in 2021 refer to DeliveryDate LIKE '%/21'; 'Sundial' is the Customer Names", "\"Arizona\" is the name of State; most net profit = Max(Subtract( Unit Price, Unit Cost))" ] }
{ "query": "What is the detailed coordinates of the store where the product with the 4th highest profit were purchased from?", "pos": [ "detailed coordinates refers to Latitude, Longitude; highest net profit = Max(Subtract(Unit Price, Unit Cost))" ], "neg": [ "net profit can be computed as SUBTRACT(Unit Price, Unit Cost); Joshua Bennett is the name of Sales Team;", "WARE-PUJ1005 is the WarehouseCode; fewest times refers to Min (Count(WarehouseCode))", "ordered on 10/21/18 refers to OrderDate = '10/21/18'; delivered on 11/21/19 refers to DeliveryDate = '11/21/19'; name of product refers to Product Name", "\"Elorac, Corp\" is the Customer Names", "all the orders from WARE-NMK1003 refer to OrderNumber where WarehouseCode = 'WARE-NMK1003'; product refers to Product Name;", "ratio can be calculated as DIVIDE(MAX(Unit_Cost)), MIN(Unit Cost);", "name containing the word 'Group' refers to Customer Names LIKE '%Group%';", "the lowest unit price refers to MIN(Unit Price);", "in the South refers to Region = 'South'; type of store that is most popular refers to Max(Count(Type))", "floral product refers to Product Name = 'Floral'; total net profit = SUM(Subtract(Unit Price, Unit Cost)); delivered in 2021 refers to DeliveryDate LIKE '%/21'" ] }
{ "query": "How much is the discount applied to the order with the highest unit price?", "pos": [ "highest unit price refers to Max(Unit Price)" ], "neg": [ "unit cost greater than 4000USD refers to Unit Cost > 4000;", "ratio can be calculated as DIVIDE(MAX(Unit_Cost)), MIN(Unit Cost);", "products with the ID of 30 to 40 refer to Product Name WHERE ProductID BETWEEN 30 AND 40;", "\"Arizona\" is the name of State; most net profit = Max(Subtract( Unit Price, Unit Cost))", "name of customer refers to Customer Names; from 2018 to 2020 refers to OrderDate between '1/1/2018' and '31/12/2020'; most number of order quantity refers to Order Quantity = 8", "order quantity greater than 5 refers to Order Quantity > 5", "applied 10% discount refers to Discount Applied = 0.1;", "\"Apollo Ltd\" is the Customer Names; most expensive unit price refers to max(Unit Price)", "\"California\" is the name of State; in store refers to Sales Channel = 'In-Store'; 20% discount refers to Discount Applied = '0.2'", "orders refer to OrderNumber; more than 5 product quantities refer to Order Quantity > 5;" ] }
{ "query": "What is the name of the product with the highest net profit?", "pos": [ "highest net profit = Max(Subtract (Unit Price, Unit Cost)); name of product refers to Product Name" ], "neg": [ "total orders refer to COUNT(OrderNumber); 2020 refers to SUBSTR(OrderDate, -2) = '20';", "Product Name = 'Baseball'; December 2017 refers to OrderDate LIKE '12/%/17';", "average land area = Divide (Sum(Land Area), Count(Land Area))", "unit cost greater than 4000USD refers to Unit Cost > 4000;", "\"Joshua Bennett\" is the name of Sales Team", "most populous country refers to Max(Population)", "\"Chandler\" is the City Name; orders refers to OrderDate; in 2020 refers to Substr(OrderDate, -2) = '20'", "DIVIDE(SUM(Order Quantity where Product Name = 'Ornaments' and OrderDate LIKE '%/18'), 12);", "sales order on 04/04/2020 refers to OrderDate = '4/4/20'; 'New York' is  the City Name; percentage = Divide (Sum(OrderNumber where City Name = 'New York'), Count (OrderNumber)) * 100", "the lowest unit price refers to MIN(Unit Price);" ] }
{ "query": "What is the customer names of orders which have unit cost greater than 4000USD?", "pos": [ "unit cost greater than 4000USD refers to Unit Cost > 4000;" ], "neg": [ "California is a state; CDP stores refer to StoreID where Type = 'CDP';", "Latitude and Longitude coordinates can be used to identify the detailed position of stores; store refers to StoreID WHERE OrderNumber = 'SO - 000115';", "\"Brooklyn\" is the CityName; population of less than 3 million refers to Population < 3000000", "the lowest unit price refers to MIN(Unit Price);", "highest unit price refers to Max(Unit Price)", "40% discount refers to Discount Applied = 0.4; in-store channel refers to Sales Channel = 'In-Store'; orders refer to OrderNumber;", "\"Distributor\" is the Sales Channel; minimum quantity refers to Min(Order Quantity)", "Product Name = 'Baseball'; December 2017 refers to OrderDate LIKE '12/%/17';", "COUNT(StoreID) < COUNT(StoreID where Type = 'Borough') < COUNT(StoreID where Type = 'CDP');", "orders refer to OrderNumber;" ] }
{ "query": "State the delivery date of cookware.", "pos": [ "Cookware is the name of the product;" ], "neg": [ "shipped from Daly City refers to Store Locations where City Name = 'Daly City'; orders refer to OrderNumber;", "Qualitest ordered the highest product quantity refers to Customer Names where MAX(Order Quantity);", "net profit can be computed as SUBTRACT(Unit Price, Unit Cost); AVG(net profit) where Product Name = 'Bar Tools' and Order Quantity > 5;", "the highest unit price refers to MAX(Unit Price);", "the lowest unit price refers to MIN(Unit Price);", "the most number of sales team refers to MAX(COUNT(Sales Team));", "orders refer to OrderNumber; more than 5 product quantities refer to Order Quantity > 5;", "ratio can be calculated as DIVIDE(MAX(Unit_Cost)), MIN(Unit Cost);", "total order quantity refers to Sum (Order Quantity); 'Candles' is the Products Name; percentage = Divide (Sum(Order Quantity where Product Name = 'Candles'), Sum(Order Quantity)) * 100", "highest discount applied refers to Max(Discount Applied)" ] }
{ "query": "Describe the customer names and product names which had over 3800 USD in net profit.", "pos": [ "over 3800 USD in net profit refers to SUBTRACT(Unit Price, Unit Cost) where Net Profit > 3800;" ], "neg": [ "cities refer to City Name; no water area refers to Water Area = 0;", "order quantity of no less than 5 refers to Order Quantity > 5; shipped in the month of May 2019 refers to ShipDate LIKE '5/%/19'; lowest net profit = Min(Subtract(Unit Price, Unit Cost)); name of product refers to Products Name", "\"Distributor\" is the Sales Channel; minimum quantity refers to Min(Order Quantity)", "shipped from Daly City refers to Store Locations where City Name = 'Daly City'; orders refer to OrderNumber;", "the most number of sales team refers to MAX(COUNT(Sales Team));", "highest unit price refers to Max(Unit Price)", "sale team ID of 18 refers to _SalesTeamID = 18; COUNT(OrderNumber where Sales Channel = 'In-Store') > COUNT(OrderNumber where Sales Channel = 'Online');", "\"Michigan\" is the State", "ordered on 6th June 2018 refers to OrderDate = '6/5/18'", "orders refer to OrderNumber; more than 5 product quantities refer to Order Quantity > 5;" ] }
{ "query": "Please indicate total order quantity of product Candles and calculate the percentage of such product among all the orders.", "pos": [ "total order quantity refers to Sum (Order Quantity); 'Candles' is the Products Name; percentage = Divide (Sum(Order Quantity where Product Name = 'Candles'), Sum(Order Quantity)) * 100" ], "neg": [ "\"Brooklyn\" is the CityName; population of less than 3 million refers to Population < 3000000", "In-Store sales refer to Sales Channel = 'In-Store'; city refers to City Name;", "net profit can be computed as SUBTRACT(Unit Price, Unit Cost); Joshua Bennett is the name of Sales Team;", "\"WARE-UHY1004\" is the WarehouseCode", "order quantity greater than 5 refers to Order Quantity > 5", "\"Elorac, Corp\" is the Customer Names", "order quantity of no less than 5 refers to Order Quantity > 5; shipped in the month of May 2019 refers to ShipDate LIKE '5/%/19'; lowest net profit = Min(Subtract(Unit Price, Unit Cost)); name of product refers to Products Name", "\"California\" is the name of State; in store refers to Sales Channel = 'In-Store'; 20% discount refers to Discount Applied = '0.2'", "Cookware is the name of the product;", "ordered on 6th June 2018 refers to OrderDate = '6/5/18'" ] }
{ "query": "What percentage of sell orders on 04/04/2020 were for the state of New York?", "pos": [ "sales order on 04/04/2020 refers to OrderDate = '4/4/20'; 'New York' is  the City Name; percentage = Divide (Sum(OrderNumber where City Name = 'New York'), Count (OrderNumber)) * 100" ], "neg": [ "unit cost greater than 4000USD refers to Unit Cost > 4000;", "California is a state; CDP stores refer to StoreID where Type = 'CDP';", "\"Elorac, Corp\" is the Customer Names", "total order quantity refers to Sum (Order Quantity); 'Candles' is the Products Name; percentage = Divide (Sum(Order Quantity where Product Name = 'Candles'), Sum(Order Quantity)) * 100", "orders online refer to Sales Channel = 'Online';", "orders refer to OrderNumber; more than 5 product quantities refer to Order Quantity > 5;", "less need for products refers to Order Quantity = 1; purchased through a distributor refers to Sales Channel = 'Distributor'; 'Harri County' is the County", "\"Brooklyn\" is the CityName; population of less than 3 million refers to Population < 3000000", "product refers to Product Name; ordered the most in 2018 refers to MAX(COUNT(OrderNumber)) where SUBSTR(OrderDate, -2) = '18';", "Medsep Group is the name of the customer; orders refer to OrderNumber;" ] }
{ "query": "List out the name of products which have been applied 10% discount.", "pos": [ "applied 10% discount refers to Discount Applied = 0.1;" ], "neg": [ "shipped refers to ShipDate; in 2019 refers to shipped in 2019 refers to SUBSTR(ShipDate, -2) = '19'; order in the said year refers to SUBSTR(OrderDate, -2) = '19'; highest number of order refers to Max(Count(OrderNumber))", "city has the largest population refers to City Name where MAX(Population);", "sales order 'SO - 0005951' refers to OrderNumber = 'SO - 0005951'; product refers to Product Name", "Qualitest ordered the highest product quantity refers to Customer Names where MAX(Order Quantity);", "\"WARE-MKL1006\" is the WarehouseCode; most shipment to region refers to Max(Count(Region))", "Rochester Ltd is the name of the customer; orders refer to OrderNumber;", "\"California\" is the name of State; in store refers to Sales Channel = 'In-Store'; 20% discount refers to Discount Applied = '0.2'", "over 3800 USD in net profit refers to SUBTRACT(Unit Price, Unit Cost) where Net Profit > 3800;", "Medline is the name of the customer; DIVIDE(COUNT(OrderNumber where Sales Channel = 'In-Store' and Customer Names = 'Medline'), COUNT(OrderNumber where Customer Names = 'Medline')) as percentage;", "\"WARE-UHY1004\" is the WarehouseCode" ] }
{ "query": "Name the sales team name who had orders with the greatest net profit in 2020.", "pos": [ "net profit can be computed as SUBTRACT(Unit Price, Unit Cost); the greatest net profit in 2020 refers to MAX(net profit) where OrderDate LIKE '%/20';" ], "neg": [ "cities refer to City Name; no water area refers to Water Area = 0;", "\"Elorac, Corp\" is the Customer Names", "In-Store sales refer to Sales Channel = 'In-Store'; city refers to City Name;", "\"Chandler\" is the City Name; orders refers to OrderDate; in 2020 refers to Substr(OrderDate, -2) = '20'", "product refers to Product Name; ordered the most in 2018 refers to MAX(COUNT(OrderNumber)) where SUBSTR(OrderDate, -2) = '18';", "\"Weimei Corp\" is the Customer Names; in 2018, 2019 and 2020 refers to SUBSTR (OrderDate, -2) IN ('18', '19', '20') : Average order = Divide (Count (OrderNumber), 3)", "\"Midwest\" is the Region", "net profit can be computed as SUBTRACT(Unit Price, Unit Cost); highest median income city refers to City Name where MAX(Median Income);", "all the orders from WARE-NMK1003 refer to OrderNumber where WarehouseCode = 'WARE-NMK1003'; product refers to Product Name;", "net profit can be computed as SUBTRACT(Unit Price, Unit Cost); AVG(net profit) where Product Name = 'Bakeware';" ] }
{ "query": "Find the average yearly order by customer Weimei Corp for 2018, 2019 and 2020.", "pos": [ "\"Weimei Corp\" is the Customer Names; in 2018, 2019 and 2020 refers to SUBSTR (OrderDate, -2) IN ('18', '19', '20') : Average order = Divide (Count (OrderNumber), 3)" ], "neg": [ "Medline is the name of the customer; DIVIDE(COUNT(OrderNumber where Sales Channel = 'In-Store' and Customer Names = 'Medline'), COUNT(OrderNumber where Customer Names = 'Medline')) as percentage;", "products refers to Product Name; via wholesale channel refers to Sales Channel = 'Wholesale'", "net profit can be computed as SUBTRACT(Unit Price, Unit Cost); AVG(net profit) where Product Name = 'Phones' and Sales Channel = 'Distributor';", "Latitude and Longitude coordinates can be used to identify the detailed position of stores; store refers to StoreID WHERE OrderNumber = 'SO - 000115';", "\"Distributor\" is the Sales Channel; minimum quantity refers to Min(Order Quantity)", "city has the largest population refers to City Name where MAX(Population);", "unit cost greater than 4000USD refers to Unit Cost > 4000;", "COUNT(OrderNumber where Product Name = 'Platters') > COUNT(OrderNumber where Product Name = 'Serveware');", "sale team ID of 18 refers to _SalesTeamID = 18; COUNT(OrderNumber where Sales Channel = 'In-Store') > COUNT(OrderNumber where Sales Channel = 'Online');", "name containing the word 'Group' refers to Customer Names LIKE '%Group%';" ] }
{ "query": "To which region does the sales team that has used the WARE-MKL1006 warehouse the most times for its shipments belong?", "pos": [ "\"WARE-MKL1006\" is the WarehouseCode; most shipment to region refers to Max(Count(Region))" ], "neg": [ "sale team names refer to Sales Team; the least orders in 2019 refer to MIN(COUNT(OrderNumber where SUBSTR(OrderDate, -2) = '19'));", "COUNT(StoreID) < COUNT(StoreID where Type = 'Borough') < COUNT(StoreID where Type = 'CDP');", "Latitude and Longitude coordinates can be used to identify the detailed position of stores; id refers to StoreID;", "net profit can be computed as SUBTRACT(Unit Price, Unit Cost); Joshua Bennett is the name of Sales Team;", "less need for products refers to Order Quantity = 1; purchased through a distributor refers to Sales Channel = 'Distributor'; 'Harri County' is the County", "net profit can be computed as SUBTRACT(Unit Price, Unit Cost); AVG(net profit) where Product Name = 'Phones' and Sales Channel = 'Distributor';", "orders online refer to Sales Channel = 'Online';", "\"California\" is the name of State; in store refers to Sales Channel = 'In-Store'; 20% discount refers to Discount Applied = '0.2'", "California is a state; CDP stores refer to StoreID where Type = 'CDP';", "in the South refers to Region = 'South'; type of store that is most popular refers to Max(Count(Type))" ] }
{ "query": "How many orders made by Rochester Ltd?", "pos": [ "Rochester Ltd is the name of the customer; orders refer to OrderNumber;" ], "neg": [ "\"Joshua Bennett\" is the name of Sales Team", "detailed coordinates refers to Latitude, Longitude; highest net profit = Max(Subtract(Unit Price, Unit Cost))", "sale team names refer to Sales Team; the least orders in 2019 refer to MIN(COUNT(OrderNumber where SUBSTR(OrderDate, -2) = '19'));", "floral product refers to Product Name = 'Floral'; total net profit = SUM(Subtract(Unit Price, Unit Cost)); delivered in 2021 refers to DeliveryDate LIKE '%/21'", "unit cost greater than 4000USD refers to Unit Cost > 4000;", "Ole Group is the name of the customer; discount levels applied refer to Discount Applied NOT NULL;", "over 3800 USD in net profit refers to SUBTRACT(Unit Price, Unit Cost) where Net Profit > 3800;", "name of customer refers to Customer Names; from 2018 to 2020 refers to OrderDate between '1/1/2018' and '31/12/2020'; most number of order quantity refers to Order Quantity = 8", "COUNT(OrderNumber where Product Name = 'Platters') > COUNT(OrderNumber where Product Name = 'Serveware');", "Cookware is the name of the product;" ] }
{ "query": "What is the type of store located in the city with the highest amount of water area?", "pos": [ "type of store in City refers to Type = 'City'; highest amount of water area refers to Max(Water Area)" ], "neg": [ "net profit can be computed as SUBTRACT(Unit Price, Unit Cost); AVG(net profit) where Product Name = 'Bakeware';", "\"Arizona\" is the name of State; most net profit = Max(Subtract( Unit Price, Unit Cost))", "total orders of over 3 in 2018 refer to COUNT(OrderNumber) > 3 where SUBSTR(OrderDate, -2) = '18';", "sale team ID of 18 refers to _SalesTeamID = 18; COUNT(OrderNumber where Sales Channel = 'In-Store') > COUNT(OrderNumber where Sales Channel = 'Online');", "average household income = Divide (Sum(Household Income), Count(City Name)); highest number of store refers to Max(Count(StoreID))", "applied 10% discount refers to Discount Applied = 0.1;", "products refers to Product Name; via wholesale channel refers to Sales Channel = 'Wholesale'", "the lowest unit price refers to MIN(Unit Price);", "unit cost greater than 4000USD refers to Unit Cost > 4000;", "shipped refers to ShipDate; in 2019 refers to shipped in 2019 refers to SUBSTR(ShipDate, -2) = '19'; order in the said year refers to SUBSTR(OrderDate, -2) = '19'; highest number of order refers to Max(Count(OrderNumber))" ] }
{ "query": "Which sales channel was most preferred in commercializing products in January 2020 based on the number of orders placed?", "pos": [ "order refers to OrderDate; in 2020 refers to Substr(OrderDate, -2) = '20'; January refers to Substr(OrderDate, 1, 1) = '1';  most preferred sales channel refers to Sales Channel where Max(Count(OrderNumber))" ], "neg": [ "unit cost greater than 4000USD refers to Unit Cost > 4000;", "orders online refer to Sales Channel = 'Online';", "average household income = Divide (Sum(Household Income), Count(City Name)); highest number of store refers to Max(Count(StoreID))", "most populous country refers to Max(Population)", "floral product refers to Product Name = 'Floral'; total net profit = SUM(Subtract(Unit Price, Unit Cost)); delivered in 2021 refers to DeliveryDate LIKE '%/21'", "\"Weimei Corp\" is the Customer Names; in 2018, 2019 and 2020 refers to SUBSTR (OrderDate, -2) IN ('18', '19', '20') : Average order = Divide (Count (OrderNumber), 3)", "highest unit price refers to Max(Unit Price)", "40% discount refers to Discount Applied = 0.4; in-store channel refers to Sales Channel = 'In-Store'; orders refer to OrderNumber;", "most populated refers to Max(Population);", "\"WARE-MKL1006\" is the WarehouseCode; most shipment to region refers to Max(Count(Region))" ] }
{ "query": "Calculate the percentage of order via in-store channel of customer \"Medline\".", "pos": [ "Medline is the name of the customer; DIVIDE(COUNT(OrderNumber where Sales Channel = 'In-Store' and Customer Names = 'Medline'), COUNT(OrderNumber where Customer Names = 'Medline')) as percentage;" ], "neg": [ "type of store in City refers to Type = 'City'; highest amount of water area refers to Max(Water Area)", "highest net profit = Max(Subtract (Unit Price, Unit Cost)); name of product refers to Product Name", "Cookware is the name of the product;", "floral product refers to Product Name = 'Floral'; total net profit = SUM(Subtract(Unit Price, Unit Cost)); delivered in 2021 refers to DeliveryDate LIKE '%/21'", "AVG(Unit Price where Product Name = 'Cookware');", "most populous country refers to Max(Population)", "\"WARE-UHY1004\" is the WarehouseCode", "\"Chandler\" is the City Name; orders refers to OrderDate; in 2020 refers to Substr(OrderDate, -2) = '20'", "Ole Group is the name of the customer; discount levels applied refer to Discount Applied NOT NULL;", "the least sold product refers to Product Name where MIN(Order Quantity);" ] }
{ "query": "List all the numbers ordered by 'Rochester Ltd' in 2018.", "pos": [ "Rochester Ltd is the name of the customer; all the numbers ordered refer to OrderNumber; 2018 refers to SUBSTR(OrderDate, -2) = '18';" ], "neg": [ "cities refer to City Name; no water area refers to Water Area = 0;", "ratio can be calculated as DIVIDE(MAX(Unit_Cost)), MIN(Unit Cost);", "average household income = Divide (Sum(Household Income), Count(City Name)); highest number of store refers to Max(Count(StoreID))", "name of customer refers to Customer Names; from 2018 to 2020 refers to OrderDate between '1/1/2018' and '31/12/2020'; most number of order quantity refers to Order Quantity = 8", "\"Distributor\" is the Sales Channel; minimum quantity refers to Min(Order Quantity)", "Latitude and Longitude coordinates can be used to identify the detailed position of stores; store refers to StoreID WHERE OrderNumber = 'SO - 000115';", "COUNT(OrderNumber where Product Name = 'Platters') > COUNT(OrderNumber where Product Name = 'Serveware');", "highest net profit refers to Max(Subtract(Unit Price, Unit Cost)); name of product refers to Product Name", "WARE-PUJ1005 is the WarehouseCode; fewest times refers to Min (Count(WarehouseCode))", "Ole Group is the name of the customer; discount levels applied refer to Discount Applied NOT NULL;" ] }
{ "query": "How many sales orders were processed by the store located in Chandler in 2020?", "pos": [ "\"Chandler\" is the City Name; orders refers to OrderDate; in 2020 refers to Substr(OrderDate, -2) = '20'" ], "neg": [ "net profit can be computed as SUBTRACT(Unit Price, Unit Cost); AVG(net profit) where Product Name = 'Bakeware';", "Ole Group is the name of the customer; discount levels applied refer to Discount Applied NOT NULL;", "In-Store sales refer to Sales Channel = 'In-Store'; city refers to City Name;", "shipped from Daly City refers to Store Locations where City Name = 'Daly City'; orders refer to OrderNumber;", "ordered on 6th June 2018 refers to OrderDate = '6/5/18'", "total orders of over 3 in 2018 refer to COUNT(OrderNumber) > 3 where SUBSTR(OrderDate, -2) = '18';", "type of store in City refers to Type = 'City'; highest amount of water area refers to Max(Water Area)", "Medsep Group is the name of the customer; orders refer to OrderNumber;", "George Lewis refers to Sales Team; the highest number of orders refers to MAX(COUNT(OrderNumber)); which year from 2018 to 2020 refers to SUBSTR(OrderDate, -2) IN ('18', '19', '20') GROUP BY SUBSTR(OrderDate, -2);", "order quantity of no less than 5 refers to Order Quantity > 5; shipped in the month of May 2019 refers to ShipDate LIKE '5/%/19'; lowest net profit = Min(Subtract(Unit Price, Unit Cost)); name of product refers to Products Name" ] }
{ "query": "Calculate the average net profit of bar tools which has ordered quantity exceed 5.", "pos": [ "net profit can be computed as SUBTRACT(Unit Price, Unit Cost); AVG(net profit) where Product Name = 'Bar Tools' and Order Quantity > 5;" ], "neg": [ "Product Name = 'Baseball'; December 2017 refers to OrderDate LIKE '12/%/17';", "\"Arizona\" is the name of State; most net profit = Max(Subtract( Unit Price, Unit Cost))", "applied 10% discount refers to Discount Applied = 0.1;", "\"Joshua Bennett\" is the name of Sales Team", "over 3800 USD in net profit refers to SUBTRACT(Unit Price, Unit Cost) where Net Profit > 3800;", "order quantity greater than 5 refers to Order Quantity > 5", "the highest unit price refers to MAX(Unit Price);", "the most number of sales team refers to MAX(COUNT(Sales Team));", "ordered on 6th June 2018 refers to OrderDate = '6/5/18'", "highest net profit refers to Max(Subtract(Unit Price, Unit Cost)); name of product refers to Product Name" ] }
{ "query": "How many restaurants in the city of Richmond serve Mediterranean food?", "pos": [ "Mediterranean food refers to food_type =   'mediterranean'" ], "neg": [ "Irving Street refers to street_name = 'irving'", "11th Street refers to street_name = '11th street'; Oakland refers to city = 'oakland'; ID number of restaurant refers to id_restaurant\n\n", "Bay Area refers to region = 'bay area'", "northern California refers to region = 'northern california'; the highest number of cities refers to max(count(city))", "430 Broadway refers to street_num = 430 and street_name = 'Broadway'", "street named 11th Street refers to street_name = '11th st'; percentage = divide(count(street_name = '11th st' and County = 'alameda county'), count(street_name where County = 'alameda county')) * 100%", "restaurant refers to label; European food refers to food_type = 'european'", "full address refers to city, street_num, street_name; restaurant named \"Sanuki Restaurant\" refers to label = 'sanuki restaurant'", "more than 4 star review refers to review > 4", "full address = street_num, street_name, city; Albert's Café refers to label = 'Albert's Café'" ] }
{ "query": "In which counties are there A&W Root Beer Restaurants?", "pos": [ "A&W Root Beer Restaurant refers to label = 'a & w root beer'" ], "neg": [ "Broadway refers to street_name = 'broadway';  Oakland refers to city = 'oakland'; a review of no more than 3 refers to review < 3", "a street called Appian Way refers to street_name = 'appian way'", "chicken restaurant refers to food_type = 'chicken'; the highest review refers to max(review)", "indian restaurant refers to food_type = 'indian'; Castro St. refers to street_name = 'castro st'; Mountainview refers to city = 'mountainview'; have the word \"Indian\" in label refers to label = 'indian'", "street number below 1000 refers to street_num < 1000; Railroad St. refers to street_name = 'railroad'", "full address = street_num, street_name, city; Albert's Café refers to label = 'Albert's Café'", "no African food restaurants refers to food_type <> 'african'", "street refers to street_name; the most restaurants refers to max(count(street_name))", "11th Street refers to street_name = '11th street'; Oakland refers to city = 'oakland'; ID number of restaurant refers to id_restaurant\n\n", "winery refers to food_type = 'winery'; street number refers to street_num; \"Tulocay Winery\" refers to label = 'Tulocay winery'" ] }
{ "query": "Please list any five cities that have an unidentified county and region.", "pos": [ "unidentified county and region refers to county = 'unknown' AND region = 'unknown'" ], "neg": [ "winery refers to food_type = 'winery'; street number refers to street_num; \"Tulocay Winery\" refers to label = 'Tulocay winery'", "not in the Bay Area region refers to region ! = 'bay area'", "Mediterranean food refers to food_type =   'mediterranean'", "Bay Area refers to region = 'bay area'", "430 Broadway refers to street_num = 430 and street_name = 'Broadway'", "the most popular refers to max(review); restaurant refers to label; San Francisco refers to city = 'San Francisco'", "street E. El Camino Real refers to street_name = 'E. El Camino Real'", "the most popular refers to max(review); Asian food refers to food_type = 'asian'; San Francisco refers to city = 'san francisco'", "northern California refers to region = 'northern california'; the highest number of cities refers to max(count(city))", "Plearn-Thai Cuisine restaurant refers to label = 'plearn-thai cuisine'" ] }
{ "query": "How many restaurants in Broadway, Oakland received a review of no more than 3?", "pos": [ "Broadway refers to street_name = 'broadway';  Oakland refers to city = 'oakland'; a review of no more than 3 refers to review < 3" ], "neg": [ "no African food restaurants refers to food_type <> 'african'", "full address refers to city, street_num, street_name; restaurant named \"Sanuki Restaurant\" refers to label = 'sanuki restaurant'", "1149 El Camino Real refers to street_num = 1149 and street_name = 'el camino real'", "Mediterranean food refers to food_type =   'mediterranean'", "a street called Appian Way refers to street_name = 'appian way'", "Atlantic Ave refers to street_name = 'atlantic ave'; rating refers to review", "Mexican food refers to food_type = 'mexican'; percentage = divide(count(id_restaurant where food_type = 'mexican'), count(id_restaurant)) where county = 'monterey county' * 100%", "Northern California refers to region = 'northern california'", "430 Broadway refers to street_num = 430 and street_name = 'Broadway'", "Chinese restaurant refers to food_type = 'chinese'; average review refers to divide(sum(review), count(review))" ] }
{ "query": "What is the region of 1149 El Camino Real?", "pos": [ "1149 El Camino Real refers to street_num = 1149 and street_name = 'el camino real'" ], "neg": [ "restaurant refers to label; \"19th St. Oakland\" refers to street_name = '19th St' AND city = 'Oakland'", "unknown county refers to county = 'unknown'", "street refers to street_name; Good Heavens restaurant refers to label = 'good heavens'", "top-reviewed refers to review = 4; type of food refers to food_type\n\n", "no Bakers Square Restaurant & Pie Shop refers to label <> 'bakers square restaurant & pie shop'", "restaurant refers to label; European food refers to food_type = 'european'", "type refers to food_type; most common refers to max(count(food_type))", "no pizza restaurants refers to food_type = 'pizza'", "9th Avenue refers to street_name = '9th avenue'; San Francisco refers to City = 'san francisco'", "Bay Area refers to region = 'bay area'" ] }
{ "query": "What are the most popular restaurants in San Francisco among diners?", "pos": [ "the most popular refers to max(review); restaurant refers to label; San Francisco refers to city = 'San Francisco'" ], "neg": [ "no Bakers Square Restaurant & Pie Shop refers to label <> 'bakers square restaurant & pie shop'", "street refers to street_name; more than 10 restaurants refers to count(id_restaurant) > 10", "restaurant address refers to street_num, street_name; unknown region refers to region = 'unknown'", "winery refers to food_type = 'winery'; street number refers to street_num; \"Tulocay Winery\" refers to label = 'Tulocay winery'", "full address refers to street_num, street_name, city; American restaurant refers to food_type = 'american'; a review of 4 or more refers to review > 4", "Mediterranean food refers to food_type =   'mediterranean'", "Greek restaurant refers to food_type = 'greek'", "Bay Area refers to region = 'bay area'; percentage = divide(count(id_restaurant where region = 'bay area'), count(id_restaurant)) * 100%", "Northern California refers to region = 'northern california'", "street refers to street_name; review of 1.7 refers to review = 1.7" ] }
{ "query": "Which region has the highest number of restaurants?", "pos": [ "the highest number refers to max(count(id_restaurant))" ], "neg": [ "Italian food refers to food_type = 'Italian'", "street refers to street_name; Good Heavens restaurant refers to label = 'good heavens'", "street number ranges from 1000 to 2000 refers to 1000 < = street_num < = 2000; Afghani restaurant refers to food_type = 'afghani'; percentage = divide(count(id_restaurant where food_type = 'afghani'), count(id_restaurant)) * 100%", "Irving Street refers to street_name = 'irving'", "full address refers to street_num, street_name, city; American restaurant refers to food_type = 'american'; a review of 4 or more refers to review > 4", "not in the Bay Area region refers to region ! = 'bay area'", "9th Avenue refers to street_name = '9th avenue'; San Francisco refers to City = 'san francisco'", "the top 4 most popular restaurant refers to top 4 max(review)", "street named 11th Street refers to street_name = '11th st'; percentage = divide(count(street_name = '11th st' and County = 'alameda county'), count(street_name where County = 'alameda county')) * 100%", "no African food restaurants refers to food_type <> 'african'" ] }
{ "query": "Among all indian restaurants in Castro St., Mountainview, how many of them is about cookhouse in their label?", "pos": [ "indian restaurant refers to food_type = 'indian'; Castro St. refers to street_name = 'castro st'; Mountainview refers to city = 'mountainview'; have the word \"Indian\" in label refers to label = 'indian'" ], "neg": [ "no African food restaurants refers to food_type <> 'african'", "street refers to street_name; more than 10 restaurants refers to count(id_restaurant) > 10", "street number below 1000 refers to street_num < 1000; Railroad St. refers to street_name = 'railroad'", "Italian food refers to food_type = 'Italian'", "Atlantic Ave refers to street_name = 'atlantic ave'; rating refers to review", "the most popular refers to max(review); restaurant refers to label; San Francisco refers to city = 'San Francisco'", "11th Street refers to street_name = '11th street'; Oakland refers to city = 'oakland'; ID number of restaurant refers to id_restaurant\n\n", "have not obtained a minimum of 3 in review refers to review < 3", "street refers to street_name; review of 1.7 refers to review = 1.7", "chicken restaurant refers to food_type = 'chicken'; the highest review refers to max(review)" ] }
{ "query": "What percentage of streets named 11th Street are in Alameda County?", "pos": [ "street named 11th Street refers to street_name = '11th st'; percentage = divide(count(street_name = '11th st' and County = 'alameda county'), count(street_name where County = 'alameda county')) * 100%" ], "neg": [ "kind of restaurant refers to food_type; \"106 E 25th Ave\" refers to street_name = 'e 25th ave'", "Bay Area refers to region = 'bay area'; percentage = divide(count(id_restaurant where region = 'bay area'), count(id_restaurant)) * 100%", "name refers to label; 24 hour diner refers to food_type = '24 hour diner'; San Francisco refers to city = 'san francisco'", "Mediterranean food refers to food_type =   'mediterranean'", "9th Avenue refers to street_name = '9th avenue'; San Francisco refers to City = 'san francisco'", "asian restaurant refers to food_type = 'asian'; N. Milpitas Blvd. refers to street_name = 'n milpitas blvd'; Milpitas refers to city = 'milpitas'; restaurant ID greater than 385 refers to id_restaurant > 385", "A&W Root Beer Restaurant refers to label = 'a & w root beer'", "1149 El Camino Real refers to street_num = 1149 and street_name = 'el camino real'", "Bay Area refers to region = 'bay area'", "have not obtained a minimum of 3 in review refers to review < 3" ] }
{ "query": "Give the street number of a bar in Oakland with a 2.7 review.", "pos": [ "street number refers to street_num; bar refers to food_type = 'bar'; Oakland refers to city = 'oakland'; 2.7 review refers to review = 2.7" ], "neg": [ "no pizza restaurants refers to food_type = 'pizza'", "11th Street refers to street_name = '11th street'; Oakland refers to city = 'oakland'; ID number of restaurant refers to id_restaurant\n\n", "the highest number refers to max(count(id_restaurant))", "Mexican food refers to food_type = 'mexican'; percentage = divide(count(id_restaurant where food_type = 'mexican'), count(id_restaurant)) where county = 'monterey county' * 100%", "winery refers to food_type = 'winery'; street number refers to street_num; \"Tulocay Winery\" refers to label = 'Tulocay winery'", "street named 11th Street refers to street_name = '11th st'; percentage = divide(count(street_name = '11th st' and County = 'alameda county'), count(street_name where County = 'alameda county')) * 100%", "street E. El Camino Real refers to street_name = 'E. El Camino Real'", "full address refers to street_num, street_name, city; American restaurant refers to food_type = 'american'; a review of 4 or more refers to review > 4", "Broadway refers to street_name = 'broadway';  Oakland refers to city = 'oakland'; a review of no more than 3 refers to review < 3", "full address refers to city, street_num, street_name; restaurant named \"Sanuki Restaurant\" refers to label = 'sanuki restaurant'" ] }
{ "query": "How many restaurants have more than 4 star reviews?", "pos": [ "more than 4 star review refers to review > 4" ], "neg": [ "no pizza restaurants refers to food_type = 'pizza'", "unknown county refers to county = 'unknown'", "American Food Restaurant refers to food_type = 'ameraican'; unpopular refers to min(review); Carmel refers to city = 'Carmel'", "asian restaurant refers to food_type = 'asian'; N. Milpitas Blvd. refers to street_name = 'n milpitas blvd'; Milpitas refers to city = 'milpitas'; restaurant ID greater than 385 refers to id_restaurant > 385", "street named 11th Street refers to street_name = '11th st'; percentage = divide(count(street_name = '11th st' and County = 'alameda county'), count(street_name where County = 'alameda county')) * 100%", "full address = street_num, street_name, city; Albert's Café refers to label = 'Albert's Café'", "430 Broadway refers to street_num = 430 and street_name = 'Broadway'", "Bay Area refers to region = 'bay area'; percentage = divide(count(id_restaurant where region = 'bay area'), count(id_restaurant)) * 100%", "restaurant refers to label; \"19th St. Oakland\" refers to street_name = '19th St' AND city = 'Oakland'", "street refers to street_name; more than 10 restaurants refers to count(id_restaurant) > 10" ] }
{ "query": "How many American food restaurants are unpopular in Carmel?", "pos": [ "American Food Restaurant refers to food_type = 'ameraican'; unpopular refers to min(review); Carmel refers to city = 'Carmel'" ], "neg": [ "Bay Area refers to region = 'bay area'; Santa Clara refers to county = 'santa clara county'", "full address refers to street_num, street_name, city; American restaurant refers to food_type = 'american'; a review of 4 or more refers to review > 4", "11th Street refers to street_name = '11th street'; Oakland refers to city = 'oakland'; ID number of restaurant refers to id_restaurant\n\n", "full address = street_num, street_name, city; Albert's Café refers to label = 'Albert's Café'", "a street called Appian Way refers to street_name = 'appian way'", "have not obtained a minimum of 3 in review refers to review < 3", "Chinese restaurant refers to food_type = 'chinese'; average review refers to divide(sum(review), count(review))", "Broadway refers to street_name = 'broadway';  Oakland refers to city = 'oakland'; a review of no more than 3 refers to review < 3", "the most popular refers to max(review); Asian food refers to food_type = 'asian'; San Francisco refers to city = 'san francisco'", "restaurant refers to label; Park St refers to street_name = 'park st'" ] }
{ "query": "What cities are located in Northern California?", "pos": [ "Northern California refers to region = 'northern california'" ], "neg": [ "Adeline Street refers to street_name = 'adeline st'; type of food refers to food_type\n\n", "kind of restaurant refers to food_type; \"106 E 25th Ave\" refers to street_name = 'e 25th ave'", "Broadway refers to street_name = 'broadway';  Oakland refers to city = 'oakland'; a review of no more than 3 refers to review < 3", "Greek restaurant refers to food_type = 'greek'", "Mediterranean food refers to food_type =   'mediterranean'", "not in the Bay Area region refers to region ! = 'bay area'", "9th Avenue refers to street_name = '9th avenue'; San Francisco refers to City = 'san francisco'", "northern California refers to region = 'northern california'; the highest number of cities refers to max(count(city))", "indian restaurant refers to food_type = 'indian'; Castro St. refers to street_name = 'castro st'; Mountainview refers to city = 'mountainview'; have the word \"Indian\" in label refers to label = 'indian'", "street refers to street_name; the most restaurants refers to max(count(street_name))" ] }
{ "query": "What percentage of restaurants in Monterey County have Mexican food?", "pos": [ "Mexican food refers to food_type = 'mexican'; percentage = divide(count(id_restaurant where food_type = 'mexican'), count(id_restaurant)) where county = 'monterey county' * 100%" ], "neg": [ "street refers to street_name; more than 10 restaurants refers to count(id_restaurant) > 10", "chicken restaurant refers to food_type = 'chicken'; the highest review refers to max(review)", "Atlantic Ave refers to street_name = 'atlantic ave'; rating refers to review", "the highest number refers to max(count(id_restaurant))", "11th Street refers to street_name = '11th street'; Oakland refers to city = 'oakland'; ID number of restaurant refers to id_restaurant\n\n", "asian restaurant refers to food_type = 'asian'; N. Milpitas Blvd. refers to street_name = 'n milpitas blvd'; Milpitas refers to city = 'milpitas'; restaurant ID greater than 385 refers to id_restaurant > 385", "Italian food refers to food_type = 'Italian'", "street refers to street_name; the most restaurants refers to max(count(street_name))", "full address refers to street_num, street_name, city; American restaurant refers to food_type = 'american'; a review of 4 or more refers to review > 4", "no African food restaurants refers to food_type <> 'african'" ] }
{ "query": "In which regions are there no African food restaurants?", "pos": [ "no African food restaurants refers to food_type <> 'african'" ], "neg": [ "1149 El Camino Real refers to street_num = 1149 and street_name = 'el camino real'", "the most popular refers to max(review); restaurant refers to label; San Francisco refers to city = 'San Francisco'", "more than 4 star review refers to review > 4", "Plearn-Thai Cuisine restaurant refers to label = 'plearn-thai cuisine'", "chicken restaurant refers to food_type = 'chicken'; the highest review refers to max(review)", "Chinese restaurant refers to food_type = 'chinese'; average review refers to divide(sum(review), count(review))", "Mediterranean food refers to food_type =   'mediterranean'", "restaurant address refers to street_num, street_name; unknown region refers to region = 'unknown'", "Adeline Street refers to street_name = 'adeline st'; type of food refers to food_type\n\n", "kind of restaurant refers to food_type; \"106 E 25th Ave\" refers to street_name = 'e 25th ave'" ] }
{ "query": "At what numbers on 9th Avenue of San Francisco there are restaurants?", "pos": [ "9th Avenue refers to street_name = '9th avenue'; San Francisco refers to City = 'san francisco'" ], "neg": [ "indian restaurant refers to food_type = 'indian'; Castro St. refers to street_name = 'castro st'; Mountainview refers to city = 'mountainview'; have the word \"Indian\" in label refers to label = 'indian'", "street refers to street_name; Good Heavens restaurant refers to label = 'good heavens'", "Plearn-Thai Cuisine restaurant refers to label = 'plearn-thai cuisine'", "have not obtained a minimum of 3 in review refers to review < 3", "Northern California refers to region = 'northern california'", "Atlantic Ave refers to street_name = 'atlantic ave'; rating refers to review", "11th Street refers to street_name = '11th street'; Oakland refers to city = 'oakland'; ID number of restaurant refers to id_restaurant\n\n", "full address refers to street_num, street_name, city; American restaurant refers to food_type = 'american'; a review of 4 or more refers to review > 4", "restaurant refers to label; European food refers to food_type = 'european'", "street E. El Camino Real refers to street_name = 'E. El Camino Real'" ] }
{ "query": "Please list all of the restaurants that serve European food.", "pos": [ "restaurant refers to label; European food refers to food_type = 'european'" ], "neg": [ "indian restaurant refers to food_type = 'indian'; Castro St. refers to street_name = 'castro st'; Mountainview refers to city = 'mountainview'; have the word \"Indian\" in label refers to label = 'indian'", "Bay Area refers to region = 'bay area'; percentage = divide(count(id_restaurant where region = 'bay area'), count(id_restaurant)) * 100%", "Italian food refers to food_type = 'Italian'", "430 Broadway refers to street_num = 430 and street_name = 'Broadway'", "the most popular refers to max(review); restaurant refers to label; San Francisco refers to city = 'San Francisco'", "no African food restaurants refers to food_type <> 'african'", "Bay Area refers to region = 'bay area'; Santa Clara refers to county = 'santa clara county'", "the top 4 most popular restaurant refers to top 4 max(review)", "Chinese restaurant refers to food_type = 'chinese'; average review refers to divide(sum(review), count(review))", "street refers to street_name; Good Heavens restaurant refers to label = 'good heavens'" ] }
{ "query": "Among the restaurants on street number below 1000, how many of them are in Railroad St.?", "pos": [ "street number below 1000 refers to street_num < 1000; Railroad St. refers to street_name = 'railroad'" ], "neg": [ "Indian restaurant refers to food_type = 'indian'; the Los Angeles area refers to region = 'los angeles area'", "street refers to street_name; Good Heavens restaurant refers to label = 'good heavens'", "winery refers to food_type = 'winery'; street number refers to street_num; \"Tulocay Winery\" refers to label = 'Tulocay winery'", "no Bakers Square Restaurant & Pie Shop refers to label <> 'bakers square restaurant & pie shop'", "full address = street_num, street_name, city; Albert's Café refers to label = 'Albert's Café'", "restaurant address refers to street_num, street_name; unknown region refers to region = 'unknown'", "restaurant refers to label; \"19th St. Oakland\" refers to street_name = '19th St' AND city = 'Oakland'", "Ocean St. refers to street_name = 'ocean st'; Santa Cruz refers to city = 'santa cruz'", "Northern California refers to region = 'northern california'", "indian restaurant refers to food_type = 'indian'; Castro St. refers to street_name = 'castro st'; Mountainview refers to city = 'mountainview'; have the word \"Indian\" in label refers to label = 'indian'" ] }
{ "query": "Among the listed winery, what is the street number of the winery named \"Tulocay Winery\"?", "pos": [ "winery refers to food_type = 'winery'; street number refers to street_num; \"Tulocay Winery\" refers to label = 'Tulocay winery'" ], "neg": [ "Italian food refers to food_type = 'Italian'", "American Food Restaurant refers to food_type = 'ameraican'; unpopular refers to min(review); Carmel refers to city = 'Carmel'", "Northern California refers to region = 'northern california'", "11th Street refers to street_name = '11th street'; Oakland refers to city = 'oakland'; ID number of restaurant refers to id_restaurant\n\n", "El Cerrito refers to city = 'el cerrito'", "more than 4 star review refers to review > 4", "A&W Root Beer Restaurant refers to label = 'a & w root beer'", "1149 El Camino Real refers to street_num = 1149 and street_name = 'el camino real'", "Mexican food refers to food_type = 'mexican'; percentage = divide(count(id_restaurant where food_type = 'mexican'), count(id_restaurant)) where county = 'monterey county' * 100%", "street refers to street_name; Good Heavens restaurant refers to label = 'good heavens'" ] }
{ "query": "Among all asian restaurants in N. Milpitas Blvd., Milpitas, how many of them have restaurant ID greater than 385?", "pos": [ "asian restaurant refers to food_type = 'asian'; N. Milpitas Blvd. refers to street_name = 'n milpitas blvd'; Milpitas refers to city = 'milpitas'; restaurant ID greater than 385 refers to id_restaurant > 385" ], "neg": [ "full address = street_num, street_name, city; Albert's Café refers to label = 'Albert's Café'", "no pizza restaurants refers to food_type = 'pizza'", "full address refers to street_num, street_name, city; American restaurant refers to food_type = 'american'; a review of 4 or more refers to review > 4", "9th Avenue refers to street_name = '9th avenue'; San Francisco refers to City = 'san francisco'", "Chinese restaurant refers to food_type = 'chinese'; average review refers to divide(sum(review), count(review))", "street named 11th Street refers to street_name = '11th st'; percentage = divide(count(street_name = '11th st' and County = 'alameda county'), count(street_name where County = 'alameda county')) * 100%", "unknown county refers to county = 'unknown'", "the top 4 most popular restaurant refers to top 4 max(review)", "street refers to street_name; review of 1.7 refers to review = 1.7", "street E. El Camino Real refers to street_name = 'E. El Camino Real'" ] }
{ "query": "On what street in Tuolumne County is Good Heavens restaurant located?", "pos": [ "street refers to street_name; Good Heavens restaurant refers to label = 'good heavens'" ], "neg": [ "more than 4 star review refers to review > 4", "the most popular refers to max(review); restaurant refers to label; San Francisco refers to city = 'San Francisco'", "chicken restaurant refers to food_type = 'chicken'; the highest review refers to max(review)", "the most popular refers to max(review); Asian food refers to food_type = 'asian'; San Francisco refers to city = 'san francisco'", "9th Avenue refers to street_name = '9th avenue'; San Francisco refers to City = 'san francisco'", "430 Broadway refers to street_num = 430 and street_name = 'Broadway'", "Mexican food refers to food_type = 'mexican'; percentage = divide(count(id_restaurant where food_type = 'mexican'), count(id_restaurant)) where county = 'monterey county' * 100%", "3140 Alpine Road at San Mateo County refers to street_num = 3140 AND street_name = 'alpine rd' AND County = 'san mateo county'; type of food refers to food_type", "restaurant refers to label; European food refers to food_type = 'european'", "Mediterranean food refers to food_type =   'mediterranean'" ] }
{ "query": "What type of food is there in the restaurants on Adeline Street in Berkeley city?", "pos": [ "Adeline Street refers to street_name = 'adeline st'; type of food refers to food_type\n\n" ], "neg": [ "street number below 1000 refers to street_num < 1000; Railroad St. refers to street_name = 'railroad'", "3140 Alpine Road at San Mateo County refers to street_num = 3140 AND street_name = 'alpine rd' AND County = 'san mateo county'; type of food refers to food_type", "no Bakers Square Restaurant & Pie Shop refers to label <> 'bakers square restaurant & pie shop'", "full address refers to city, street_num, street_name; restaurant named \"Sanuki Restaurant\" refers to label = 'sanuki restaurant'", "Bay Area refers to region = 'bay area'", "9th Avenue refers to street_name = '9th avenue'; San Francisco refers to City = 'san francisco'", "Chinese restaurant refers to food_type = 'chinese'; average review refers to divide(sum(review), count(review))", "type refers to food_type; most common refers to max(count(food_type))", "Mexican food refers to food_type = 'mexican'; percentage = divide(count(id_restaurant where food_type = 'mexican'), count(id_restaurant)) where county = 'monterey county' * 100%", "street refers to street_name; Good Heavens restaurant refers to label = 'good heavens'" ] }
{ "query": "List all of the restaurants on Park St.", "pos": [ "restaurant refers to label; Park St refers to street_name = 'park st'" ], "neg": [ "1149 El Camino Real refers to street_num = 1149 and street_name = 'el camino real'", "Irving Street refers to street_name = 'irving'", "Adeline Street refers to street_name = 'adeline st'; type of food refers to food_type\n\n", "Greek restaurant refers to food_type = 'greek'", "Northern California refers to region = 'northern california'", "Indian restaurant refers to food_type = 'indian'; the Los Angeles area refers to region = 'los angeles area'", "the most popular refers to max(review); Asian food refers to food_type = 'asian'; San Francisco refers to city = 'san francisco'", "northern California refers to region = 'northern california'; the highest number of cities refers to max(count(city))", "Italian food refers to food_type = 'Italian'", "Mexican food refers to food_type = 'mexican'; percentage = divide(count(id_restaurant where food_type = 'mexican'), count(id_restaurant)) where county = 'monterey county' * 100%" ] }
{ "query": "What types of food are served at the 4 top-reviewed restaurants?", "pos": [ "top-reviewed refers to review = 4; type of food refers to food_type\n\n" ], "neg": [ "street named 11th Street refers to street_name = '11th st'; percentage = divide(count(street_name = '11th st' and County = 'alameda county'), count(street_name where County = 'alameda county')) * 100%", "street refers to street_name; review of 1.7 refers to review = 1.7", "street number refers to street_num; bar refers to food_type = 'bar'; Oakland refers to city = 'oakland'; 2.7 review refers to review = 2.7", "a street called Appian Way refers to street_name = 'appian way'", "Ocean St. refers to street_name = 'ocean st'; Santa Cruz refers to city = 'santa cruz'", "A&W Root Beer Restaurant refers to label = 'a & w root beer'", "unknown county refers to county = 'unknown'", "kind of restaurant refers to food_type; \"106 E 25th Ave\" refers to street_name = 'e 25th ave'", "3140 Alpine Road at San Mateo County refers to street_num = 3140 AND street_name = 'alpine rd' AND County = 'san mateo county'; type of food refers to food_type", "Mediterranean food refers to food_type =   'mediterranean'" ] }
{ "query": "In which region can you find the top 4 most popular restaurants?", "pos": [ "the top 4 most popular restaurant refers to top 4 max(review)" ], "neg": [ "full address refers to city, street_num, street_name; restaurant named \"Sanuki Restaurant\" refers to label = 'sanuki restaurant'", "Bay Area refers to region = 'bay area'", "Atlantic Ave refers to street_name = 'atlantic ave'; rating refers to review", "the highest number refers to max(count(id_restaurant))", "street refers to street_name; more than 10 restaurants refers to count(id_restaurant) > 10", "street number refers to street_num; bar refers to food_type = 'bar'; Oakland refers to city = 'oakland'; 2.7 review refers to review = 2.7", "American Food Restaurant refers to food_type = 'ameraican'; unpopular refers to min(review); Carmel refers to city = 'Carmel'", "type refers to food_type; most common refers to max(count(food_type))", "street number below 1000 refers to street_num < 1000; Railroad St. refers to street_name = 'railroad'", "Bay Area refers to region = 'bay area'; Santa Clara refers to county = 'santa clara county'" ] }
{ "query": "What kind of restaurants can be found at \"106 E 25th Ave\"?", "pos": [ "kind of restaurant refers to food_type; \"106 E 25th Ave\" refers to street_name = 'e 25th ave'" ], "neg": [ "street refers to street_name; the most restaurants refers to max(count(street_name))", "Plearn-Thai Cuisine restaurant refers to label = 'plearn-thai cuisine'", "Italian food refers to food_type = 'Italian'", "more than 4 star review refers to review > 4", "unidentified county and region refers to county = 'unknown' AND region = 'unknown'", "Atlantic Ave refers to street_name = 'atlantic ave'; rating refers to review", "Ocean St. refers to street_name = 'ocean st'; Santa Cruz refers to city = 'santa cruz'", "the most popular refers to max(review); restaurant refers to label; San Francisco refers to city = 'San Francisco'", "restaurant address refers to street_num, street_name; unknown region refers to region = 'unknown'", "3140 Alpine Road at San Mateo County refers to street_num = 3140 AND street_name = 'alpine rd' AND County = 'san mateo county'; type of food refers to food_type" ] }
{ "query": "What are the restaurants that are located at \"19th St. Oakland\"?", "pos": [ "restaurant refers to label; \"19th St. Oakland\" refers to street_name = '19th St' AND city = 'Oakland'" ], "neg": [ "American Food Restaurant refers to food_type = 'ameraican'; unpopular refers to min(review); Carmel refers to city = 'Carmel'", "more than 4 star review refers to review > 4", "restaurant address refers to street_num, street_name; unknown region refers to region = 'unknown'", "Mexican food refers to food_type = 'mexican'; percentage = divide(count(id_restaurant where food_type = 'mexican'), count(id_restaurant)) where county = 'monterey county' * 100%", "chicken restaurant refers to food_type = 'chicken'; the highest review refers to max(review)", "3140 Alpine Road at San Mateo County refers to street_num = 3140 AND street_name = 'alpine rd' AND County = 'san mateo county'; type of food refers to food_type", "street refers to street_name; the most restaurants refers to max(count(street_name))", "the most popular refers to max(review); Asian food refers to food_type = 'asian'; San Francisco refers to city = 'san francisco'", "top-reviewed refers to review = 4; type of food refers to food_type\n\n", "street number refers to street_num; bar refers to food_type = 'bar'; Oakland refers to city = 'oakland'; 2.7 review refers to review = 2.7" ] }
{ "query": "What is the rating of each restaurant reviews on Atlantic Ave?", "pos": [ "Atlantic Ave refers to street_name = 'atlantic ave'; rating refers to review" ], "neg": [ "9th Avenue refers to street_name = '9th avenue'; San Francisco refers to City = 'san francisco'", "street refers to street_name; the most restaurants refers to max(count(street_name))", "A&W Root Beer Restaurant refers to label = 'a & w root beer'", "El Cerrito refers to city = 'el cerrito'", "indian restaurant refers to food_type = 'indian'; Castro St. refers to street_name = 'castro st'; Mountainview refers to city = 'mountainview'; have the word \"Indian\" in label refers to label = 'indian'", "street refers to street_name; review of 1.7 refers to review = 1.7", "430 Broadway refers to street_num = 430 and street_name = 'Broadway'", "the most popular refers to max(review); Asian food refers to food_type = 'asian'; San Francisco refers to city = 'san francisco'", "full address refers to city, street_num, street_name; restaurant named \"Sanuki Restaurant\" refers to label = 'sanuki restaurant'", "no pizza restaurants refers to food_type = 'pizza'" ] }
{ "query": "What percentage of restaurants are from the Bay Area?", "pos": [ "Bay Area refers to region = 'bay area'; percentage = divide(count(id_restaurant where region = 'bay area'), count(id_restaurant)) * 100%" ], "neg": [ "1149 El Camino Real refers to street_num = 1149 and street_name = 'el camino real'", "type refers to food_type; most common refers to max(count(food_type))", "11th Street refers to street_name = '11th street'; Oakland refers to city = 'oakland'; ID number of restaurant refers to id_restaurant\n\n", "no pizza restaurants refers to food_type = 'pizza'", "the top 4 most popular restaurant refers to top 4 max(review)", "no African food restaurants refers to food_type <> 'african'", "unknown county refers to county = 'unknown'", "Bay Area refers to region = 'bay area'", "Northern California refers to region = 'northern california'", "restaurant refers to label; Park St refers to street_name = 'park st'" ] }
{ "query": "How many restaurants have not obtained a minimum of 3 in their reviews?", "pos": [ "have not obtained a minimum of 3 in review refers to review < 3" ], "neg": [ "Mediterranean food refers to food_type =   'mediterranean'", "Broadway refers to street_name = 'broadway';  Oakland refers to city = 'oakland'; a review of no more than 3 refers to review < 3", "a street called Appian Way refers to street_name = 'appian way'", "asian restaurant refers to food_type = 'asian'; N. Milpitas Blvd. refers to street_name = 'n milpitas blvd'; Milpitas refers to city = 'milpitas'; restaurant ID greater than 385 refers to id_restaurant > 385", "the highest number refers to max(count(id_restaurant))", "Ocean St. refers to street_name = 'ocean st'; Santa Cruz refers to city = 'santa cruz'", "unidentified county and region refers to county = 'unknown' AND region = 'unknown'", "Northern California refers to region = 'northern california'", "street E. El Camino Real refers to street_name = 'E. El Camino Real'", "more than 4 star review refers to review > 4" ] }
{ "query": "List all the average reviews of Chinese restaurants for each county from highest to lowest.", "pos": [ "Chinese restaurant refers to food_type = 'chinese'; average review refers to divide(sum(review), count(review))" ], "neg": [ "more than 4 star review refers to review > 4", "the most popular refers to max(review); restaurant refers to label; San Francisco refers to city = 'San Francisco'", "American Food Restaurant refers to food_type = 'ameraican'; unpopular refers to min(review); Carmel refers to city = 'Carmel'", "restaurant address refers to street_num, street_name; unknown region refers to region = 'unknown'", "street refers to street_name; Good Heavens restaurant refers to label = 'good heavens'", "asian restaurant refers to food_type = 'asian'; N. Milpitas Blvd. refers to street_name = 'n milpitas blvd'; Milpitas refers to city = 'milpitas'; restaurant ID greater than 385 refers to id_restaurant > 385", "name refers to label; 24 hour diner refers to food_type = '24 hour diner'; San Francisco refers to city = 'san francisco'", "Irving Street refers to street_name = 'irving'", "northern California refers to region = 'northern california'; the highest number of cities refers to max(count(city))", "not in the Bay Area region refers to region ! = 'bay area'" ] }
{ "query": "Which county and region does the street E. El Camino Real belong to?", "pos": [ "street E. El Camino Real refers to street_name = 'E. El Camino Real'" ], "neg": [ "Italian food refers to food_type = 'Italian'", "full address refers to city, street_num, street_name; restaurant named \"Sanuki Restaurant\" refers to label = 'sanuki restaurant'", "not in the Bay Area region refers to region ! = 'bay area'", "Greek restaurant refers to food_type = 'greek'", "street number below 1000 refers to street_num < 1000; Railroad St. refers to street_name = 'railroad'", "name refers to label; 24 hour diner refers to food_type = '24 hour diner'; San Francisco refers to city = 'san francisco'", "type refers to food_type; most common refers to max(count(food_type))", "more than 4 star review refers to review > 4", "asian restaurant refers to food_type = 'asian'; N. Milpitas Blvd. refers to street_name = 'n milpitas blvd'; Milpitas refers to city = 'milpitas'; restaurant ID greater than 385 refers to id_restaurant > 385", "Bay Area refers to region = 'bay area'; Santa Clara refers to county = 'santa clara county'" ] }
{ "query": "What are the regions with Greek restaurants?", "pos": [ "Greek restaurant refers to food_type = 'greek'" ], "neg": [ "more than 4 star review refers to review > 4", "Mexican food refers to food_type = 'mexican'; percentage = divide(count(id_restaurant where food_type = 'mexican'), count(id_restaurant)) where county = 'monterey county' * 100%", "street refers to street_name; more than 10 restaurants refers to count(id_restaurant) > 10", "Atlantic Ave refers to street_name = 'atlantic ave'; rating refers to review", "no pizza restaurants refers to food_type = 'pizza'", "street E. El Camino Real refers to street_name = 'E. El Camino Real'", "Plearn-Thai Cuisine restaurant refers to label = 'plearn-thai cuisine'", "3140 Alpine Road at San Mateo County refers to street_num = 3140 AND street_name = 'alpine rd' AND County = 'san mateo county'; type of food refers to food_type", "northern California refers to region = 'northern california'; the highest number of cities refers to max(count(city))", "street number ranges from 1000 to 2000 refers to 1000 < = street_num < = 2000; Afghani restaurant refers to food_type = 'afghani'; percentage = divide(count(id_restaurant where food_type = 'afghani'), count(id_restaurant)) * 100%" ] }
{ "query": "How many of the cities are in a Bay Area?", "pos": [ "Bay Area refers to region = 'bay area'" ], "neg": [ "full address = street_num, street_name, city; Albert's Café refers to label = 'Albert's Café'", "restaurant refers to label; \"19th St. Oakland\" refers to street_name = '19th St' AND city = 'Oakland'", "Italian food refers to food_type = 'Italian'", "unidentified county and region refers to county = 'unknown' AND region = 'unknown'", "the highest number refers to max(count(id_restaurant))", "430 Broadway refers to street_num = 430 and street_name = 'Broadway'", "street E. El Camino Real refers to street_name = 'E. El Camino Real'", "Bay Area refers to region = 'bay area'; Santa Clara refers to county = 'santa clara county'", "Atlantic Ave refers to street_name = 'atlantic ave'; rating refers to review", "kind of restaurant refers to food_type; \"106 E 25th Ave\" refers to street_name = 'e 25th ave'" ] }
{ "query": "List by its ID number all restaurants on 11th Street in Oakland.", "pos": [ "11th Street refers to street_name = '11th street'; Oakland refers to city = 'oakland'; ID number of restaurant refers to id_restaurant\n\n" ], "neg": [ "street number below 1000 refers to street_num < 1000; Railroad St. refers to street_name = 'railroad'", "the most popular refers to max(review); Asian food refers to food_type = 'asian'; San Francisco refers to city = 'san francisco'", "type refers to food_type; most common refers to max(count(food_type))", "street named 11th Street refers to street_name = '11th st'; percentage = divide(count(street_name = '11th st' and County = 'alameda county'), count(street_name where County = 'alameda county')) * 100%", "Plearn-Thai Cuisine restaurant refers to label = 'plearn-thai cuisine'", "Irving Street refers to street_name = 'irving'", "street refers to street_name; Good Heavens restaurant refers to label = 'good heavens'", "street number ranges from 1000 to 2000 refers to 1000 < = street_num < = 2000; Afghani restaurant refers to food_type = 'afghani'; percentage = divide(count(id_restaurant where food_type = 'afghani'), count(id_restaurant)) * 100%", "Mexican food refers to food_type = 'mexican'; percentage = divide(count(id_restaurant where food_type = 'mexican'), count(id_restaurant)) where county = 'monterey county' * 100%", "unknown county refers to county = 'unknown'" ] }
{ "query": "List all counties where there is no Bakers Square Restaurant & Pie Shop.", "pos": [ "no Bakers Square Restaurant & Pie Shop refers to label <> 'bakers square restaurant & pie shop'" ], "neg": [ "Atlantic Ave refers to street_name = 'atlantic ave'; rating refers to review", "Greek restaurant refers to food_type = 'greek'", "Indian restaurant refers to food_type = 'indian'; the Los Angeles area refers to region = 'los angeles area'", "the highest number refers to max(count(id_restaurant))", "the top 4 most popular restaurant refers to top 4 max(review)", "9th Avenue refers to street_name = '9th avenue'; San Francisco refers to City = 'san francisco'", "northern California refers to region = 'northern california'; the highest number of cities refers to max(count(city))", "A&W Root Beer Restaurant refers to label = 'a & w root beer'", "Bay Area refers to region = 'bay area'", "street refers to street_name; Good Heavens restaurant refers to label = 'good heavens'" ] }
{ "query": "What is the city located in Bay Area of Santa Clara?", "pos": [ "Bay Area refers to region = 'bay area'; Santa Clara refers to county = 'santa clara county'" ], "neg": [ "chicken restaurant refers to food_type = 'chicken'; the highest review refers to max(review)", "the most popular refers to max(review); Asian food refers to food_type = 'asian'; San Francisco refers to city = 'san francisco'", "1149 El Camino Real refers to street_num = 1149 and street_name = 'el camino real'", "indian restaurant refers to food_type = 'indian'; Castro St. refers to street_name = 'castro st'; Mountainview refers to city = 'mountainview'; have the word \"Indian\" in label refers to label = 'indian'", "restaurant refers to label; \"19th St. Oakland\" refers to street_name = '19th St' AND city = 'Oakland'", "no Bakers Square Restaurant & Pie Shop refers to label <> 'bakers square restaurant & pie shop'", "Italian food refers to food_type = 'Italian'", "Mexican food refers to food_type = 'mexican'; percentage = divide(count(id_restaurant where food_type = 'mexican'), count(id_restaurant)) where county = 'monterey county' * 100%", "no African food restaurants refers to food_type <> 'african'", "full address = street_num, street_name, city; Albert's Café refers to label = 'Albert's Café'" ] }
{ "query": "How many Indian restaurants are there in the Los Angeles area?", "pos": [ "Indian restaurant refers to food_type = 'indian'; the Los Angeles area refers to region = 'los angeles area'" ], "neg": [ "Mediterranean food refers to food_type =   'mediterranean'", "the most popular refers to max(review); Asian food refers to food_type = 'asian'; San Francisco refers to city = 'san francisco'", "Italian food refers to food_type = 'Italian'", "street refers to street_name; review of 1.7 refers to review = 1.7", "11th Street refers to street_name = '11th street'; Oakland refers to city = 'oakland'; ID number of restaurant refers to id_restaurant\n\n", "9th Avenue refers to street_name = '9th avenue'; San Francisco refers to City = 'san francisco'", "Chinese restaurant refers to food_type = 'chinese'; average review refers to divide(sum(review), count(review))", "Greek restaurant refers to food_type = 'greek'", "restaurant refers to label; \"19th St. Oakland\" refers to street_name = '19th St' AND city = 'Oakland'", "street E. El Camino Real refers to street_name = 'E. El Camino Real'" ] }
{ "query": "How many restaurants are on Irving Street?", "pos": [ "Irving Street refers to street_name = 'irving'" ], "neg": [ "Chinese restaurant refers to food_type = 'chinese'; average review refers to divide(sum(review), count(review))", "restaurant refers to label; European food refers to food_type = 'european'", "Bay Area refers to region = 'bay area'; Santa Clara refers to county = 'santa clara county'", "winery refers to food_type = 'winery'; street number refers to street_num; \"Tulocay Winery\" refers to label = 'Tulocay winery'", "street refers to street_name; review of 1.7 refers to review = 1.7", "street number below 1000 refers to street_num < 1000; Railroad St. refers to street_name = 'railroad'", "the most popular refers to max(review); Asian food refers to food_type = 'asian'; San Francisco refers to city = 'san francisco'", "street named 11th Street refers to street_name = '11th st'; percentage = divide(count(street_name = '11th st' and County = 'alameda county'), count(street_name where County = 'alameda county')) * 100%", "type refers to food_type; most common refers to max(count(food_type))", "11th Street refers to street_name = '11th street'; Oakland refers to city = 'oakland'; ID number of restaurant refers to id_restaurant\n\n" ] }
{ "query": "What type of restaurant is most common in Monterey county?", "pos": [ "type refers to food_type; most common refers to max(count(food_type))" ], "neg": [ "street refers to street_name; the most restaurants refers to max(count(street_name))", "kind of restaurant refers to food_type; \"106 E 25th Ave\" refers to street_name = 'e 25th ave'", "a street called Appian Way refers to street_name = 'appian way'", "Italian food refers to food_type = 'Italian'", "street named 11th Street refers to street_name = '11th st'; percentage = divide(count(street_name = '11th st' and County = 'alameda county'), count(street_name where County = 'alameda county')) * 100%", "full address refers to street_num, street_name, city; American restaurant refers to food_type = 'american'; a review of 4 or more refers to review > 4", "restaurant refers to label; Park St refers to street_name = 'park st'", "3140 Alpine Road at San Mateo County refers to street_num = 3140 AND street_name = 'alpine rd' AND County = 'san mateo county'; type of food refers to food_type", "Atlantic Ave refers to street_name = 'atlantic ave'; rating refers to review", "Greek restaurant refers to food_type = 'greek'" ] }
{ "query": "In which regions are there no pizza restaurants?", "pos": [ "no pizza restaurants refers to food_type = 'pizza'" ], "neg": [ "top-reviewed refers to review = 4; type of food refers to food_type\n\n", "A&W Root Beer Restaurant refers to label = 'a & w root beer'", "1149 El Camino Real refers to street_num = 1149 and street_name = 'el camino real'", "chicken restaurant refers to food_type = 'chicken'; the highest review refers to max(review)", "have not obtained a minimum of 3 in review refers to review < 3", "the most popular refers to max(review); Asian food refers to food_type = 'asian'; San Francisco refers to city = 'san francisco'", "430 Broadway refers to street_num = 430 and street_name = 'Broadway'", "street E. El Camino Real refers to street_name = 'E. El Camino Real'", "indian restaurant refers to food_type = 'indian'; Castro St. refers to street_name = 'castro st'; Mountainview refers to city = 'mountainview'; have the word \"Indian\" in label refers to label = 'indian'", "street refers to street_name; the most restaurants refers to max(count(street_name))" ] }
{ "query": "Which county is El Cerrito from?", "pos": [ "El Cerrito refers to city = 'el cerrito'" ], "neg": [ "Adeline Street refers to street_name = 'adeline st'; type of food refers to food_type\n\n", "top-reviewed refers to review = 4; type of food refers to food_type\n\n", "asian restaurant refers to food_type = 'asian'; N. Milpitas Blvd. refers to street_name = 'n milpitas blvd'; Milpitas refers to city = 'milpitas'; restaurant ID greater than 385 refers to id_restaurant > 385", "the highest number refers to max(count(id_restaurant))", "not in the Bay Area region refers to region ! = 'bay area'", "type refers to food_type; most common refers to max(count(food_type))", "kind of restaurant refers to food_type; \"106 E 25th Ave\" refers to street_name = 'e 25th ave'", "street refers to street_name; review of 1.7 refers to review = 1.7", "Italian food refers to food_type = 'Italian'", "restaurant refers to label; \"19th St. Oakland\" refers to street_name = '19th St' AND city = 'Oakland'" ] }
{ "query": "What is the full address of Albert's Café?", "pos": [ "full address = street_num, street_name, city; Albert's Café refers to label = 'Albert's Café'" ], "neg": [ "1149 El Camino Real refers to street_num = 1149 and street_name = 'el camino real'", "Irving Street refers to street_name = 'irving'", "street refers to street_name; Good Heavens restaurant refers to label = 'good heavens'", "Broadway refers to street_name = 'broadway';  Oakland refers to city = 'oakland'; a review of no more than 3 refers to review < 3", "more than 4 star review refers to review > 4", "restaurant refers to label; Park St refers to street_name = 'park st'", "northern California refers to region = 'northern california'; the highest number of cities refers to max(count(city))", "chicken restaurant refers to food_type = 'chicken'; the highest review refers to max(review)", "Bay Area refers to region = 'bay area'; percentage = divide(count(id_restaurant where region = 'bay area'), count(id_restaurant)) * 100%", "Atlantic Ave refers to street_name = 'atlantic ave'; rating refers to review" ] }
{ "query": "Which street has the most restaurants?", "pos": [ "street refers to street_name; the most restaurants refers to max(count(street_name))" ], "neg": [ "street refers to street_name; review of 1.7 refers to review = 1.7", "chicken restaurant refers to food_type = 'chicken'; the highest review refers to max(review)", "Plearn-Thai Cuisine restaurant refers to label = 'plearn-thai cuisine'", "A&W Root Beer Restaurant refers to label = 'a & w root beer'", "unidentified county and region refers to county = 'unknown' AND region = 'unknown'", "a street called Appian Way refers to street_name = 'appian way'", "9th Avenue refers to street_name = '9th avenue'; San Francisco refers to City = 'san francisco'", "more than 4 star review refers to review > 4", "kind of restaurant refers to food_type; \"106 E 25th Ave\" refers to street_name = 'e 25th ave'", "northern California refers to region = 'northern california'; the highest number of cities refers to max(count(city))" ] }
{ "query": "On which streets in the city of San Francisco are there restaurants with a review of 1.7?", "pos": [ "street refers to street_name; review of 1.7 refers to review = 1.7" ], "neg": [ "name refers to label; 24 hour diner refers to food_type = '24 hour diner'; San Francisco refers to city = 'san francisco'", "11th Street refers to street_name = '11th street'; Oakland refers to city = 'oakland'; ID number of restaurant refers to id_restaurant\n\n", "asian restaurant refers to food_type = 'asian'; N. Milpitas Blvd. refers to street_name = 'n milpitas blvd'; Milpitas refers to city = 'milpitas'; restaurant ID greater than 385 refers to id_restaurant > 385", "restaurant refers to label; Park St refers to street_name = 'park st'", "more than 4 star review refers to review > 4", "top-reviewed refers to review = 4; type of food refers to food_type\n\n", "Greek restaurant refers to food_type = 'greek'", "restaurant refers to label; European food refers to food_type = 'european'", "restaurant refers to label; \"19th St. Oakland\" refers to street_name = '19th St' AND city = 'Oakland'", "street named 11th Street refers to street_name = '11th st'; percentage = divide(count(street_name = '11th st' and County = 'alameda county'), count(street_name where County = 'alameda county')) * 100%" ] }
{ "query": "List all of the restaurant addresses from an unknown region.", "pos": [ "restaurant address refers to street_num, street_name; unknown region refers to region = 'unknown'" ], "neg": [ "street number ranges from 1000 to 2000 refers to 1000 < = street_num < = 2000; Afghani restaurant refers to food_type = 'afghani'; percentage = divide(count(id_restaurant where food_type = 'afghani'), count(id_restaurant)) * 100%", "name refers to label; 24 hour diner refers to food_type = '24 hour diner'; San Francisco refers to city = 'san francisco'", "the most popular refers to max(review); restaurant refers to label; San Francisco refers to city = 'San Francisco'", "have not obtained a minimum of 3 in review refers to review < 3", "street named 11th Street refers to street_name = '11th st'; percentage = divide(count(street_name = '11th st' and County = 'alameda county'), count(street_name where County = 'alameda county')) * 100%", "street refers to street_name; more than 10 restaurants refers to count(id_restaurant) > 10", "more than 4 star review refers to review > 4", "Bay Area refers to region = 'bay area'; percentage = divide(count(id_restaurant where region = 'bay area'), count(id_restaurant)) * 100%", "restaurant refers to label; European food refers to food_type = 'european'", "unknown county refers to county = 'unknown'" ] }
{ "query": "Give the review of the restaurant located in Ocean St., Santa Cruz.", "pos": [ "Ocean St. refers to street_name = 'ocean st'; Santa Cruz refers to city = 'santa cruz'" ], "neg": [ "a street called Appian Way refers to street_name = 'appian way'", "street number refers to street_num; bar refers to food_type = 'bar'; Oakland refers to city = 'oakland'; 2.7 review refers to review = 2.7", "street refers to street_name; the most restaurants refers to max(count(street_name))", "restaurant refers to label; European food refers to food_type = 'european'", "no pizza restaurants refers to food_type = 'pizza'", "Atlantic Ave refers to street_name = 'atlantic ave'; rating refers to review", "Bay Area refers to region = 'bay area'", "American Food Restaurant refers to food_type = 'ameraican'; unpopular refers to min(review); Carmel refers to city = 'Carmel'", "street number ranges from 1000 to 2000 refers to 1000 < = street_num < = 2000; Afghani restaurant refers to food_type = 'afghani'; percentage = divide(count(id_restaurant where food_type = 'afghani'), count(id_restaurant)) * 100%", "1149 El Camino Real refers to street_num = 1149 and street_name = 'el camino real'" ] }
{ "query": "Which country has the most restaurants with Italian food?", "pos": [ "Italian food refers to food_type = 'Italian'" ], "neg": [ "restaurant refers to label; European food refers to food_type = 'european'", "name refers to label; 24 hour diner refers to food_type = '24 hour diner'; San Francisco refers to city = 'san francisco'", "the most popular refers to max(review); restaurant refers to label; San Francisco refers to city = 'San Francisco'", "top-reviewed refers to review = 4; type of food refers to food_type\n\n", "Atlantic Ave refers to street_name = 'atlantic ave'; rating refers to review", "Indian restaurant refers to food_type = 'indian'; the Los Angeles area refers to region = 'los angeles area'", "street refers to street_name; the most restaurants refers to max(count(street_name))", "street number refers to street_num; bar refers to food_type = 'bar'; Oakland refers to city = 'oakland'; 2.7 review refers to review = 2.7", "1149 El Camino Real refers to street_num = 1149 and street_name = 'el camino real'", "the highest number refers to max(count(id_restaurant))" ] }
{ "query": "Among the restaurants located on the street number ranges from 1000 to 2000, what is the percentage of Afghani restaurants are there?", "pos": [ "street number ranges from 1000 to 2000 refers to 1000 < = street_num < = 2000; Afghani restaurant refers to food_type = 'afghani'; percentage = divide(count(id_restaurant where food_type = 'afghani'), count(id_restaurant)) * 100%" ], "neg": [ "the most popular refers to max(review); Asian food refers to food_type = 'asian'; San Francisco refers to city = 'san francisco'", "winery refers to food_type = 'winery'; street number refers to street_num; \"Tulocay Winery\" refers to label = 'Tulocay winery'", "street named 11th Street refers to street_name = '11th st'; percentage = divide(count(street_name = '11th st' and County = 'alameda county'), count(street_name where County = 'alameda county')) * 100%", "asian restaurant refers to food_type = 'asian'; N. Milpitas Blvd. refers to street_name = 'n milpitas blvd'; Milpitas refers to city = 'milpitas'; restaurant ID greater than 385 refers to id_restaurant > 385", "street refers to street_name; more than 10 restaurants refers to count(id_restaurant) > 10", "chicken restaurant refers to food_type = 'chicken'; the highest review refers to max(review)", "northern California refers to region = 'northern california'; the highest number of cities refers to max(count(city))", "American Food Restaurant refers to food_type = 'ameraican'; unpopular refers to min(review); Carmel refers to city = 'Carmel'", "Italian food refers to food_type = 'Italian'", "restaurant refers to label; \"19th St. Oakland\" refers to street_name = '19th St' AND city = 'Oakland'" ] }
{ "query": "List all the streets with more than 10 restaurants in Alameda county.", "pos": [ "street refers to street_name; more than 10 restaurants refers to count(id_restaurant) > 10" ], "neg": [ "Plearn-Thai Cuisine restaurant refers to label = 'plearn-thai cuisine'", "street named 11th Street refers to street_name = '11th st'; percentage = divide(count(street_name = '11th st' and County = 'alameda county'), count(street_name where County = 'alameda county')) * 100%", "restaurant address refers to street_num, street_name; unknown region refers to region = 'unknown'", "winery refers to food_type = 'winery'; street number refers to street_num; \"Tulocay Winery\" refers to label = 'Tulocay winery'", "street refers to street_name; Good Heavens restaurant refers to label = 'good heavens'", "asian restaurant refers to food_type = 'asian'; N. Milpitas Blvd. refers to street_name = 'n milpitas blvd'; Milpitas refers to city = 'milpitas'; restaurant ID greater than 385 refers to id_restaurant > 385", "top-reviewed refers to review = 4; type of food refers to food_type\n\n", "Ocean St. refers to street_name = 'ocean st'; Santa Cruz refers to city = 'santa cruz'", "restaurant refers to label; Park St refers to street_name = 'park st'", "Indian restaurant refers to food_type = 'indian'; the Los Angeles area refers to region = 'los angeles area'" ] }
{ "query": "Which county in northern California has the highest number of cities?", "pos": [ "northern California refers to region = 'northern california'; the highest number of cities refers to max(count(city))" ], "neg": [ "have not obtained a minimum of 3 in review refers to review < 3", "street number below 1000 refers to street_num < 1000; Railroad St. refers to street_name = 'railroad'", "1149 El Camino Real refers to street_num = 1149 and street_name = 'el camino real'", "Northern California refers to region = 'northern california'", "the top 4 most popular restaurant refers to top 4 max(review)", "asian restaurant refers to food_type = 'asian'; N. Milpitas Blvd. refers to street_name = 'n milpitas blvd'; Milpitas refers to city = 'milpitas'; restaurant ID greater than 385 refers to id_restaurant > 385", "no African food restaurants refers to food_type <> 'african'", "Atlantic Ave refers to street_name = 'atlantic ave'; rating refers to review", "full address refers to city, street_num, street_name; restaurant named \"Sanuki Restaurant\" refers to label = 'sanuki restaurant'", "Plearn-Thai Cuisine restaurant refers to label = 'plearn-thai cuisine'" ] }
{ "query": "What counties are not in the Bay Area Region?", "pos": [ "not in the Bay Area region refers to region ! = 'bay area'" ], "neg": [ "street number ranges from 1000 to 2000 refers to 1000 < = street_num < = 2000; Afghani restaurant refers to food_type = 'afghani'; percentage = divide(count(id_restaurant where food_type = 'afghani'), count(id_restaurant)) * 100%", "the highest number refers to max(count(id_restaurant))", "Chinese restaurant refers to food_type = 'chinese'; average review refers to divide(sum(review), count(review))", "full address = street_num, street_name, city; Albert's Café refers to label = 'Albert's Café'", "A&W Root Beer Restaurant refers to label = 'a & w root beer'", "3140 Alpine Road at San Mateo County refers to street_num = 3140 AND street_name = 'alpine rd' AND County = 'san mateo county'; type of food refers to food_type", "Broadway refers to street_name = 'broadway';  Oakland refers to city = 'oakland'; a review of no more than 3 refers to review < 3", "El Cerrito refers to city = 'el cerrito'", "a street called Appian Way refers to street_name = 'appian way'", "street number below 1000 refers to street_num < 1000; Railroad St. refers to street_name = 'railroad'" ] }
{ "query": "In how many counties is there a street called Appian Way?", "pos": [ "a street called Appian Way refers to street_name = 'appian way'" ], "neg": [ "A&W Root Beer Restaurant refers to label = 'a & w root beer'", "restaurant refers to label; Park St refers to street_name = 'park st'", "street E. El Camino Real refers to street_name = 'E. El Camino Real'", "chicken restaurant refers to food_type = 'chicken'; the highest review refers to max(review)", "no African food restaurants refers to food_type <> 'african'", "the most popular refers to max(review); restaurant refers to label; San Francisco refers to city = 'San Francisco'", "the highest number refers to max(count(id_restaurant))", "Bay Area refers to region = 'bay area'", "Plearn-Thai Cuisine restaurant refers to label = 'plearn-thai cuisine'", "street number refers to street_num; bar refers to food_type = 'bar'; Oakland refers to city = 'oakland'; 2.7 review refers to review = 2.7" ] }
{ "query": "What is the name of the most popular restaurant serving Asian foods in San Francisco?", "pos": [ "the most popular refers to max(review); Asian food refers to food_type = 'asian'; San Francisco refers to city = 'san francisco'" ], "neg": [ "Northern California refers to region = 'northern california'", "have not obtained a minimum of 3 in review refers to review < 3", "full address = street_num, street_name, city; Albert's Café refers to label = 'Albert's Café'", "chicken restaurant refers to food_type = 'chicken'; the highest review refers to max(review)", "street refers to street_name; review of 1.7 refers to review = 1.7", "more than 4 star review refers to review > 4", "1149 El Camino Real refers to street_num = 1149 and street_name = 'el camino real'", "the highest number refers to max(count(id_restaurant))", "street refers to street_name; the most restaurants refers to max(count(street_name))", "Atlantic Ave refers to street_name = 'atlantic ave'; rating refers to review" ] }
{ "query": "What is the county and region of Plearn-Thai Cuisine restaurant?", "pos": [ "Plearn-Thai Cuisine restaurant refers to label = 'plearn-thai cuisine'" ], "neg": [ "full address refers to street_num, street_name, city; American restaurant refers to food_type = 'american'; a review of 4 or more refers to review > 4", "1149 El Camino Real refers to street_num = 1149 and street_name = 'el camino real'", "Northern California refers to region = 'northern california'", "full address refers to city, street_num, street_name; restaurant named \"Sanuki Restaurant\" refers to label = 'sanuki restaurant'", "top-reviewed refers to review = 4; type of food refers to food_type\n\n", "a street called Appian Way refers to street_name = 'appian way'", "Greek restaurant refers to food_type = 'greek'", "street refers to street_name; more than 10 restaurants refers to count(id_restaurant) > 10", "Adeline Street refers to street_name = 'adeline st'; type of food refers to food_type\n\n", "Bay Area refers to region = 'bay area'" ] }
{ "query": "What type of food is served at the restaurant located at 3140, Alpine Road at San Mateo County?", "pos": [ "3140 Alpine Road at San Mateo County refers to street_num = 3140 AND street_name = 'alpine rd' AND County = 'san mateo county'; type of food refers to food_type" ], "neg": [ "Greek restaurant refers to food_type = 'greek'", "1149 El Camino Real refers to street_num = 1149 and street_name = 'el camino real'", "Mexican food refers to food_type = 'mexican'; percentage = divide(count(id_restaurant where food_type = 'mexican'), count(id_restaurant)) where county = 'monterey county' * 100%", "street refers to street_name; the most restaurants refers to max(count(street_name))", "restaurant refers to label; European food refers to food_type = 'european'", "Bay Area refers to region = 'bay area'; percentage = divide(count(id_restaurant where region = 'bay area'), count(id_restaurant)) * 100%", "street refers to street_name; review of 1.7 refers to review = 1.7", "no pizza restaurants refers to food_type = 'pizza'", "430 Broadway refers to street_num = 430 and street_name = 'Broadway'", "unknown county refers to county = 'unknown'" ] }
{ "query": "What is the name of the 24 hour diner at San Francisco?", "pos": [ "name refers to label; 24 hour diner refers to food_type = '24 hour diner'; San Francisco refers to city = 'san francisco'" ], "neg": [ "Bay Area refers to region = 'bay area'; percentage = divide(count(id_restaurant where region = 'bay area'), count(id_restaurant)) * 100%", "asian restaurant refers to food_type = 'asian'; N. Milpitas Blvd. refers to street_name = 'n milpitas blvd'; Milpitas refers to city = 'milpitas'; restaurant ID greater than 385 refers to id_restaurant > 385", "Irving Street refers to street_name = 'irving'", "type refers to food_type; most common refers to max(count(food_type))", "indian restaurant refers to food_type = 'indian'; Castro St. refers to street_name = 'castro st'; Mountainview refers to city = 'mountainview'; have the word \"Indian\" in label refers to label = 'indian'", "no African food restaurants refers to food_type <> 'african'", "full address refers to city, street_num, street_name; restaurant named \"Sanuki Restaurant\" refers to label = 'sanuki restaurant'", "3140 Alpine Road at San Mateo County refers to street_num = 3140 AND street_name = 'alpine rd' AND County = 'san mateo county'; type of food refers to food_type", "more than 4 star review refers to review > 4", "unknown county refers to county = 'unknown'" ] }
{ "query": "What is the full address of the restaurant named \"Sanuki Restaurant\"?", "pos": [ "full address refers to city, street_num, street_name; restaurant named \"Sanuki Restaurant\" refers to label = 'sanuki restaurant'" ], "neg": [ "street refers to street_name; more than 10 restaurants refers to count(id_restaurant) > 10", "Mexican food refers to food_type = 'mexican'; percentage = divide(count(id_restaurant where food_type = 'mexican'), count(id_restaurant)) where county = 'monterey county' * 100%", "9th Avenue refers to street_name = '9th avenue'; San Francisco refers to City = 'san francisco'", "no African food restaurants refers to food_type <> 'african'", "Greek restaurant refers to food_type = 'greek'", "street number refers to street_num; bar refers to food_type = 'bar'; Oakland refers to city = 'oakland'; 2.7 review refers to review = 2.7", "winery refers to food_type = 'winery'; street number refers to street_num; \"Tulocay Winery\" refers to label = 'Tulocay winery'", "more than 4 star review refers to review > 4", "the most popular refers to max(review); restaurant refers to label; San Francisco refers to city = 'San Francisco'", "asian restaurant refers to food_type = 'asian'; N. Milpitas Blvd. refers to street_name = 'n milpitas blvd'; Milpitas refers to city = 'milpitas'; restaurant ID greater than 385 refers to id_restaurant > 385" ] }
{ "query": "Which chicken restaurant has the highest review?", "pos": [ "chicken restaurant refers to food_type = 'chicken'; the highest review refers to max(review)" ], "neg": [ "no pizza restaurants refers to food_type = 'pizza'", "street refers to street_name; Good Heavens restaurant refers to label = 'good heavens'", "top-reviewed refers to review = 4; type of food refers to food_type\n\n", "Bay Area refers to region = 'bay area'; percentage = divide(count(id_restaurant where region = 'bay area'), count(id_restaurant)) * 100%", "Northern California refers to region = 'northern california'", "full address = street_num, street_name, city; Albert's Café refers to label = 'Albert's Café'", "the most popular refers to max(review); restaurant refers to label; San Francisco refers to city = 'San Francisco'", "street refers to street_name; review of 1.7 refers to review = 1.7", "street refers to street_name; the most restaurants refers to max(count(street_name))", "Mexican food refers to food_type = 'mexican'; percentage = divide(count(id_restaurant where food_type = 'mexican'), count(id_restaurant)) where county = 'monterey county' * 100%" ] }
{ "query": "Give the review of the restaurant at 430, Broadway.", "pos": [ "430 Broadway refers to street_num = 430 and street_name = 'Broadway'" ], "neg": [ "Broadway refers to street_name = 'broadway';  Oakland refers to city = 'oakland'; a review of no more than 3 refers to review < 3", "Adeline Street refers to street_name = 'adeline st'; type of food refers to food_type\n\n", "the most popular refers to max(review); restaurant refers to label; San Francisco refers to city = 'San Francisco'", "the most popular refers to max(review); Asian food refers to food_type = 'asian'; San Francisco refers to city = 'san francisco'", "Ocean St. refers to street_name = 'ocean st'; Santa Cruz refers to city = 'santa cruz'", "Italian food refers to food_type = 'Italian'", "a street called Appian Way refers to street_name = 'appian way'", "asian restaurant refers to food_type = 'asian'; N. Milpitas Blvd. refers to street_name = 'n milpitas blvd'; Milpitas refers to city = 'milpitas'; restaurant ID greater than 385 refers to id_restaurant > 385", "the top 4 most popular restaurant refers to top 4 max(review)", "9th Avenue refers to street_name = '9th avenue'; San Francisco refers to City = 'san francisco'" ] }
{ "query": "List the full address of all the American restaurants with a review of 4 or more?", "pos": [ "full address refers to street_num, street_name, city; American restaurant refers to food_type = 'american'; a review of 4 or more refers to review > 4" ], "neg": [ "no African food restaurants refers to food_type <> 'african'", "the highest number refers to max(count(id_restaurant))", "Bay Area refers to region = 'bay area'; percentage = divide(count(id_restaurant where region = 'bay area'), count(id_restaurant)) * 100%", "street number below 1000 refers to street_num < 1000; Railroad St. refers to street_name = 'railroad'", "restaurant refers to label; \"19th St. Oakland\" refers to street_name = '19th St' AND city = 'Oakland'", "1149 El Camino Real refers to street_num = 1149 and street_name = 'el camino real'", "street refers to street_name; more than 10 restaurants refers to count(id_restaurant) > 10", "Irving Street refers to street_name = 'irving'", "not in the Bay Area region refers to region ! = 'bay area'", "street refers to street_name; Good Heavens restaurant refers to label = 'good heavens'" ] }
{ "query": "List down the cities with unknown country.", "pos": [ "unknown county refers to county = 'unknown'" ], "neg": [ "street refers to street_name; the most restaurants refers to max(count(street_name))", "street number ranges from 1000 to 2000 refers to 1000 < = street_num < = 2000; Afghani restaurant refers to food_type = 'afghani'; percentage = divide(count(id_restaurant where food_type = 'afghani'), count(id_restaurant)) * 100%", "Italian food refers to food_type = 'Italian'", "type refers to food_type; most common refers to max(count(food_type))", "restaurant refers to label; \"19th St. Oakland\" refers to street_name = '19th St' AND city = 'Oakland'", "full address refers to street_num, street_name, city; American restaurant refers to food_type = 'american'; a review of 4 or more refers to review > 4", "Bay Area refers to region = 'bay area'; Santa Clara refers to county = 'santa clara county'", "restaurant refers to label; Park St refers to street_name = 'park st'", "El Cerrito refers to city = 'el cerrito'", "3140 Alpine Road at San Mateo County refers to street_num = 3140 AND street_name = 'alpine rd' AND County = 'san mateo county'; type of food refers to food_type" ] }
{ "query": "In 2012, how many complaints about Credit card product came from clients in Omaha?", "pos": [ "in 2012 refers to Date received LIKE'2012%'; in Omaha refers to city = 'Omaha'" ], "neg": [ "not in process with an agent refers to outcome ! = 'AGENT';", "male refers to sex = 'Male';", "elder refers to age < = 65; last name refers to last", "oldest age refers to max(age); male refers to sex = 'Male'", "first name refers to first; highest priority refers to priority = 2", "billing dispute refers to issue = 'Billing disputes';", "average age = avg(age where type = 'TT')", "on March 2017 refers to Date received LIKE '%03%' AND Date received LIKE '2017%'", "serve time refers to ser_time; longer ser_time means more verbose or longer complaint; on 2017/2/22 refers to \"Date received\" = '2017-02-22';", "address refers to address_1, address_2; via postal mail refers to Submitted via = 'Postal mail'; March 14 2012 refers to Date received = '2012-03-14'" ] }
{ "query": "Among the female clients that age between 20 to 40, list the date when their complaints were received.", "pos": [ "female refers to sex = 'Female'" ], "neg": [ "full names = first, middle, last; male refers to sex = 'Male';", "average = AVG(Complaint ID); credit cards refers to Product = 'Credit card'; New York refers to city = 'New York'; 3 consecutive years starting from 2015 refers to \"Date received\" BETWEEN 2015 AND 2017;", "in 2015 refers to Date received LIKE'2015%'; about Billing disputes refers to Issue = 'Billing disputes'; Portland refers to city = 'Portland'", "New York City refers to city = 'New York City'", "full names = first, middle, last; male refers to sex = 'Male'; year > 1990;", "percentage = MULTIPLY(DIVIDE(SUM(\"Consumer consent provided?\" = 'Consent provided'), COUNT(client_id)), 1.0); Mr refers to sex = 'Male'; consent provided by the customer refers to \"Consumer consent provided?\" = 'Consent provided';", "percentage = MULTIPLY(DIVIDE(SUM(sex = 'Male'), COUNT(client_id)), 1.0); male refers to sex = 'Male'; credit cards refers to Product = 'Credit card';", "most five stars refers to MAX(COUNT(stars = 5));", "complaint call refers to Complaint ID; birthday = year, month, day;", "gmail.com email refers to email like '%gmail.com'; in February 2017 refers to \"Date received\" BETWEEN '2017-01-02' AND '2017-02-28';" ] }