instruction
stringlengths
241
15.9k
source
stringclasses
2 values
<|context|>[{"columns":["constructorStandingsId","raceId","constructorId","points","position","positionText","wins"],"name":"constructorStandings","type":"grid"}]<|endoftext|><|prompter|>What are the numbers of races for each constructor id?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"constructorid"}]}}<|endoftext|><|prompter|>For each constructor id, how many races are there?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"constructorid"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["Company_ID","Name","Headquarters","Industry","Sales_in_Billion","Profits_in_Billion","Assets_in_Billion","Market_Value_in_Billion"],"name":"company","type":"grid"}]<|endoftext|><|prompter|>Which company has the largest sales?<|endoftext|><|assistant|>{"text":"Did you mean the name of the company with the largest sales?","dsl":{}}<|endoftext|><|prompter|>Yes thr name of the company that has the largest sales<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"Sales_in_Billion","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>Where is the headquarters of royal dutch shell?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"name","operation":"=","value":"'Royal Dutch Shell'"}]}}<|endoftext|><|prompter|>What kind of industry does royal dutch shell belongs to?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"name","operation":"=","value":"'Royal Dutch Shell'"}]}}<|endoftext|><|prompter|>Thanks!<|endoftext|><|assistant|>{"text":"bye.","dsl":{}}<|endoftext|>
COSQL
<|context|>[{"columns":["ID","Name","Stadium_ID","Year"],"name":"event","type":"grid"}]<|endoftext|><|prompter|>List all the event names by year from the most recent to the oldest.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"YEAR","direction":"desk"}]}}<|endoftext|><|prompter|>What is the name of the event that happened in the most recent year?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"YEAR","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["Manager_ID","Name","Country","Working_year_starts","Age","Level"],"name":"manager","type":"grid"}]<|endoftext|><|prompter|>What is the maximum level of managers in countries that are not "Australia"?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"LEVEL","aggregation":"max"},{"actionType":"ChangeCondition","column":"Country","operation":"!=","value":"'Australia\t'"}]}}<|endoftext|><|prompter|>What is the average age for all managers?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Age","aggregation":"avg"}]}}<|endoftext|><|prompter|>What are the names of managers in ascending order of level?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"LEVEL","direction":"ask"}]}}<|endoftext|><|prompter|>What is the name of the oldest manager?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"Age","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>Show the working years of managers in descending order of their level.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"LEVEL","direction":"desk"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["Museum_ID","visitor_ID","Num_of_Ticket","Total_spent"],"name":"visit","type":"grid"}]<|endoftext|><|prompter|>hmm, yes please<|endoftext|><|assistant|>{"text":"List the number of tickets bought in all visits ","dsl":{}}<|endoftext|><|prompter|>List the number of tickets bought in all visits <|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"num_of_ticket","aggregation":"sum"}]}}<|endoftext|><|prompter|>what is the maximum number of tickets bought in all visits <|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"num_of_ticket","aggregation":"max"}]}}<|endoftext|><|prompter|>what is the average number of tickets bought in all visits <|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"num_of_ticket","aggregation":"avg"}]}}<|endoftext|><|prompter|>Thanks! <|endoftext|><|assistant|>{"text":"Bye!","dsl":{}}<|endoftext|>
COSQL
<|context|>[{"columns":["staff_id","project_id","role_code","date_from","date_to","other_details"],"name":"Project_Staff","type":"grid"}]<|endoftext|><|prompter|>When do all the researcher role staff start to work, and when do they stop working?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"role_code","operation":"=","value":"researcher"}]}}<|endoftext|><|prompter|>When did researchers start and stop working?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"role_code","operation":"=","value":"researcher"}]}}<|endoftext|><|prompter|>How many kinds of roles are there for the staff?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"role_code","aggregation":"count"}]}}<|endoftext|><|prompter|>How many different roles are there on the project staff?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"role_code","aggregation":"count"}]}}<|endoftext|><|prompter|>When did the first staff for the projects started working?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"date_from","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>When did the first staff member start working?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"date_from","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>What is the last date of the staff leaving the projects?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"date_to","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>What is the last date that a staff member left a project?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"date_to","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>What are the staff roles of the staff who<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"date_from","operation":">","value":"2003-04-19 15:06:20"},{"actionType":"ChangeCondition","column":"date_to","operation":"<","value":"2016-03-15 00:33:18"}]}}<|endoftext|><|prompter|>What roles did staff members play between '2003-04-19 15:06:20' and '2016-03-15 00:33:18'?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"date_from","operation":">","value":"2003-04-19 15:06:20"},{"actionType":"ChangeCondition","column":"date_to","operation":"<","value":"2016-03-15 00:33:18"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["City_ID","City","Hanzi","Hanyu_Pinyin","Regional_Population","GDP"],"name":"city","type":"grid"}]<|endoftext|><|prompter|>Which three cities have the largest regional population?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"regional_population","limit":3,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>What are the three largest cities in terms of regional population?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"regional_population","limit":3,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>Which city has the lowest GDP? Please list the city name and its GDP.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"GDP","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>What is the city with the smallest GDP? Return the city and its GDP.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"GDP","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>Please give me a list of cities whose regional population is over 10000000.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"regional_population","operation":">","value":10000000}]}}<|endoftext|><|prompter|>Which cities have regional population above 10000000?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"regional_population","operation":">","value":10000000}]}}<|endoftext|><|prompter|>what is the GDP of the city with the largest population.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"Regional_Population","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>Find the GDP of the city with the largest regional population.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"Regional_Population","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["District_ID","District_name","Headquartered_City","City_Population","City_Area"],"name":"district","type":"grid"}]<|endoftext|><|prompter|>what is the average of city populations?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"City_Population","aggregation":"avg"}]}}<|endoftext|><|prompter|>what is the highest city population?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"City_Population","aggregation":"max"}]}}<|endoftext|><|prompter|>which district has the least area?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"city_area","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>thanks!<|endoftext|><|assistant|>{"text":"Bye","dsl":{}}<|endoftext|>
COSQL
<|context|>[{"columns":["Artwork_ID","Type","Name"],"name":"artwork","type":"grid"}]<|endoftext|><|prompter|>List the name of artworks in ascending alphabetical order.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"Name","direction":"ask"}]}}<|endoftext|><|prompter|>List the name of artworks whose type is not "Program Talent Show".<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"TYPE","operation":"!=","value":"'Program Talent Show'"}]}}<|endoftext|><|prompter|>Display various artwork categories and their respective quantities.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"TYPE"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["Artwork_ID","Type","Name"],"name":"artwork","type":"grid"}]<|endoftext|><|prompter|>List the name of artworks in ascending alphabetical order.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"Name","direction":"ask"}]}}<|endoftext|><|prompter|>List the name of artworks whose type is not "Program Talent Show".<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"TYPE","operation":"!=","value":"'Program Talent Show'"}]}}<|endoftext|><|prompter|>Show the different types of artworks and the corresponding number of artworks for each type.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"TYPE"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["Artwork_ID","Type","Name"],"name":"artwork","type":"grid"}]<|endoftext|><|prompter|>List the name of artworks in ascending alphabetical order.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"Name","direction":"ask"}]}}<|endoftext|><|prompter|>List the name of artworks whose type is not "Program Talent Show".<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"TYPE","operation":"!=","value":"'Program Talent Show'"}]}}<|endoftext|><|prompter|>Please show different types of artworks with the corresponding number of artworks of each type.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"TYPE"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["Driver_ID","Name","Party","Home_city","Age"],"name":"driver","type":"grid"}]<|endoftext|><|prompter|>Display the party and the number of affiliated drivers.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"party"}]}}<|endoftext|><|prompter|>Show the name of drivers in descending order of age.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"age","direction":"desk"}]}}<|endoftext|><|prompter|>Show the party with drivers from Hartford and drivers older than 40.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"home_city","operation":"=","value":"Hartford"},{"actionType":"ChangeCondition","column":"age","operation":">","value":40}]}}<|endoftext|><|prompter|>List names for drivers from Hartford city and younger than 40.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"home_city","operation":"=","value":"Hartford"},{"actionType":"ChangeCondition","column":"age","operation":"<","value":40}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["Driver_ID","Name","Party","Home_city","Age"],"name":"driver","type":"grid"}]<|endoftext|><|prompter|>Show the party and the number of drivers in each party.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"party"}]}}<|endoftext|><|prompter|>Show the name of drivers in descending order of age.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"age","direction":"desk"}]}}<|endoftext|><|prompter|>Show the party with drivers from Hartford and drivers older than 40.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"home_city","operation":"=","value":"Hartford"},{"actionType":"ChangeCondition","column":"age","operation":">","value":40}]}}<|endoftext|><|prompter|>List names for drivers from Hartford city and younger than 40.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"home_city","operation":"=","value":"Hartford"},{"actionType":"ChangeCondition","column":"age","operation":"<","value":40}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["Driver_ID","Name","Party","Home_city","Age"],"name":"driver","type":"grid"}]<|endoftext|><|prompter|>Show the party and the number of drivers in each party.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"party"}]}}<|endoftext|><|prompter|>Show the name of drivers in descending order of age.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"age","direction":"desk"}]}}<|endoftext|><|prompter|>Show the party with drivers from Hartford and drivers older than 40.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"home_city","operation":"=","value":"Hartford"},{"actionType":"ChangeCondition","column":"age","operation":">","value":40}]}}<|endoftext|><|prompter|>List names for drivers from Hartford city and younger than 40.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"home_city","operation":"=","value":"Hartford"},{"actionType":"ChangeCondition","column":"age","operation":"<","value":40}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["Shop_ID","Shop_Name","Location","Open_Date","Open_Year"],"name":"shop","type":"grid"}]<|endoftext|><|prompter|>how many locations have shops that opened before 2008?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Location","aggregation":"count"},{"actionType":"ChangeCondition","column":"Open_Year","operation":"=","value":"2008"}]}}<|endoftext|><|prompter|>how many shops opened later than 2012?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Location","aggregation":"count"},{"actionType":"ChangeCondition","column":"Open_Year","operation":">","value":"2012"}]}}<|endoftext|><|prompter|>can you show the locations for those stores?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Open_Year","operation":">","value":"2012"}]}}<|endoftext|><|prompter|>are there locations with shops that opened before 2008?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Open_Year","operation":"<","value":"2008"}]}}<|endoftext|><|prompter|>Thanks!<|endoftext|><|assistant|>{"text":"You are welcome!","dsl":{}}<|endoftext|>
COSQL
<|context|>[{"columns":["Code","Name","Continent","Region","SurfaceArea","IndepYear","Population","LifeExpectancy","GNP","GNPOld","LocalName","GovernmentForm","HeadOfState","Capital","Code2"],"name":"country","type":"grid"}]<|endoftext|><|prompter|>What are the names of all the countries that became independent after 1950?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"IndepYear","operation":">","value":1950}]}}<|endoftext|><|prompter|>Give the names of the nations that were founded after 1950.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"IndepYear","operation":">","value":1950}]}}<|endoftext|><|prompter|>How many countries have a republic as their form of government?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"GovernmentForm","operation":"=","value":"'Republic'"}]}}<|endoftext|><|prompter|>How many countries have governments that are republics?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"GovernmentForm","operation":"=","value":"'Republic'"}]}}<|endoftext|><|prompter|>What is the total surface area of the countries in the Caribbean region?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"SurfaceArea","aggregation":"sum"},{"actionType":"ChangeCondition","column":"Region","operation":"=","value":"'Caribbean'"}]}}<|endoftext|><|prompter|>How much surface area do the countires in the Carribean cover together?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"SurfaceArea","aggregation":"sum"},{"actionType":"ChangeCondition","column":"Region","operation":"=","value":"'Caribbean'"}]}}<|endoftext|><|prompter|>Which continent is Anguilla in?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Name","operation":"=","value":"'Anguilla'"}]}}<|endoftext|><|prompter|>What is the continent name which Anguilla belongs to?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Name","operation":"=","value":"'Anguilla'"}]}}<|endoftext|><|prompter|>What are the population and life expectancies in Brazil?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Name","operation":"=","value":"'Brazil'"}]}}<|endoftext|><|prompter|>Give me Brazil’s population and life expectancies.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Name","operation":"=","value":"'Brazil'"}]}}<|endoftext|><|prompter|>What are the region and population of Angola?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Name","operation":"=","value":"'Angola'"}]}}<|endoftext|><|prompter|>What region does Angola belong to and what is its population?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Name","operation":"=","value":"'Angola'"}]}}<|endoftext|><|prompter|>What is the average expected life expectancy for countries in the region of Central Africa?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"LifeExpectancy","aggregation":"avg"},{"actionType":"ChangeCondition","column":"Region","operation":"=","value":"'Central Africa'"}]}}<|endoftext|><|prompter|>How long is the people’s average life expectancy in Central Africa?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"LifeExpectancy","aggregation":"avg"},{"actionType":"ChangeCondition","column":"Region","operation":"=","value":"'Central Africa'"}]}}<|endoftext|><|prompter|>What is the name of country that has the shortest life expectancy in Asia?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Continent","operation":"=","value":"'Asia'"},{"actionType":"ChangeTopFilter","column":"LifeExpectancy","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>Give the name of the country in Asia with the lowest life expectancy.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Continent","operation":"=","value":"'Asia'"},{"actionType":"ChangeTopFilter","column":"LifeExpectancy","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>What is the total population and maximum GNP in Asia?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Population","aggregation":"sum"},{"actionType":"ChangeAggregations","column":"GNP","aggregation":"max"},{"actionType":"ChangeCondition","column":"Continent","operation":"=","value":"'Asia'"}]}}<|endoftext|><|prompter|>How many people live in Asia, and what is the largest GNP among them?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Population","aggregation":"sum"},{"actionType":"ChangeAggregations","column":"GNP","aggregation":"max"},{"actionType":"ChangeCondition","column":"Continent","operation":"=","value":"'Asia'"}]}}<|endoftext|><|prompter|>What is the average life expectancy in African countries that are republics?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"LifeExpectancy","aggregation":"avg"},{"actionType":"ChangeCondition","column":"Continent","operation":"=","value":"'Africa'"},{"actionType":"ChangeCondition","column":"GovernmentForm","operation":"=","value":"'Republic'"}]}}<|endoftext|><|prompter|>Give the average life expectancy for countries in Africa which are republics?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"LifeExpectancy","aggregation":"avg"},{"actionType":"ChangeCondition","column":"Continent","operation":"=","value":"'Africa'"},{"actionType":"ChangeCondition","column":"GovernmentForm","operation":"=","value":"'Republic'"}]}}<|endoftext|><|prompter|>What is the average GNP and total population in all nations whose government is US territory?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"GNP","aggregation":"avg"},{"actionType":"ChangeAggregations","column":"population","aggregation":"sum"},{"actionType":"ChangeCondition","column":"GovernmentForm","operation":"=","value":"'US Territory'"}]}}<|endoftext|><|prompter|>Give the mean GNP and total population of nations which are considered US territory.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"GNP","aggregation":"avg"},{"actionType":"ChangeAggregations","column":"population","aggregation":"sum"},{"actionType":"ChangeCondition","column":"GovernmentForm","operation":"=","value":"'US Territory'"}]}}<|endoftext|><|prompter|>How many type of governments are in Africa?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"GovernmentForm","aggregation":"count"},{"actionType":"ChangeCondition","column":"Continent","operation":"=","value":"'Africa'"}]}}<|endoftext|><|prompter|>How many different forms of governments are there in Africa?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"GovernmentForm","aggregation":"count"},{"actionType":"ChangeCondition","column":"Continent","operation":"=","value":"'Africa'"}]}}<|endoftext|><|prompter|>Find the name, population and expected life length of asian country with the largest area?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Continent","operation":"=","value":"'Asia'"},{"actionType":"ChangeTopFilter","column":"SurfaceArea","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>What are the name, population, and life expectancy of the largest Asian country by land?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Continent","operation":"=","value":"'Asia'"},{"actionType":"ChangeTopFilter","column":"SurfaceArea","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>What are the name, independence year, and surface area of the country with the smallest population?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"Population","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>Give the name, year of independence, and surface area of the country that has the lowest population.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"Population","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>What are the population, name and leader of the country with the largest area?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"SurfaceArea","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>Give the name, population, and head of state for the country that has the largest area.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"SurfaceArea","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>What are the names and areas of countries with the top 5 largest area?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"SurfaceArea","limit":5,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>Return the names and surface areas of the 5 largest countries.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"SurfaceArea","limit":5,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>What are names of countries with the top 3 largest population?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"Population","limit":3,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>Return the names of the 3 most populated countries.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"Population","limit":3,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>What are the names of the nations with the 3 lowest populations?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"Population","limit":3,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>Return the names of the 3 countries with the fewest people.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"Population","limit":3,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>how many countries are in Asia?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"continent","operation":"=","value":"'Asia'"}]}}<|endoftext|><|prompter|>Count the number of countries in Asia.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"continent","operation":"=","value":"'Asia'"}]}}<|endoftext|><|prompter|>What are the names of the countries that are in the continent of Europe and have a population of 80000?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"continent","operation":"=","value":"'Europe'"},{"actionType":"ChangeCondition","column":"Population","operation":"=","value":"'80000'"}]}}<|endoftext|><|prompter|>Give the names of countries that are in Europe and have a population equal to 80000.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"continent","operation":"=","value":"'Europe'"},{"actionType":"ChangeCondition","column":"Population","operation":"=","value":"'80000'"}]}}<|endoftext|><|prompter|>What is the total population and average area of countries in the continent of North America whose area is bigger than 3000 ?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"population","aggregation":"sum"},{"actionType":"ChangeAggregations","column":"surfacearea","aggregation":"avg"},{"actionType":"ChangeCondition","column":"continent","operation":"=","value":"'north america'"},{"actionType":"ChangeCondition","column":"surfacearea","operation":">","value":3000}]}}<|endoftext|><|prompter|>Give the total population and average surface area corresponding to countries in North America that have a surface area greater than 3000 .<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"population","aggregation":"sum"},{"actionType":"ChangeAggregations","column":"surfacearea","aggregation":"avg"},{"actionType":"ChangeCondition","column":"continent","operation":"=","value":"'north america'"},{"actionType":"ChangeCondition","column":"surfacearea","operation":">","value":3000}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["g_name","rating","most_popular_in"],"name":"genre","type":"grid"}]<|endoftext|><|prompter|>List the names of all genres in alphabetical oder, together with its ratings.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"g_name","direction":"ask"}]}}<|endoftext|><|prompter|>What are the names of all genres in alphabetical order, combined with its ratings?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"g_name","direction":"ask"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["Shop_ID","Address","Num_of_staff","Score","Open_Year"],"name":"shop","type":"grid"}]<|endoftext|><|prompter|>Show the shop addresses ordered by their opening year.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"open_year","direction":"ask"}]}}<|endoftext|><|prompter|>What are the average score and average staff number of all shops?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"num_of_staff","aggregation":"avg"},{"actionType":"ChangeAggregations","column":"score","aggregation":"avg"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["part_id","part_name","chargeable_yn","chargeable_amount","other_part_details"],"name":"Parts","type":"grid"}]<|endoftext|><|prompter|>Which part has the least chargeable amount? List the part id and amount.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"chargeable_amount","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["Document_ID","Document_Type_Code","Project_ID","Document_Date","Document_Name","Document_Description","Other_Details"],"name":"Documents","type":"grid"}]<|endoftext|><|prompter|>Find names and ids of all documents with document type code BK.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"document_type_code","operation":"=","value":"'BK'"}]}}<|endoftext|><|prompter|>What are the names and ids of documents that have the type code BK?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"document_type_code","operation":"=","value":"'BK'"}]}}<|endoftext|><|prompter|>For each product id, how many documents have a document type code of BK?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"document_type_code","operation":"=","value":"'BK'"},{"actionType":"ChangeGrouping","column":"project_id"}]}}<|endoftext|><|prompter|>Count the number of documents with the type code BK that correspond to each product id.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"document_type_code","operation":"=","value":"'BK'"},{"actionType":"ChangeGrouping","column":"project_id"}]}}<|endoftext|><|prompter|>Show project ids and the number of documents in each project.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"project_id"}]}}<|endoftext|><|prompter|>How many documents correspond with each project id?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"project_id"}]}}<|endoftext|><|prompter|>List document type codes and the number of documents in each code.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"document_type_code"}]}}<|endoftext|><|prompter|>How many documents are there of each type?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"document_type_code"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["Document_ID","Document_Type_Code","Project_ID","Document_Date","Document_Name","Document_Description","Other_Details"],"name":"Documents","type":"grid"}]<|endoftext|><|prompter|>Find names and ids of all documents with document type code BK.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"document_type_code","operation":"=","value":"'BK'"}]}}<|endoftext|><|prompter|>What are the names and ids of documents that have the type code BK?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"document_type_code","operation":"=","value":"'BK'"}]}}<|endoftext|><|prompter|>How many documents with document type code BK are associated with each product ID?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"document_type_code","operation":"=","value":"'BK'"},{"actionType":"ChangeGrouping","column":"project_id"}]}}<|endoftext|><|prompter|>Count the number of documents with the type code BK that correspond to each product id.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"document_type_code","operation":"=","value":"'BK'"},{"actionType":"ChangeGrouping","column":"project_id"}]}}<|endoftext|><|prompter|>Show project ids and the number of documents in each project.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"project_id"}]}}<|endoftext|><|prompter|>How many documents correspond with each project id?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"project_id"}]}}<|endoftext|><|prompter|>List document type codes and the number of documents in each code.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"document_type_code"}]}}<|endoftext|><|prompter|>How many documents are there of each type?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"document_type_code"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["Document_ID","Document_Type_Code","Project_ID","Document_Date","Document_Name","Document_Description","Other_Details"],"name":"Documents","type":"grid"}]<|endoftext|><|prompter|>Find names and ids of all documents with document type code BK.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"document_type_code","operation":"=","value":"'BK'"}]}}<|endoftext|><|prompter|>What are the names and ids of documents that have the type code BK?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"document_type_code","operation":"=","value":"'BK'"}]}}<|endoftext|><|prompter|>How many documents are with document type code BK for each product id?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"document_type_code","operation":"=","value":"'BK'"},{"actionType":"ChangeGrouping","column":"project_id"}]}}<|endoftext|><|prompter|>Count the number of documents with type code BK for each product id.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"document_type_code","operation":"=","value":"'BK'"},{"actionType":"ChangeGrouping","column":"project_id"}]}}<|endoftext|><|prompter|>Show project ids and the number of documents in each project.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"project_id"}]}}<|endoftext|><|prompter|>How many documents correspond with each project id?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"project_id"}]}}<|endoftext|><|prompter|>List document type codes and the number of documents in each code.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"document_type_code"}]}}<|endoftext|><|prompter|>How many documents are there of each type?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"document_type_code"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["Document_ID","Document_Type_Code","Project_ID","Document_Date","Document_Name","Document_Description","Other_Details"],"name":"Documents","type":"grid"}]<|endoftext|><|prompter|>Find names and ids of all documents with document type code BK.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"document_type_code","operation":"=","value":"'BK'"}]}}<|endoftext|><|prompter|>What are the names and ids of documents that have the type code BK?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"document_type_code","operation":"=","value":"'BK'"}]}}<|endoftext|><|prompter|>How many documents are with document type code BK for each product id?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"document_type_code","operation":"=","value":"'BK'"},{"actionType":"ChangeGrouping","column":"project_id"}]}}<|endoftext|><|prompter|>Count the number of documents with type code BK that correspond to each product id.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"document_type_code","operation":"=","value":"'BK'"},{"actionType":"ChangeGrouping","column":"project_id"}]}}<|endoftext|><|prompter|>Show project ids and the number of documents in each project.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"project_id"}]}}<|endoftext|><|prompter|>How many documents correspond with each project id?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"project_id"}]}}<|endoftext|><|prompter|>List document type codes and the number of documents in each code.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"document_type_code"}]}}<|endoftext|><|prompter|>How many documents are there of each type?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"document_type_code"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["Document_ID","Document_Type_Code","Project_ID","Document_Date","Document_Name","Document_Description","Other_Details"],"name":"Documents","type":"grid"}]<|endoftext|><|prompter|>Find names and ids of all documents with document type code BK.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"document_type_code","operation":"=","value":"'BK'"}]}}<|endoftext|><|prompter|>What are the names and ids of documents that have the type code BK?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"document_type_code","operation":"=","value":"'BK'"}]}}<|endoftext|><|prompter|>How many documents are with document type code BK for each product id?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"document_type_code","operation":"=","value":"'BK'"},{"actionType":"ChangeGrouping","column":"project_id"}]}}<|endoftext|><|prompter|>Count the number of documents with the type code BK that correspond to each product id.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"document_type_code","operation":"=","value":"'BK'"},{"actionType":"ChangeGrouping","column":"project_id"}]}}<|endoftext|><|prompter|>Display project IDs and the document count for each project.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"project_id"}]}}<|endoftext|><|prompter|>How many documents correspond with each project id?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"project_id"}]}}<|endoftext|><|prompter|>List document type codes and the number of documents in each code.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"document_type_code"}]}}<|endoftext|><|prompter|>How many documents are there of each type?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"document_type_code"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["Document_ID","Document_Type_Code","Project_ID","Document_Date","Document_Name","Document_Description","Other_Details"],"name":"Documents","type":"grid"}]<|endoftext|><|prompter|>Find names and ids of all documents with document type code BK.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"document_type_code","operation":"=","value":"'BK'"}]}}<|endoftext|><|prompter|>What are the names and ids of documents that have the type code BK?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"document_type_code","operation":"=","value":"'BK'"}]}}<|endoftext|><|prompter|>How many documents are with document type code BK for each product id?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"document_type_code","operation":"=","value":"'BK'"},{"actionType":"ChangeGrouping","column":"project_id"}]}}<|endoftext|><|prompter|>Count the number of documents with the type code BK that correspond to each product id.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"document_type_code","operation":"=","value":"'BK'"},{"actionType":"ChangeGrouping","column":"project_id"}]}}<|endoftext|><|prompter|>Show project ids and the number of documents in each project.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"project_id"}]}}<|endoftext|><|prompter|>How many documents correspond with each project id?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"project_id"}]}}<|endoftext|><|prompter|>List document type codes and the number of documents in each code.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"document_type_code"}]}}<|endoftext|><|prompter|>How many documents are there of each type?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"document_type_code"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["Document_ID","Document_Type_Code","Project_ID","Document_Date","Document_Name","Document_Description","Other_Details"],"name":"Documents","type":"grid"}]<|endoftext|><|prompter|>Find names and ids of all documents with document type code BK.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"document_type_code","operation":"=","value":"'BK'"}]}}<|endoftext|><|prompter|>What are the names and ids of documents that have the type code BK?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"document_type_code","operation":"=","value":"'BK'"}]}}<|endoftext|><|prompter|>How many documents are with document type code BK for each product id?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"document_type_code","operation":"=","value":"'BK'"},{"actionType":"ChangeGrouping","column":"project_id"}]}}<|endoftext|><|prompter|>Count the number of documents with the type code BK that correspond to each product id.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"document_type_code","operation":"=","value":"'BK'"},{"actionType":"ChangeGrouping","column":"project_id"}]}}<|endoftext|><|prompter|>Show project ids and the number of documents in each project.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"project_id"}]}}<|endoftext|><|prompter|>How many documents are associated with each project ID?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"project_id"}]}}<|endoftext|><|prompter|>List document type codes and the number of documents in each code.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"document_type_code"}]}}<|endoftext|><|prompter|>How many documents are there of each type?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"document_type_code"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["Document_ID","Document_Type_Code","Project_ID","Document_Date","Document_Name","Document_Description","Other_Details"],"name":"Documents","type":"grid"}]<|endoftext|><|prompter|>Find names and ids of all documents with document type code BK.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"document_type_code","operation":"=","value":"'BK'"}]}}<|endoftext|><|prompter|>What are the names and ids of documents that have the type code BK?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"document_type_code","operation":"=","value":"'BK'"}]}}<|endoftext|><|prompter|>How many documents are with document type code BK for each product id?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"document_type_code","operation":"=","value":"'BK'"},{"actionType":"ChangeGrouping","column":"project_id"}]}}<|endoftext|><|prompter|>Count the number of documents with the type code BK that correspond to each product id.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"document_type_code","operation":"=","value":"'BK'"},{"actionType":"ChangeGrouping","column":"project_id"}]}}<|endoftext|><|prompter|>Show project ids and the number of documents in each project.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"project_id"}]}}<|endoftext|><|prompter|>Determine the number of documents corresponding to each project id.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"project_id"}]}}<|endoftext|><|prompter|>List document type codes and the number of documents in each code.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"document_type_code"}]}}<|endoftext|><|prompter|>How many documents are there of each type?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"document_type_code"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["Document_ID","Document_Type_Code","Project_ID","Document_Date","Document_Name","Document_Description","Other_Details"],"name":"Documents","type":"grid"}]<|endoftext|><|prompter|>Find names and ids of all documents with document type code BK.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"document_type_code","operation":"=","value":"'BK'"}]}}<|endoftext|><|prompter|>What are the names and ids of documents that have the type code BK?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"document_type_code","operation":"=","value":"'BK'"}]}}<|endoftext|><|prompter|>How many documents are with document type code BK for each product id?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"document_type_code","operation":"=","value":"'BK'"},{"actionType":"ChangeGrouping","column":"project_id"}]}}<|endoftext|><|prompter|>Count the number of documents with the type code BK that correspond to each product id.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"document_type_code","operation":"=","value":"'BK'"},{"actionType":"ChangeGrouping","column":"project_id"}]}}<|endoftext|><|prompter|>Show project ids and the number of documents in each project.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"project_id"}]}}<|endoftext|><|prompter|>How many documents correspond with each project id?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"project_id"}]}}<|endoftext|><|prompter|>Enumerate document type codes and their corresponding document counts.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"document_type_code"}]}}<|endoftext|><|prompter|>How many documents are there of each type?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"document_type_code"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["Document_ID","Document_Type_Code","Project_ID","Document_Date","Document_Name","Document_Description","Other_Details"],"name":"Documents","type":"grid"}]<|endoftext|><|prompter|>Find names and ids of all documents with document type code BK.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"document_type_code","operation":"=","value":"'BK'"}]}}<|endoftext|><|prompter|>What are the names and ids of documents that have the type code BK?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"document_type_code","operation":"=","value":"'BK'"}]}}<|endoftext|><|prompter|>How many documents are with document type code BK for each product id?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"document_type_code","operation":"=","value":"'BK'"},{"actionType":"ChangeGrouping","column":"project_id"}]}}<|endoftext|><|prompter|>Count the number of documents with the type code BK that correspond to each product id.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"document_type_code","operation":"=","value":"'BK'"},{"actionType":"ChangeGrouping","column":"project_id"}]}}<|endoftext|><|prompter|>Show project ids and the number of documents in each project.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"project_id"}]}}<|endoftext|><|prompter|>How many documents correspond with each project id?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"project_id"}]}}<|endoftext|><|prompter|>List document type codes and the number of documents in each code.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"document_type_code"}]}}<|endoftext|><|prompter|>How many documents are there of each type?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"document_type_code"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["Document_ID","Document_Type_Code","Project_ID","Document_Date","Document_Name","Document_Description","Other_Details"],"name":"Documents","type":"grid"}]<|endoftext|><|prompter|>Find names and ids of all documents with document type code BK.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"document_type_code","operation":"=","value":"'BK'"}]}}<|endoftext|><|prompter|>What are the names and ids of documents that have the type code BK?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"document_type_code","operation":"=","value":"'BK'"}]}}<|endoftext|><|prompter|>How many documents are with document type code BK for each product id?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"document_type_code","operation":"=","value":"'BK'"},{"actionType":"ChangeGrouping","column":"project_id"}]}}<|endoftext|><|prompter|>Count the number of documents with the type code BK that correspond to each product id.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"document_type_code","operation":"=","value":"'BK'"},{"actionType":"ChangeGrouping","column":"project_id"}]}}<|endoftext|><|prompter|>Show project ids and the number of documents in each project.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"project_id"}]}}<|endoftext|><|prompter|>How many documents correspond with each project id?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"project_id"}]}}<|endoftext|><|prompter|>List document type codes and the number of documents in each code.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"document_type_code"}]}}<|endoftext|><|prompter|>How many documents exist for each category?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"document_type_code"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["Document_ID","Document_Type_Code","Project_ID","Document_Date","Document_Name","Document_Description","Other_Details"],"name":"Documents","type":"grid"}]<|endoftext|><|prompter|>Find names and ids of all documents with document type code BK.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"document_type_code","operation":"=","value":"'BK'"}]}}<|endoftext|><|prompter|>What are the names and ids of documents that have the type code BK?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"document_type_code","operation":"=","value":"'BK'"}]}}<|endoftext|><|prompter|>How many documents are with document type code BK for each product id?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"document_type_code","operation":"=","value":"'BK'"},{"actionType":"ChangeGrouping","column":"project_id"}]}}<|endoftext|><|prompter|>Count the number of documents with the type code BK that correspond to each product id.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"document_type_code","operation":"=","value":"'BK'"},{"actionType":"ChangeGrouping","column":"project_id"}]}}<|endoftext|><|prompter|>Show project ids and the number of documents in each project.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"project_id"}]}}<|endoftext|><|prompter|>How many documents correspond with each project id?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"project_id"}]}}<|endoftext|><|prompter|>List document type codes and the number of documents in each code.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"document_type_code"}]}}<|endoftext|><|prompter|>Provide a count of documents for each document type.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"document_type_code"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["Document_ID","Document_Type_Code","Project_ID","Document_Date","Document_Name","Document_Description","Other_Details"],"name":"Documents","type":"grid"}]<|endoftext|><|prompter|>Find names and ids of all documents with document type code BK.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"document_type_code","operation":"=","value":"'BK'"}]}}<|endoftext|><|prompter|>What are the names and ids of documents that have the type code BK?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"document_type_code","operation":"=","value":"'BK'"}]}}<|endoftext|><|prompter|>How many documents are with document type code BK for each product id?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"document_type_code","operation":"=","value":"'BK'"},{"actionType":"ChangeGrouping","column":"project_id"}]}}<|endoftext|><|prompter|>Count the number of documents with the type code BK that correspond to each product id.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"document_type_code","operation":"=","value":"'BK'"},{"actionType":"ChangeGrouping","column":"project_id"}]}}<|endoftext|><|prompter|>Show project ids and the number of documents in each project.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"project_id"}]}}<|endoftext|><|prompter|>How many documents correspond with each project id?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"project_id"}]}}<|endoftext|><|prompter|>List document type codes and the number of documents in each code.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"document_type_code"}]}}<|endoftext|><|prompter|>How many documents are there of each type?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"document_type_code"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["id","last_name","first_name","title","reports_to","birth_date","hire_date","address","city","state","country","postal_code","phone","fax","email"],"name":"employees","type":"grid"}]<|endoftext|><|prompter|>What is the title, phone and hire date of Nancy Edwards?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"first_name","operation":"=","value":"'Nancy'"},{"actionType":"ChangeCondition","column":"last_name","operation":"=","value":"'Edwards'"}]}}<|endoftext|><|prompter|>What is the title, phone number and hire date for the employee named Nancy Edwards?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"first_name","operation":"=","value":"'Nancy'"},{"actionType":"ChangeCondition","column":"last_name","operation":"=","value":"'Edwards'"}]}}<|endoftext|><|prompter|>What is the address of employee Nancy Edwards?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"first_name","operation":"=","value":"'Nancy'"},{"actionType":"ChangeCondition","column":"last_name","operation":"=","value":"'Edwards'"}]}}<|endoftext|><|prompter|>What is Nancy Edwards's address?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"first_name","operation":"=","value":"'Nancy'"},{"actionType":"ChangeCondition","column":"last_name","operation":"=","value":"'Edwards'"}]}}<|endoftext|><|prompter|>How many employees are living in Canada?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"country","operation":"=","value":"'Canada'"}]}}<|endoftext|><|prompter|>How many employees live in Canada?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"country","operation":"=","value":"'Canada'"}]}}<|endoftext|><|prompter|>What is employee Nancy Edwards's phone number?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"first_name","operation":"=","value":"'Nancy'"},{"actionType":"ChangeCondition","column":"last_name","operation":"=","value":"'Edwards'"}]}}<|endoftext|><|prompter|>What is the the phone number of Nancy Edwards?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"first_name","operation":"=","value":"'Nancy'"},{"actionType":"ChangeCondition","column":"last_name","operation":"=","value":"'Edwards'"}]}}<|endoftext|><|prompter|>Who is the youngest employee in the company? List employee's first and last name.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"birth_date","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>What si the youngest employee's first and last name?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"birth_date","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>List top 10 employee work longest in the company. List employee's first and last name.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"hire_date","limit":10,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>What are the first and last names of the top 10 longest-serving employees?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"hire_date","limit":10,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>Identify the count of IT Staff employees in each city.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"title","operation":"=","value":"IT Staff"},{"actionType":"ChangeGrouping","column":"city"}]}}<|endoftext|><|prompter|>How many employees who are IT staff are from each city?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"title","operation":"=","value":"IT Staff"},{"actionType":"ChangeGrouping","column":"city"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["id","last_name","first_name","title","reports_to","birth_date","hire_date","address","city","state","country","postal_code","phone","fax","email"],"name":"employees","type":"grid"}]<|endoftext|><|prompter|>What is the title, phone and hire date of Nancy Edwards?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"first_name","operation":"=","value":"'Nancy'"},{"actionType":"ChangeCondition","column":"last_name","operation":"=","value":"'Edwards'"}]}}<|endoftext|><|prompter|>What is the title, phone number and hire date for the employee named Nancy Edwards?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"first_name","operation":"=","value":"'Nancy'"},{"actionType":"ChangeCondition","column":"last_name","operation":"=","value":"'Edwards'"}]}}<|endoftext|><|prompter|>What is the address of employee Nancy Edwards?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"first_name","operation":"=","value":"'Nancy'"},{"actionType":"ChangeCondition","column":"last_name","operation":"=","value":"'Edwards'"}]}}<|endoftext|><|prompter|>What is Nancy Edwards's address?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"first_name","operation":"=","value":"'Nancy'"},{"actionType":"ChangeCondition","column":"last_name","operation":"=","value":"'Edwards'"}]}}<|endoftext|><|prompter|>How many employees are living in Canada?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"country","operation":"=","value":"'Canada'"}]}}<|endoftext|><|prompter|>How many employees live in Canada?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"country","operation":"=","value":"'Canada'"}]}}<|endoftext|><|prompter|>What is employee Nancy Edwards's phone number?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"first_name","operation":"=","value":"'Nancy'"},{"actionType":"ChangeCondition","column":"last_name","operation":"=","value":"'Edwards'"}]}}<|endoftext|><|prompter|>What is the the phone number of Nancy Edwards?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"first_name","operation":"=","value":"'Nancy'"},{"actionType":"ChangeCondition","column":"last_name","operation":"=","value":"'Edwards'"}]}}<|endoftext|><|prompter|>Who is the youngest employee in the company? List employee's first and last name.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"birth_date","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>What si the youngest employee's first and last name?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"birth_date","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>List top 10 employee work longest in the company. List employee's first and last name.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"hire_date","limit":10,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>What are the first and last names of the top 10 longest-serving employees?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"hire_date","limit":10,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>Find the count of IT Staff employees in each city.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"title","operation":"=","value":"IT Staff"},{"actionType":"ChangeGrouping","column":"city"}]}}<|endoftext|><|prompter|>How many employees who are IT staff are from each city?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"title","operation":"=","value":"IT Staff"},{"actionType":"ChangeGrouping","column":"city"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["id","last_name","first_name","title","reports_to","birth_date","hire_date","address","city","state","country","postal_code","phone","fax","email"],"name":"employees","type":"grid"}]<|endoftext|><|prompter|>What is the title, phone and hire date of Nancy Edwards?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"first_name","operation":"=","value":"'Nancy'"},{"actionType":"ChangeCondition","column":"last_name","operation":"=","value":"'Edwards'"}]}}<|endoftext|><|prompter|>What is the title, phone number and hire date for the employee named Nancy Edwards?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"first_name","operation":"=","value":"'Nancy'"},{"actionType":"ChangeCondition","column":"last_name","operation":"=","value":"'Edwards'"}]}}<|endoftext|><|prompter|>What is the address of employee Nancy Edwards?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"first_name","operation":"=","value":"'Nancy'"},{"actionType":"ChangeCondition","column":"last_name","operation":"=","value":"'Edwards'"}]}}<|endoftext|><|prompter|>What is Nancy Edwards's address?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"first_name","operation":"=","value":"'Nancy'"},{"actionType":"ChangeCondition","column":"last_name","operation":"=","value":"'Edwards'"}]}}<|endoftext|><|prompter|>How many employees are living in Canada?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"country","operation":"=","value":"'Canada'"}]}}<|endoftext|><|prompter|>How many employees live in Canada?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"country","operation":"=","value":"'Canada'"}]}}<|endoftext|><|prompter|>What is employee Nancy Edwards's phone number?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"first_name","operation":"=","value":"'Nancy'"},{"actionType":"ChangeCondition","column":"last_name","operation":"=","value":"'Edwards'"}]}}<|endoftext|><|prompter|>What is the the phone number of Nancy Edwards?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"first_name","operation":"=","value":"'Nancy'"},{"actionType":"ChangeCondition","column":"last_name","operation":"=","value":"'Edwards'"}]}}<|endoftext|><|prompter|>Who is the youngest employee in the company? List employee's first and last name.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"birth_date","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>What si the youngest employee's first and last name?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"birth_date","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>List top 10 employee work longest in the company. List employee's first and last name.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"hire_date","limit":10,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>What are the first and last names of the top 10 longest-serving employees?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"hire_date","limit":10,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>Find the number of employees whose title is IT Staff from each city?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"title","operation":"=","value":"IT Staff"},{"actionType":"ChangeGrouping","column":"city"}]}}<|endoftext|><|prompter|>In each city, how many IT staff employees are there?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"title","operation":"=","value":"IT Staff"},{"actionType":"ChangeGrouping","column":"city"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["id","last_name","first_name","title","reports_to","birth_date","hire_date","address","city","state","country","postal_code","phone","fax","email"],"name":"employees","type":"grid"}]<|endoftext|><|prompter|>What is the title, phone and hire date of Nancy Edwards?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"first_name","operation":"=","value":"'Nancy'"},{"actionType":"ChangeCondition","column":"last_name","operation":"=","value":"'Edwards'"}]}}<|endoftext|><|prompter|>What is the title, phone number and hire date for the employee named Nancy Edwards?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"first_name","operation":"=","value":"'Nancy'"},{"actionType":"ChangeCondition","column":"last_name","operation":"=","value":"'Edwards'"}]}}<|endoftext|><|prompter|>What is the address of employee Nancy Edwards?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"first_name","operation":"=","value":"'Nancy'"},{"actionType":"ChangeCondition","column":"last_name","operation":"=","value":"'Edwards'"}]}}<|endoftext|><|prompter|>What is Nancy Edwards's address?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"first_name","operation":"=","value":"'Nancy'"},{"actionType":"ChangeCondition","column":"last_name","operation":"=","value":"'Edwards'"}]}}<|endoftext|><|prompter|>How many employees are living in Canada?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"country","operation":"=","value":"'Canada'"}]}}<|endoftext|><|prompter|>How many employees live in Canada?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"country","operation":"=","value":"'Canada'"}]}}<|endoftext|><|prompter|>What is employee Nancy Edwards's phone number?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"first_name","operation":"=","value":"'Nancy'"},{"actionType":"ChangeCondition","column":"last_name","operation":"=","value":"'Edwards'"}]}}<|endoftext|><|prompter|>What is the the phone number of Nancy Edwards?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"first_name","operation":"=","value":"'Nancy'"},{"actionType":"ChangeCondition","column":"last_name","operation":"=","value":"'Edwards'"}]}}<|endoftext|><|prompter|>Who is the youngest employee in the company? List employee's first and last name.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"birth_date","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>What si the youngest employee's first and last name?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"birth_date","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>List top 10 employee work longest in the company. List employee's first and last name.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"hire_date","limit":10,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>What are the first and last names of the top 10 longest-serving employees?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"hire_date","limit":10,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>Find the number of employees whose title is IT Staff from each city?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"title","operation":"=","value":"IT Staff"},{"actionType":"ChangeGrouping","column":"city"}]}}<|endoftext|><|prompter|>Show the number of IT staff employees from each city.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"title","operation":"=","value":"IT Staff"},{"actionType":"ChangeGrouping","column":"city"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["id","last_name","first_name","title","reports_to","birth_date","hire_date","address","city","state","country","postal_code","phone","fax","email"],"name":"employees","type":"grid"}]<|endoftext|><|prompter|>What is the title, phone and hire date of Nancy Edwards?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"first_name","operation":"=","value":"'Nancy'"},{"actionType":"ChangeCondition","column":"last_name","operation":"=","value":"'Edwards'"}]}}<|endoftext|><|prompter|>What is the title, phone number and hire date for the employee named Nancy Edwards?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"first_name","operation":"=","value":"'Nancy'"},{"actionType":"ChangeCondition","column":"last_name","operation":"=","value":"'Edwards'"}]}}<|endoftext|><|prompter|>What is the address of employee Nancy Edwards?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"first_name","operation":"=","value":"'Nancy'"},{"actionType":"ChangeCondition","column":"last_name","operation":"=","value":"'Edwards'"}]}}<|endoftext|><|prompter|>What is Nancy Edwards's address?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"first_name","operation":"=","value":"'Nancy'"},{"actionType":"ChangeCondition","column":"last_name","operation":"=","value":"'Edwards'"}]}}<|endoftext|><|prompter|>How many employees are living in Canada?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"country","operation":"=","value":"'Canada'"}]}}<|endoftext|><|prompter|>How many employees live in Canada?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"country","operation":"=","value":"'Canada'"}]}}<|endoftext|><|prompter|>What is employee Nancy Edwards's phone number?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"first_name","operation":"=","value":"'Nancy'"},{"actionType":"ChangeCondition","column":"last_name","operation":"=","value":"'Edwards'"}]}}<|endoftext|><|prompter|>What is the the phone number of Nancy Edwards?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"first_name","operation":"=","value":"'Nancy'"},{"actionType":"ChangeCondition","column":"last_name","operation":"=","value":"'Edwards'"}]}}<|endoftext|><|prompter|>Who is the youngest employee in the company? List employee's first and last name.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"birth_date","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>What si the youngest employee's first and last name?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"birth_date","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>List top 10 employee work longest in the company. List employee's first and last name.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"hire_date","limit":10,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>What are the first and last names of the top 10 longest-serving employees?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"hire_date","limit":10,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>Find the number of employees whose title is IT Staff from each city?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"title","operation":"=","value":"IT Staff"},{"actionType":"ChangeGrouping","column":"city"}]}}<|endoftext|><|prompter|>How many employees who are IT staff are from each city?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"title","operation":"=","value":"IT Staff"},{"actionType":"ChangeGrouping","column":"city"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["product_id","product","dimensions","dpi","pages_per_minute_color","max_page_size","interface"],"name":"product","type":"grid"}]<|endoftext|><|prompter|>what is the dimenson of Plustek MobileOffice D28 Corporate?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"product","operation":"=","value":"'Plustek MobileOffice D28 Corporate'"}]}}<|endoftext|><|prompter|>how many pages per minute colored in Xerox Travel Scanner 100?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"product","operation":"=","value":"'Xerox Travel Scanner 100'"}]}}<|endoftext|><|prompter|>what is the max page size can be used in Plustek MobileOffice D28 Corporate? <|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"product","operation":"=","value":"'Plustek MobileOffice D28 Corporate'"}]}}<|endoftext|><|prompter|>what is the dpi of Fujitsu fi-6130 A4 Series Scanner? <|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"product","operation":"=","value":"'Fujitsu fi-6130 A4 Series Scanner'"}]}}<|endoftext|><|prompter|>which product coloured the highest pages in a minute?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"pages_per_minute_color","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>Thanks!<|endoftext|><|assistant|>{"text":"goodbye","dsl":{}}<|endoftext|>
COSQL
<|context|>[{"columns":["song_name","artist_name","country","f_id","genre_is","rating","languages","releasedate","resolution"],"name":"song","type":"grid"}]<|endoftext|><|prompter|>What is the name of the song that was released in the most recent year?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"releasedate","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>What is the name of the song that was released most recently?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"releasedate","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>Find the names of all English songs.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"languages","operation":"=","value":"'english'"}]}}<|endoftext|><|prompter|>What are the names of all songs in English?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"languages","operation":"=","value":"'english'"}]}}<|endoftext|><|prompter|>Compute the average song rating for each language.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"rating","aggregation":"avg"},{"actionType":"ChangeGrouping","column":"languages"}]}}<|endoftext|><|prompter|>What is the average song rating for each language?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"rating","aggregation":"avg"},{"actionType":"ChangeGrouping","column":"languages"}]}}<|endoftext|><|prompter|>Give me a list of the names of all songs ordered by their resolution.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"resolution","direction":"ask"}]}}<|endoftext|><|prompter|>What are the names of all songs that are ordered by their resolution numbers?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"resolution","direction":"ask"}]}}<|endoftext|><|prompter|>What are the average rating and resolution of songs that are in Bangla?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"rating","aggregation":"avg"},{"actionType":"ChangeAggregations","column":"resolution","aggregation":"avg"},{"actionType":"ChangeCondition","column":"languages","operation":"=","value":"'bangla'"}]}}<|endoftext|><|prompter|>What is the average rating and resolution of all bangla songs?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"rating","aggregation":"avg"},{"actionType":"ChangeAggregations","column":"resolution","aggregation":"avg"},{"actionType":"ChangeCondition","column":"languages","operation":"=","value":"'bangla'"}]}}<|endoftext|><|prompter|>List the id, genre and artist name of English songs ordered by rating.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"languages","operation":"=","value":"'english'"},{"actionType":"ChangeSorting","column":"rating","direction":"ask"}]}}<|endoftext|><|prompter|>What is the id, genre, and name of the artist for every English song ordered by ascending rating?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"languages","operation":"=","value":"'english'"},{"actionType":"ChangeSorting","column":"rating","direction":"ask"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["song_name","artist_name","country","f_id","genre_is","rating","languages","releasedate","resolution"],"name":"song","type":"grid"}]<|endoftext|><|prompter|>What is the name of the song that was released in the most recent year?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"releasedate","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>What is the name of the song that was released most recently?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"releasedate","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>Find the names of all English songs.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"languages","operation":"=","value":"'english'"}]}}<|endoftext|><|prompter|>What are the names of all songs in English?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"languages","operation":"=","value":"'english'"}]}}<|endoftext|><|prompter|>What is the average rating of songs for each language?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"rating","aggregation":"avg"},{"actionType":"ChangeGrouping","column":"languages"}]}}<|endoftext|><|prompter|>What is the average song rating for each language?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"rating","aggregation":"avg"},{"actionType":"ChangeGrouping","column":"languages"}]}}<|endoftext|><|prompter|>Give me a list of the names of all songs ordered by their resolution.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"resolution","direction":"ask"}]}}<|endoftext|><|prompter|>What are the names of all songs that are ordered by their resolution numbers?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"resolution","direction":"ask"}]}}<|endoftext|><|prompter|>What are the average rating and resolution of songs that are in Bangla?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"rating","aggregation":"avg"},{"actionType":"ChangeAggregations","column":"resolution","aggregation":"avg"},{"actionType":"ChangeCondition","column":"languages","operation":"=","value":"'bangla'"}]}}<|endoftext|><|prompter|>What is the average rating and resolution of all bangla songs?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"rating","aggregation":"avg"},{"actionType":"ChangeAggregations","column":"resolution","aggregation":"avg"},{"actionType":"ChangeCondition","column":"languages","operation":"=","value":"'bangla'"}]}}<|endoftext|><|prompter|>List the id, genre and artist name of English songs ordered by rating.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"languages","operation":"=","value":"'english'"},{"actionType":"ChangeSorting","column":"rating","direction":"ask"}]}}<|endoftext|><|prompter|>What is the id, genre, and name of the artist for every English song ordered by ascending rating?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"languages","operation":"=","value":"'english'"},{"actionType":"ChangeSorting","column":"rating","direction":"ask"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["song_name","artist_name","country","f_id","genre_is","rating","languages","releasedate","resolution"],"name":"song","type":"grid"}]<|endoftext|><|prompter|>What is the name of the song that was released in the most recent year?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"releasedate","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>What is the name of the song that was released most recently?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"releasedate","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>Find the names of all English songs.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"languages","operation":"=","value":"'english'"}]}}<|endoftext|><|prompter|>What are the names of all songs in English?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"languages","operation":"=","value":"'english'"}]}}<|endoftext|><|prompter|>What is the average rating of songs for each language?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"rating","aggregation":"avg"},{"actionType":"ChangeGrouping","column":"languages"}]}}<|endoftext|><|prompter|>What is the total number of tours for each ranking date?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"rating","aggregation":"avg"},{"actionType":"ChangeGrouping","column":"languages"}]}}<|endoftext|><|prompter|>Give me a list of the names of all songs ordered by their resolution.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"resolution","direction":"ask"}]}}<|endoftext|><|prompter|>What are the names of all songs that are ordered by their resolution numbers?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"resolution","direction":"ask"}]}}<|endoftext|><|prompter|>What are the average rating and resolution of songs that are in Bangla?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"rating","aggregation":"avg"},{"actionType":"ChangeAggregations","column":"resolution","aggregation":"avg"},{"actionType":"ChangeCondition","column":"languages","operation":"=","value":"'bangla'"}]}}<|endoftext|><|prompter|>What is the average rating and resolution of all bangla songs?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"rating","aggregation":"avg"},{"actionType":"ChangeAggregations","column":"resolution","aggregation":"avg"},{"actionType":"ChangeCondition","column":"languages","operation":"=","value":"'bangla'"}]}}<|endoftext|><|prompter|>List the id, genre and artist name of English songs ordered by rating.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"languages","operation":"=","value":"'english'"},{"actionType":"ChangeSorting","column":"rating","direction":"ask"}]}}<|endoftext|><|prompter|>What is the id, genre, and name of the artist for every English song ordered by ascending rating?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"languages","operation":"=","value":"'english'"},{"actionType":"ChangeSorting","column":"rating","direction":"ask"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["song_name","artist_name","country","f_id","genre_is","rating","languages","releasedate","resolution"],"name":"song","type":"grid"}]<|endoftext|><|prompter|>What is the name of the song that was released in the most recent year?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"releasedate","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>What is the name of the song that was released most recently?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"releasedate","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>Find the names of all English songs.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"languages","operation":"=","value":"'english'"}]}}<|endoftext|><|prompter|>What are the names of all songs in English?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"languages","operation":"=","value":"'english'"}]}}<|endoftext|><|prompter|>What is the average rating of songs for each language?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"rating","aggregation":"avg"},{"actionType":"ChangeGrouping","column":"languages"}]}}<|endoftext|><|prompter|>What is the average song rating for each language?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"rating","aggregation":"avg"},{"actionType":"ChangeGrouping","column":"languages"}]}}<|endoftext|><|prompter|>Give me a list of the names of all songs ordered by their resolution.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"resolution","direction":"ask"}]}}<|endoftext|><|prompter|>What are the names of all songs that are ordered by their resolution numbers?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"resolution","direction":"ask"}]}}<|endoftext|><|prompter|>What are the average rating and resolution of songs that are in Bangla?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"rating","aggregation":"avg"},{"actionType":"ChangeAggregations","column":"resolution","aggregation":"avg"},{"actionType":"ChangeCondition","column":"languages","operation":"=","value":"'bangla'"}]}}<|endoftext|><|prompter|>What is the average rating and resolution of all bangla songs?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"rating","aggregation":"avg"},{"actionType":"ChangeAggregations","column":"resolution","aggregation":"avg"},{"actionType":"ChangeCondition","column":"languages","operation":"=","value":"'bangla'"}]}}<|endoftext|><|prompter|>List the id, genre and artist name of English songs ordered by rating.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"languages","operation":"=","value":"'english'"},{"actionType":"ChangeSorting","column":"rating","direction":"ask"}]}}<|endoftext|><|prompter|>What is the id, genre, and name of the artist for every English song ordered by ascending rating?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"languages","operation":"=","value":"'english'"},{"actionType":"ChangeSorting","column":"rating","direction":"ask"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["song_name","artist_name","country","f_id","genre_is","rating","languages","releasedate","resolution"],"name":"song","type":"grid"}]<|endoftext|><|prompter|>What is the name of the song that was released in the most recent year?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"releasedate","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>What is the name of the song that was released most recently?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"releasedate","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>Find the names of all English songs.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"languages","operation":"=","value":"'english'"}]}}<|endoftext|><|prompter|>What are the names of all songs in English?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"languages","operation":"=","value":"'english'"}]}}<|endoftext|><|prompter|>What is the average rating of songs for each language?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"rating","aggregation":"avg"},{"actionType":"ChangeGrouping","column":"languages"}]}}<|endoftext|><|prompter|>What is the average song rating for each language?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"rating","aggregation":"avg"},{"actionType":"ChangeGrouping","column":"languages"}]}}<|endoftext|><|prompter|>Give me a list of the names of all songs ordered by their resolution.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"resolution","direction":"ask"}]}}<|endoftext|><|prompter|>What are the names of all songs that are ordered by their resolution numbers?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"resolution","direction":"ask"}]}}<|endoftext|><|prompter|>What are the average rating and resolution of songs that are in Bangla?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"rating","aggregation":"avg"},{"actionType":"ChangeAggregations","column":"resolution","aggregation":"avg"},{"actionType":"ChangeCondition","column":"languages","operation":"=","value":"'bangla'"}]}}<|endoftext|><|prompter|>What is the average rating and resolution of all bangla songs?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"rating","aggregation":"avg"},{"actionType":"ChangeAggregations","column":"resolution","aggregation":"avg"},{"actionType":"ChangeCondition","column":"languages","operation":"=","value":"'bangla'"}]}}<|endoftext|><|prompter|>List the id, genre and artist name of English songs ordered by rating.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"languages","operation":"=","value":"'english'"},{"actionType":"ChangeSorting","column":"rating","direction":"ask"}]}}<|endoftext|><|prompter|>What is the id, genre, and name of the artist for every English song ordered by ascending rating?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"languages","operation":"=","value":"'english'"},{"actionType":"ChangeSorting","column":"rating","direction":"ask"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["People_ID","Name","Height","Weight","Date_of_Birth"],"name":"people","type":"grid"}]<|endoftext|><|prompter|>What is the weight of the shortest person?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"Height","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>Return the weight of the shortest person.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"Height","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["building_id","building_short_name","building_full_name","building_description","building_address","building_manager","building_phone"],"name":"Apartment_Buildings","type":"grid"}]<|endoftext|><|prompter|>Show the short names of the buildings managed by "Emma".<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"building_manager","operation":"=","value":"'Emma'"}]}}<|endoftext|><|prompter|>Which buildings does "Emma" manage? Give me the short names of the buildings.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"building_manager","operation":"=","value":"'Emma'"}]}}<|endoftext|><|prompter|>Show the addresses and phones of all the buildings managed by "Brenden".<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"building_manager","operation":"=","value":"'Brenden'"}]}}<|endoftext|><|prompter|>What are the address and phone number of the buildings managed by "Brenden"?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"building_manager","operation":"=","value":"'Brenden'"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["transaction_id","investor_id","transaction_type_code","date_of_transaction","amount_of_transaction","share_count","other_details"],"name":"transactions","type":"grid"}]<|endoftext|><|prompter|>what is the transaction type code for the investor with id 18<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"investor_id","operation":"=","value":18}]}}<|endoftext|><|prompter|>is NULL the other details for date of transaction 1982-06-06 17:19:00<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"date_of_transaction","operation":"=","value":"1982-06-06 17:19:00"}]}}<|endoftext|><|prompter|>How much is the amount of transaction for transaction with id 3<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"transaction_id","operation":"=","value":3}]}}<|endoftext|><|prompter|>thanks<|endoftext|><|assistant|>{"text":"Bye","dsl":{}}<|endoftext|>
COSQL
<|context|>[{"columns":["School_ID","School","Location","Founded","Affiliation","Enrollment","Nickname","Primary_conference"],"name":"university","type":"grid"}]<|endoftext|><|prompter|>I want to know the number of public universities<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"affiliation","operation":"=","value":"Public"}]}}<|endoftext|><|prompter|>Ok, What about the number of private universities?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"affiliation","operation":"=","value":"Private/Methodist"}]}}<|endoftext|><|prompter|>I want to know the number of public universities with over 20000 enrollment size.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"affiliation","operation":"=","value":"Public"},{"actionType":"ChangeCondition","column":"enrollment","operation":">","value":20000}]}}<|endoftext|><|prompter|>Are there private universities with over 20000 enrollment size?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"affiliation","operation":"=","value":"Private/Methodist"},{"actionType":"ChangeCondition","column":"enrollment","operation":">","value":20000}]}}<|endoftext|><|prompter|>Thanks!<|endoftext|><|assistant|>{"text":"goodbye.","dsl":{}}<|endoftext|>
COSQL
<|context|>[{"columns":["id","train_number","name","origin","destination","time","interval"],"name":"train","type":"grid"}]<|endoftext|><|prompter|>show all train numbers and names ordered by their time from early to late.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"TIME","direction":"ask"}]}}<|endoftext|><|prompter|>Give me the times and numbers of all trains that go to Chennai, ordered by time.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"destination","operation":"=","value":"Chennai"},{"actionType":"ChangeSorting","column":"TIME","direction":"ask"}]}}<|endoftext|><|prompter|>Find the number and time of the train that goes from Chennai to Guruvayur.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"origin","operation":"=","value":"Chennai"},{"actionType":"ChangeCondition","column":"destination","operation":"=","value":"Guruvayur"}]}}<|endoftext|><|prompter|>Count the number of trains originating from each starting point.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"origin"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["id","train_number","name","origin","destination","time","interval"],"name":"train","type":"grid"}]<|endoftext|><|prompter|>show all train numbers and names ordered by their time from early to late.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"TIME","direction":"ask"}]}}<|endoftext|><|prompter|>Give me the times and numbers of all trains that go to Chennai, ordered by time.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"destination","operation":"=","value":"Chennai"},{"actionType":"ChangeSorting","column":"TIME","direction":"ask"}]}}<|endoftext|><|prompter|>Find the number and time of the train that goes from Chennai to Guruvayur.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"origin","operation":"=","value":"Chennai"},{"actionType":"ChangeCondition","column":"destination","operation":"=","value":"Guruvayur"}]}}<|endoftext|><|prompter|>Determine the number of trains that originate from each location.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"origin"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["id","train_number","name","origin","destination","time","interval"],"name":"train","type":"grid"}]<|endoftext|><|prompter|>show all train numbers and names ordered by their time from early to late.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"TIME","direction":"ask"}]}}<|endoftext|><|prompter|>Give me the times and numbers of all trains that go to Chennai, ordered by time.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"destination","operation":"=","value":"Chennai"},{"actionType":"ChangeSorting","column":"TIME","direction":"ask"}]}}<|endoftext|><|prompter|>Find the number and time of the train that goes from Chennai to Guruvayur.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"origin","operation":"=","value":"Chennai"},{"actionType":"ChangeCondition","column":"destination","operation":"=","value":"Guruvayur"}]}}<|endoftext|><|prompter|>Find the number of trains starting from each origin.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"origin"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["Captain_ID","Name","Ship_ID","age","Class","Rank"],"name":"captain","type":"grid"}]<|endoftext|><|prompter|>How many different captain ranks are there?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"rank","aggregation":"count"}]}}<|endoftext|><|prompter|>Count the number of different ranks of captain.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"rank","aggregation":"count"}]}}<|endoftext|><|prompter|>How many captains are there per rank?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"rank"}]}}<|endoftext|><|prompter|>Count the number of captains that have each rank.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"rank"}]}}<|endoftext|><|prompter|>How many captains with younger than 50 are in each rank?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"age","operation":"<","value":50},{"actionType":"ChangeGrouping","column":"rank"}]}}<|endoftext|><|prompter|>Count the number of captains younger than 50 of each rank.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"age","operation":"<","value":50},{"actionType":"ChangeGrouping","column":"rank"}]}}<|endoftext|><|prompter|>Sort all captain names by their ages from old to young.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"age","direction":"desk"}]}}<|endoftext|><|prompter|>What are the names of captains, sorted by age descending?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"age","direction":"desk"}]}}<|endoftext|><|prompter|>What is the name of the youngest captain?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"age","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>Return the name of the youngest captain.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"age","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["Captain_ID","Name","Ship_ID","age","Class","Rank"],"name":"captain","type":"grid"}]<|endoftext|><|prompter|>How many different captain ranks are there?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"rank","aggregation":"count"}]}}<|endoftext|><|prompter|>Count the number of different ranks of captain.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"rank","aggregation":"count"}]}}<|endoftext|><|prompter|>Determine the number of captains in each rank.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"rank"}]}}<|endoftext|><|prompter|>Count the number of captains that have each rank.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"rank"}]}}<|endoftext|><|prompter|>How many captains with younger than 50 are in each rank?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"age","operation":"<","value":50},{"actionType":"ChangeGrouping","column":"rank"}]}}<|endoftext|><|prompter|>Count the number of captains younger than 50 of each rank.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"age","operation":"<","value":50},{"actionType":"ChangeGrouping","column":"rank"}]}}<|endoftext|><|prompter|>Sort all captain names by their ages from old to young.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"age","direction":"desk"}]}}<|endoftext|><|prompter|>What are the names of captains, sorted by age descending?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"age","direction":"desk"}]}}<|endoftext|><|prompter|>What is the name of the youngest captain?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"age","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>Return the name of the youngest captain.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"age","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["Captain_ID","Name","Ship_ID","age","Class","Rank"],"name":"captain","type":"grid"}]<|endoftext|><|prompter|>How many different captain ranks are there?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"rank","aggregation":"count"}]}}<|endoftext|><|prompter|>Count the number of different ranks of captain.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"rank","aggregation":"count"}]}}<|endoftext|><|prompter|>How many captains are in each rank?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"rank"}]}}<|endoftext|><|prompter|>Determine the quantity of captains for each rank.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"rank"}]}}<|endoftext|><|prompter|>How many captains with younger than 50 are in each rank?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"age","operation":"<","value":50},{"actionType":"ChangeGrouping","column":"rank"}]}}<|endoftext|><|prompter|>Count the number of captains younger than 50 of each rank.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"age","operation":"<","value":50},{"actionType":"ChangeGrouping","column":"rank"}]}}<|endoftext|><|prompter|>Sort all captain names by their ages from old to young.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"age","direction":"desk"}]}}<|endoftext|><|prompter|>What are the names of captains, sorted by age descending?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"age","direction":"desk"}]}}<|endoftext|><|prompter|>What is the name of the youngest captain?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"age","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>Return the name of the youngest captain.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"age","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["Captain_ID","Name","Ship_ID","age","Class","Rank"],"name":"captain","type":"grid"}]<|endoftext|><|prompter|>How many different captain ranks are there?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"rank","aggregation":"count"}]}}<|endoftext|><|prompter|>Count the number of different ranks of captain.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"rank","aggregation":"count"}]}}<|endoftext|><|prompter|>How many captains are in each rank?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"rank"}]}}<|endoftext|><|prompter|>Count the number of captains in each rank.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"rank"}]}}<|endoftext|><|prompter|>How many captains with younger than 50 are in each rank?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"age","operation":"<","value":50},{"actionType":"ChangeGrouping","column":"rank"}]}}<|endoftext|><|prompter|>Count the number of captains younger than 50 of each rank.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"age","operation":"<","value":50},{"actionType":"ChangeGrouping","column":"rank"}]}}<|endoftext|><|prompter|>Sort all captain names by their ages from old to young.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"age","direction":"desk"}]}}<|endoftext|><|prompter|>What are the names of captains, sorted by age descending?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"age","direction":"desk"}]}}<|endoftext|><|prompter|>What is the name of the youngest captain?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"age","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>Return the name of the youngest captain.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"age","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["Captain_ID","Name","Ship_ID","age","Class","Rank"],"name":"captain","type":"grid"}]<|endoftext|><|prompter|>How many different captain ranks are there?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"rank","aggregation":"count"}]}}<|endoftext|><|prompter|>Count the number of different ranks of captain.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"rank","aggregation":"count"}]}}<|endoftext|><|prompter|>How many captains are in each rank?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"rank"}]}}<|endoftext|><|prompter|>Count the number of captains that have each rank.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"rank"}]}}<|endoftext|><|prompter|>Show the number of students for each major.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"age","operation":"<","value":50},{"actionType":"ChangeGrouping","column":"rank"}]}}<|endoftext|><|prompter|>Count the number of captains younger than 50 of each rank.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"age","operation":"<","value":50},{"actionType":"ChangeGrouping","column":"rank"}]}}<|endoftext|><|prompter|>Sort all captain names by their ages from old to young.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"age","direction":"desk"}]}}<|endoftext|><|prompter|>What are the names of captains, sorted by age descending?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"age","direction":"desk"}]}}<|endoftext|><|prompter|>What is the name of the youngest captain?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"age","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>Return the name of the youngest captain.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"age","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["Captain_ID","Name","Ship_ID","age","Class","Rank"],"name":"captain","type":"grid"}]<|endoftext|><|prompter|>How many different captain ranks are there?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"rank","aggregation":"count"}]}}<|endoftext|><|prompter|>Count the number of different ranks of captain.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"rank","aggregation":"count"}]}}<|endoftext|><|prompter|>How many captains are in each rank?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"rank"}]}}<|endoftext|><|prompter|>Count the number of captains that have each rank.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"rank"}]}}<|endoftext|><|prompter|>How many captains younger than 50 are in each rank?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"age","operation":"<","value":50},{"actionType":"ChangeGrouping","column":"rank"}]}}<|endoftext|><|prompter|>Count the number of captains younger than 50 of each rank.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"age","operation":"<","value":50},{"actionType":"ChangeGrouping","column":"rank"}]}}<|endoftext|><|prompter|>Sort all captain names by their ages from old to young.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"age","direction":"desk"}]}}<|endoftext|><|prompter|>What are the names of captains, sorted by age descending?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"age","direction":"desk"}]}}<|endoftext|><|prompter|>What is the name of the youngest captain?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"age","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>Return the name of the youngest captain.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"age","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["Captain_ID","Name","Ship_ID","age","Class","Rank"],"name":"captain","type":"grid"}]<|endoftext|><|prompter|>How many different captain ranks are there?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"rank","aggregation":"count"}]}}<|endoftext|><|prompter|>Count the number of different ranks of captain.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"rank","aggregation":"count"}]}}<|endoftext|><|prompter|>How many captains are in each rank?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"rank"}]}}<|endoftext|><|prompter|>Count the number of captains that have each rank.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"rank"}]}}<|endoftext|><|prompter|>How many captains with younger than 50 are in each rank?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"age","operation":"<","value":50},{"actionType":"ChangeGrouping","column":"rank"}]}}<|endoftext|><|prompter|>Determine the count of captains under 50 years old for each rank.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"age","operation":"<","value":50},{"actionType":"ChangeGrouping","column":"rank"}]}}<|endoftext|><|prompter|>Sort all captain names by their ages from old to young.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"age","direction":"desk"}]}}<|endoftext|><|prompter|>What are the names of captains, sorted by age descending?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"age","direction":"desk"}]}}<|endoftext|><|prompter|>What is the name of the youngest captain?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"age","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>Return the name of the youngest captain.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"age","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["Captain_ID","Name","Ship_ID","age","Class","Rank"],"name":"captain","type":"grid"}]<|endoftext|><|prompter|>How many different captain ranks are there?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"rank","aggregation":"count"}]}}<|endoftext|><|prompter|>Count the number of different ranks of captain.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"rank","aggregation":"count"}]}}<|endoftext|><|prompter|>How many captains are in each rank?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"rank"}]}}<|endoftext|><|prompter|>Count the number of captains that have each rank.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"rank"}]}}<|endoftext|><|prompter|>How many captains with younger than 50 are in each rank?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"age","operation":"<","value":50},{"actionType":"ChangeGrouping","column":"rank"}]}}<|endoftext|><|prompter|>Count the number of captains under 50 years old for each rank.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"age","operation":"<","value":50},{"actionType":"ChangeGrouping","column":"rank"}]}}<|endoftext|><|prompter|>Sort all captain names by their ages from old to young.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"age","direction":"desk"}]}}<|endoftext|><|prompter|>What are the names of captains, sorted by age descending?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"age","direction":"desk"}]}}<|endoftext|><|prompter|>What is the name of the youngest captain?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"age","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>Return the name of the youngest captain.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"age","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["Captain_ID","Name","Ship_ID","age","Class","Rank"],"name":"captain","type":"grid"}]<|endoftext|><|prompter|>How many different captain ranks are there?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"rank","aggregation":"count"}]}}<|endoftext|><|prompter|>Count the number of different ranks of captain.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"rank","aggregation":"count"}]}}<|endoftext|><|prompter|>How many captains are in each rank?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"rank"}]}}<|endoftext|><|prompter|>Count the number of captains that have each rank.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"rank"}]}}<|endoftext|><|prompter|>How many captains with younger than 50 are in each rank?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"age","operation":"<","value":50},{"actionType":"ChangeGrouping","column":"rank"}]}}<|endoftext|><|prompter|>Count the number of captains younger than 50 of each rank.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"age","operation":"<","value":50},{"actionType":"ChangeGrouping","column":"rank"}]}}<|endoftext|><|prompter|>Sort all captain names by their ages from old to young.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"age","direction":"desk"}]}}<|endoftext|><|prompter|>What are the names of captains, sorted by age descending?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"age","direction":"desk"}]}}<|endoftext|><|prompter|>What is the name of the youngest captain?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"age","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>Return the name of the youngest captain.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"age","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["transcript_id","transcript_date","other_details"],"name":"Transcripts","type":"grid"}]<|endoftext|><|prompter|>On average, when were the transcripts printed?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"transcript_date","aggregation":"avg"}]}}<|endoftext|><|prompter|>What is the average transcript date?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"transcript_date","aggregation":"avg"}]}}<|endoftext|><|prompter|>When is the first transcript released? List the date and details.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"transcript_date","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>What is the earliest date of a transcript release, and what details can you tell me?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"transcript_date","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>What is the last transcript release date?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"transcript_date","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>When was the last transcript released?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"transcript_date","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["Cinema_ID","Name","Openning_year","Capacity","Location"],"name":"cinema","type":"grid"}]<|endoftext|><|prompter|>what is the capacity of Codling Cinema<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"name","operation":"=","value":"'Codling'"}]}}<|endoftext|><|prompter|>what year was it opened?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"name","operation":"=","value":"'Codling'"}]}}<|endoftext|><|prompter|>where is it located?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"name","operation":"=","value":"'Codling'"}]}}<|endoftext|><|prompter|>Thanks!<|endoftext|><|assistant|>{"text":"You are welcome.","dsl":{}}<|endoftext|>
COSQL
<|context|>[{"columns":["Fname","Minit","Lname","Ssn","Bdate","Address","Sex","Salary","Super_ssn","Dno"],"name":"employee","type":"grid"}]<|endoftext|><|prompter|>Return the first names and last names of employees who earn more than 30000 in salary.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"salary","operation":">","value":30000}]}}<|endoftext|><|prompter|>Count the employees of each gender earning less than 50,000.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"salary","operation":"<","value":50000},{"actionType":"ChangeGrouping","column":"sex"}]}}<|endoftext|><|prompter|>list the first and last names, and the addresses of all employees in the ascending order of their birth date.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"Bdate","direction":"ask"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["Fname","Minit","Lname","Ssn","Bdate","Address","Sex","Salary","Super_ssn","Dno"],"name":"employee","type":"grid"}]<|endoftext|><|prompter|>Return the first names and last names of employees who earn more than 30000 in salary.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"salary","operation":">","value":30000}]}}<|endoftext|><|prompter|>Find the number of employees of each gender whose salary is lower than 50000.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"salary","operation":"<","value":50000},{"actionType":"ChangeGrouping","column":"sex"}]}}<|endoftext|><|prompter|>list the first and last names, and the addresses of all employees in the ascending order of their birth date.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"Bdate","direction":"ask"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["Fname","Minit","Lname","Ssn","Bdate","Address","Sex","Salary","Super_ssn","Dno"],"name":"employee","type":"grid"}]<|endoftext|><|prompter|>Return the first names and last names of employees who earn more than 30000 in salary.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"salary","operation":">","value":30000}]}}<|endoftext|><|prompter|>Find the number of employees of each gender whose salary is lower than 50000.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"salary","operation":"<","value":50000},{"actionType":"ChangeGrouping","column":"sex"}]}}<|endoftext|><|prompter|>list the first and last names, and the addresses of all employees in the ascending order of their birth date.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"Bdate","direction":"ask"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["Candidate_ID","People_ID","Poll_Source","Date","Support_rate","Consider_rate","Oppose_rate","Unsure_rate"],"name":"candidate","type":"grid"}]<|endoftext|><|prompter|>Can you show me the top three highest support rates for the candidates?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"support_rate","limit":3,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>What polls are those from?<|endoftext|><|assistant|>{"text":"Did you want the poll source for these polls?","dsl":{}}<|endoftext|><|prompter|>Yes, please<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"support_rate","limit":3,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>What is the name of the poll source with the earliest date?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"Date","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>Thanks!<|endoftext|><|assistant|>{"text":"You are welcome. Good bye!","dsl":{}}<|endoftext|>
COSQL
<|context|>[{"columns":["Mountain_ID","Name","Height","Prominence","Range","Country"],"name":"mountain","type":"grid"}]<|endoftext|><|prompter|>what is height of Kibo (Uhuru Pk) <|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"name","operation":"=","value":"Kibo (Uhuru Pk)"}]}}<|endoftext|><|prompter|>how many mountain does Tanzania have? <|endoftext|><|assistant|>{"text":"Do you mean the number of mountains in the country Tanzania?","dsl":{}}<|endoftext|><|prompter|>yes <|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"country","operation":"=","value":"Tanzania"}]}}<|endoftext|><|prompter|>what is the range of Mount Kenya (Batian) in country kenya<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"country","operation":"=","value":"Kenya"},{"actionType":"ChangeCondition","column":"name","operation":"=","value":"Mount Kenya (Batian)"}]}}<|endoftext|><|prompter|>highest mountain in Tanzania<|endoftext|><|assistant|>{"text":"Do you mean the name of the highest mountain in country Tanzania?","dsl":{}}<|endoftext|><|prompter|>yes <|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"country","operation":"=","value":"Tanzania"},{"actionType":"ChangeTopFilter","column":"height","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>The name of the smallest mountain from all countries <|endoftext|><|assistant|>{"text":"Do you mean the name of the lowest mountain?","dsl":{}}<|endoftext|><|prompter|>YES <|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"height","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>THANKS!<|endoftext|><|assistant|>{"text":"You are welcome. Goodbye.","dsl":{}}<|endoftext|>
COSQL
<|context|>[{"columns":["ID","Name","Stadium_ID","Year"],"name":"event","type":"grid"}]<|endoftext|><|prompter|>Can you list all events that happened in 2018?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"year","operation":"=","value":2018}]}}<|endoftext|><|prompter|>Can you list all the events that happened within the last 5 years?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"year","operation":">=","value":2014}]}}<|endoftext|><|prompter|>Can you sort the list to only include the most recent event?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"YEAR","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>Thanks!<|endoftext|><|assistant|>{"text":"Thanks. Bye.","dsl":{}}<|endoftext|>
COSQL
<|context|>[{"columns":["player_id","first_name","last_name","hand","birth_date","country_code"],"name":"players","type":"grid"}]<|endoftext|><|prompter|>What is the player id for the youngest player?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"birth_date","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>What about the oldest?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"birth_date","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>What is their first name and country code?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"birth_date","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>Thanks!<|endoftext|><|assistant|>{"text":"Thank you, good bye. ","dsl":{}}<|endoftext|>
COSQL
<|context|>[{"columns":["Branch_ID","Name","Open_year","Address_road","City","membership_amount"],"name":"branch","type":"grid"}]<|endoftext|><|prompter|>How many cities have a branch with 100 membership?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"city","aggregation":"count"},{"actionType":"ChangeCondition","column":"membership_amount","operation":">","value":100}]}}<|endoftext|><|prompter|>show all the branches opened in 2000?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"open_year","operation":"=","value":2000}]}}<|endoftext|><|prompter|>Which year was Stanley open?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"name","operation":"=","value":"'Stanley'"}]}}<|endoftext|><|prompter|>What is the address road of Stanley?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"name","operation":"=","value":"'Stanley'"}]}}<|endoftext|><|prompter|>Thanks!<|endoftext|><|assistant|>{"text":"welcome,goodbye","dsl":{}}<|endoftext|>
COSQL
<|context|>[{"columns":["LastName","FirstName","Grade","Classroom"],"name":"list","type":"grid"}]<|endoftext|><|prompter|>how many classrooms are available?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"classroom","aggregation":"count"}]}}<|endoftext|><|prompter|>how many grades are available?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Grade","aggregation":"count"}]}}<|endoftext|><|prompter|>how many names are available?<|endoftext|><|assistant|>{"text":"did you mean how many LastName or FirstName are available ","dsl":{}}<|endoftext|><|prompter|>yes<|endoftext|><|assistant|>{"text":" LastName or FirstName?\n","dsl":{}}<|endoftext|><|prompter|>lastname<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"LastName","aggregation":"count"}]}}<|endoftext|><|prompter|>how many firstnames are available?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"FirstName","aggregation":"count"}]}}<|endoftext|><|prompter|>what was the car grade?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"LastName","operation":"=","value":"CAR"}]}}<|endoftext|><|prompter|>Thanks!<|endoftext|><|assistant|>{"text":"welcome,goodbye","dsl":{}}<|endoftext|>
COSQL
<|context|>[{"columns":["artist_name","country","gender","preferred_genre"],"name":"artist","type":"grid"}]<|endoftext|><|prompter|>how artist are from India <|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"country","operation":"=","value":"'India'"}]}}<|endoftext|><|prompter|>how many persons are from folk genre<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"preferred_genre","operation":"=","value":"'folk'"}]}}<|endoftext|><|prompter|>how many artists are from Bangladesh<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"country","operation":"=","value":"'Bangladesh'"}]}}<|endoftext|><|prompter|>Thanks<|endoftext|><|assistant|>{"text":"You are welcome.","dsl":{}}<|endoftext|>
COSQL
<|context|>[{"columns":["Airport_ID","Airport_Name","Total_Passengers","%_Change_2007","International_Passengers","Domestic_Passengers","Transit_Passengers","Aircraft_Movements","Freight_Metric_Tonnes"],"name":"airport","type":"grid"}]<|endoftext|><|prompter|>What are the maximum number of transit passengers of all airports?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Transit_Passengers","aggregation":"max"}]}}<|endoftext|><|prompter|>What are the minimum number of transit passengers of all airports?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Transit_Passengers","aggregation":"min"}]}}<|endoftext|><|prompter|>What is the average of all domestic passengers?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Domestic_Passengers","aggregation":"avg"}]}}<|endoftext|><|prompter|>What airport name has the highest amount of international passengers?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"International_Passengers","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>What is the name of the airport with the second lowest amount of total passengers?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"Total_Passengers","limit":2,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>Thanks!<|endoftext|><|assistant|>{"text":"You are welcome.","dsl":{}}<|endoftext|>
COSQL
<|context|>[{"columns":["id","name","Type","Principal_activities","Incorporated_in","Group_Equity_Shareholding"],"name":"operate_company","type":"grid"}]<|endoftext|><|prompter|>What is maximum group equity shareholding of the companies?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"group_equity_shareholding","aggregation":"max"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["Channel_ID","Name","Owner","Share_in_percent","Rating_in_percent"],"name":"channel","type":"grid"}]<|endoftext|><|prompter|>Find the names of channels that are not owned by CCTV.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"OWNER","operation":"!=","value":"CCTV"}]}}<|endoftext|><|prompter|>Which channels are not owned by CCTV? Give me the channel names.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"OWNER","operation":"!=","value":"CCTV"}]}}<|endoftext|><|prompter|>List all channel names ordered by their rating in percent from big to small.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"rating_in_percent","direction":"desk"}]}}<|endoftext|><|prompter|>Give me a list of all the channel names sorted by the channel rating in descending order.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"rating_in_percent","direction":"desk"}]}}<|endoftext|><|prompter|>What is the owner of the channel that has the highest rating ratio?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"rating_in_percent","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>Show me the owner of the channel with the highest rating.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"rating_in_percent","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>find the total percentage share of all channels owned by CCTV.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Share_in_percent","aggregation":"sum"},{"actionType":"ChangeCondition","column":"OWNER","operation":"=","value":"CCTV"}]}}<|endoftext|><|prompter|>What is the total share (in percent) of all the channels owned by CCTV?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Share_in_percent","aggregation":"sum"},{"actionType":"ChangeCondition","column":"OWNER","operation":"=","value":"CCTV"}]}}<|endoftext|><|prompter|>what is the number of different channel owners?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"OWNER","aggregation":"count"}]}}<|endoftext|><|prompter|>Count the number of distinct channel owners.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"OWNER","aggregation":"count"}]}}<|endoftext|><|prompter|>Calculate the total rating ratio for each channel owner.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Rating_in_percent","aggregation":"sum"},{"actionType":"ChangeGrouping","column":"OWNER"}]}}<|endoftext|><|prompter|>What is the total rating of channel for each channel owner?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Rating_in_percent","aggregation":"sum"},{"actionType":"ChangeGrouping","column":"OWNER"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["Channel_ID","Name","Owner","Share_in_percent","Rating_in_percent"],"name":"channel","type":"grid"}]<|endoftext|><|prompter|>Find the names of channels that are not owned by CCTV.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"OWNER","operation":"!=","value":"CCTV"}]}}<|endoftext|><|prompter|>Which channels are not owned by CCTV? Give me the channel names.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"OWNER","operation":"!=","value":"CCTV"}]}}<|endoftext|><|prompter|>List all channel names ordered by their rating in percent from big to small.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"rating_in_percent","direction":"desk"}]}}<|endoftext|><|prompter|>Give me a list of all the channel names sorted by the channel rating in descending order.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"rating_in_percent","direction":"desk"}]}}<|endoftext|><|prompter|>What is the owner of the channel that has the highest rating ratio?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"rating_in_percent","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>Show me the owner of the channel with the highest rating.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"rating_in_percent","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>find the total percentage share of all channels owned by CCTV.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Share_in_percent","aggregation":"sum"},{"actionType":"ChangeCondition","column":"OWNER","operation":"=","value":"CCTV"}]}}<|endoftext|><|prompter|>What is the total share (in percent) of all the channels owned by CCTV?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Share_in_percent","aggregation":"sum"},{"actionType":"ChangeCondition","column":"OWNER","operation":"=","value":"CCTV"}]}}<|endoftext|><|prompter|>what is the number of different channel owners?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"OWNER","aggregation":"count"}]}}<|endoftext|><|prompter|>Count the number of distinct channel owners.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"OWNER","aggregation":"count"}]}}<|endoftext|><|prompter|>Calculate the total rating ratio for each channel owner.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Rating_in_percent","aggregation":"sum"},{"actionType":"ChangeGrouping","column":"OWNER"}]}}<|endoftext|><|prompter|>What is the total rating of channel for each channel owner?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Rating_in_percent","aggregation":"sum"},{"actionType":"ChangeGrouping","column":"OWNER"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["Channel_ID","Name","Owner","Share_in_percent","Rating_in_percent"],"name":"channel","type":"grid"}]<|endoftext|><|prompter|>Find the names of channels that are not owned by CCTV.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"OWNER","operation":"!=","value":"CCTV"}]}}<|endoftext|><|prompter|>Which channels are not owned by CCTV? Give me the channel names.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"OWNER","operation":"!=","value":"CCTV"}]}}<|endoftext|><|prompter|>List all channel names ordered by their rating in percent from big to small.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"rating_in_percent","direction":"desk"}]}}<|endoftext|><|prompter|>Give me a list of all the channel names sorted by the channel rating in descending order.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"rating_in_percent","direction":"desk"}]}}<|endoftext|><|prompter|>What is the owner of the channel that has the highest rating ratio?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"rating_in_percent","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>Show me the owner of the channel with the highest rating.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"rating_in_percent","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>find the total percentage share of all channels owned by CCTV.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Share_in_percent","aggregation":"sum"},{"actionType":"ChangeCondition","column":"OWNER","operation":"=","value":"CCTV"}]}}<|endoftext|><|prompter|>What is the total share (in percent) of all the channels owned by CCTV?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Share_in_percent","aggregation":"sum"},{"actionType":"ChangeCondition","column":"OWNER","operation":"=","value":"CCTV"}]}}<|endoftext|><|prompter|>what is the number of different channel owners?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"OWNER","aggregation":"count"}]}}<|endoftext|><|prompter|>Count the number of distinct channel owners.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"OWNER","aggregation":"count"}]}}<|endoftext|><|prompter|>Find the total rating ratio for each channel owner.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Rating_in_percent","aggregation":"sum"},{"actionType":"ChangeGrouping","column":"OWNER"}]}}<|endoftext|><|prompter|>Determine the total rating for each channel owner's channels.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Rating_in_percent","aggregation":"sum"},{"actionType":"ChangeGrouping","column":"OWNER"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["Channel_ID","Name","Owner","Share_in_percent","Rating_in_percent"],"name":"channel","type":"grid"}]<|endoftext|><|prompter|>Find the names of channels that are not owned by CCTV.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"OWNER","operation":"!=","value":"CCTV"}]}}<|endoftext|><|prompter|>Which channels are not owned by CCTV? Give me the channel names.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"OWNER","operation":"!=","value":"CCTV"}]}}<|endoftext|><|prompter|>List all channel names ordered by their rating in percent from big to small.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"rating_in_percent","direction":"desk"}]}}<|endoftext|><|prompter|>Give me a list of all the channel names sorted by the channel rating in descending order.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"rating_in_percent","direction":"desk"}]}}<|endoftext|><|prompter|>What is the owner of the channel that has the highest rating ratio?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"rating_in_percent","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>Show me the owner of the channel with the highest rating.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"rating_in_percent","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>find the total percentage share of all channels owned by CCTV.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Share_in_percent","aggregation":"sum"},{"actionType":"ChangeCondition","column":"OWNER","operation":"=","value":"CCTV"}]}}<|endoftext|><|prompter|>What is the total share (in percent) of all the channels owned by CCTV?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Share_in_percent","aggregation":"sum"},{"actionType":"ChangeCondition","column":"OWNER","operation":"=","value":"CCTV"}]}}<|endoftext|><|prompter|>what is the number of different channel owners?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"OWNER","aggregation":"count"}]}}<|endoftext|><|prompter|>Count the number of distinct channel owners.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"OWNER","aggregation":"count"}]}}<|endoftext|><|prompter|>Find the total rating ratio for each channel owner.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Rating_in_percent","aggregation":"sum"},{"actionType":"ChangeGrouping","column":"OWNER"}]}}<|endoftext|><|prompter|>What is the total rating for each channel owner's channel?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Rating_in_percent","aggregation":"sum"},{"actionType":"ChangeGrouping","column":"OWNER"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["Channel_ID","Name","Owner","Share_in_percent","Rating_in_percent"],"name":"channel","type":"grid"}]<|endoftext|><|prompter|>Find the names of channels that are not owned by CCTV.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"OWNER","operation":"!=","value":"CCTV"}]}}<|endoftext|><|prompter|>Which channels are not owned by CCTV? Give me the channel names.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"OWNER","operation":"!=","value":"CCTV"}]}}<|endoftext|><|prompter|>List all channel names ordered by their rating in percent from big to small.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"rating_in_percent","direction":"desk"}]}}<|endoftext|><|prompter|>Give me a list of all the channel names sorted by the channel rating in descending order.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"rating_in_percent","direction":"desk"}]}}<|endoftext|><|prompter|>What is the owner of the channel that has the highest rating ratio?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"rating_in_percent","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>Show me the owner of the channel with the highest rating.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"rating_in_percent","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>find the total percentage share of all channels owned by CCTV.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Share_in_percent","aggregation":"sum"},{"actionType":"ChangeCondition","column":"OWNER","operation":"=","value":"CCTV"}]}}<|endoftext|><|prompter|>What is the total share (in percent) of all the channels owned by CCTV?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Share_in_percent","aggregation":"sum"},{"actionType":"ChangeCondition","column":"OWNER","operation":"=","value":"CCTV"}]}}<|endoftext|><|prompter|>what is the number of different channel owners?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"OWNER","aggregation":"count"}]}}<|endoftext|><|prompter|>Count the number of distinct channel owners.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"OWNER","aggregation":"count"}]}}<|endoftext|><|prompter|>Find the total rating ratio for each channel owner.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Rating_in_percent","aggregation":"sum"},{"actionType":"ChangeGrouping","column":"OWNER"}]}}<|endoftext|><|prompter|>What is the total rating of channel for each channel owner?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Rating_in_percent","aggregation":"sum"},{"actionType":"ChangeGrouping","column":"OWNER"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["state_name","highest_elevation","lowest_point","highest_point","lowest_elevation"],"name":"highlow","type":"grid"}]<|endoftext|><|prompter|>what is the lowest elevation in pennsylvania<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"state_name","operation":"=","value":"'pennsylvania'"}]}}<|endoftext|><|prompter|>what is the highest point in each state whose lowest point is sea level<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"lowest_elevation","operation":"=","value":0}]}}<|endoftext|><|prompter|>what is the highest elevation in delaware<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"state_name","operation":"=","value":"'delaware'"}]}}<|endoftext|><|prompter|>how high is the highest point of delaware<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"state_name","operation":"=","value":"'delaware'"}]}}<|endoftext|><|prompter|>how tall is the highest point in delaware<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"state_name","operation":"=","value":"'delaware'"}]}}<|endoftext|><|prompter|>what is the highest point in delaware in meters<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"state_name","operation":"=","value":"'delaware'"}]}}<|endoftext|><|prompter|>how high is the highest point in delaware<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"state_name","operation":"=","value":"'delaware'"}]}}<|endoftext|><|prompter|>where is the highest point in texas<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"state_name","operation":"=","value":"'texas'"}]}}<|endoftext|><|prompter|>what is the highest point in texas<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"state_name","operation":"=","value":"'texas'"}]}}<|endoftext|><|prompter|>what is the high point of texas<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"state_name","operation":"=","value":"'texas'"}]}}<|endoftext|><|prompter|>what is the highest mountain in texas<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"state_name","operation":"=","value":"'texas'"}]}}<|endoftext|><|prompter|>could you tell me what is the highest point in the state of texas<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"state_name","operation":"=","value":"'texas'"}]}}<|endoftext|><|prompter|>how high is guadalupe peak<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"highest_point","operation":"=","value":"'guadalupe peak'"}]}}<|endoftext|><|prompter|>how tall is guadalupe peak<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"highest_point","operation":"=","value":"'guadalupe peak'"}]}}<|endoftext|><|prompter|>what is the maximum elevation of guadalupe peak<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"highest_point","operation":"=","value":"'guadalupe peak'"}]}}<|endoftext|><|prompter|>how high is the highest point in america<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"highest_elevation","aggregation":"MAX"}]}}<|endoftext|><|prompter|>what is the highest elevation in the united states<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"highest_elevation","aggregation":"MAX"}]}}<|endoftext|><|prompter|>what is the elevation of the highest point in the usa<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"highest_elevation","aggregation":"MAX"}]}}<|endoftext|><|prompter|>what is the height of the highest point in the usa<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"highest_elevation","aggregation":"MAX"}]}}<|endoftext|><|prompter|>what is the lowest point in iowa<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"state_name","operation":"=","value":"'iowa'"}]}}<|endoftext|><|prompter|>what is the lowest point in iowa in meters<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"state_name","operation":"=","value":"'iowa'"}]}}<|endoftext|><|prompter|>what is the lowest point in the state of iowa<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"state_name","operation":"=","value":"'iowa'"}]}}<|endoftext|><|prompter|>where is the lowest point in iowa<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"state_name","operation":"=","value":"'iowa'"}]}}<|endoftext|><|prompter|>what is the lowest point of iowa<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"state_name","operation":"=","value":"'iowa'"}]}}<|endoftext|><|prompter|>where is the lowest spot in iowa<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"state_name","operation":"=","value":"'iowa'"}]}}<|endoftext|><|prompter|>what is the height of the highest mountain in texas<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"highest_elevation","aggregation":"MAX"},{"actionType":"ChangeCondition","column":"state_name","operation":"=","value":"'texas'"}]}}<|endoftext|><|prompter|>what is the elevation of death valley<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"lowest_point","operation":"=","value":"'death valley'"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["id","duration","start_date","start_station_name","start_station_id","end_date","end_station_name","end_station_id","bike_id","subscription_type","zip_code"],"name":"trip","type":"grid"}]<|endoftext|><|prompter|>what is the total duration of trips with bike id 636?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"duration","aggregation":"sum"},{"actionType":"ChangeCondition","column":"bike_id","operation":"=","value":636}]}}<|endoftext|><|prompter|>ok,what is the maximum duration of trip with bike id 636?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"duration","aggregation":"max"},{"actionType":"ChangeCondition","column":"bike_id","operation":"=","value":636}]}}<|endoftext|><|prompter|>ok,what is the maximum duration of trip with bike id 454?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"duration","aggregation":"max"},{"actionType":"ChangeCondition","column":"bike_id","operation":"=","value":454}]}}<|endoftext|><|prompter|>thanks<|endoftext|><|assistant|>{"text":"Bye.","dsl":{}}<|endoftext|>
COSQL
<|context|>[{"columns":["catalog_level_number","catalog_id","catalog_level_name"],"name":"Catalog_Structure","type":"grid"}]<|endoftext|><|prompter|>Find the name and level of catalog structure with level between 5 and 10.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"catalog_level_number","operation":">=","value":5},{"actionType":"ChangeCondition","column":"catalog_level_number","operation":"<=","value":10}]}}<|endoftext|><|prompter|>What are the name and level of catalog structure with level number between 5 and 10<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"catalog_level_number","operation":">=","value":5},{"actionType":"ChangeCondition","column":"catalog_level_number","operation":"<=","value":10}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["County_Id","County_name","Population","Zip_code"],"name":"county","type":"grid"}]<|endoftext|><|prompter|>Which county has the biggest population?<|endoftext|><|assistant|>{"text":"Do you mean the name of the county that has the biggest population?","dsl":{}}<|endoftext|><|prompter|>Yes, what's the name of the county with the biggest population?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"Population","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>And the name with the smallest population?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"Population","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>What is the population of Baltimore County?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"county_name","operation":"=","value":"'Baltimore County'"}]}}<|endoftext|><|prompter|>What is its zip code?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"county_name","operation":"=","value":"'Baltimore County'"}]}}<|endoftext|><|prompter|>Great! I appreciate your help. Thanks!<|endoftext|><|assistant|>{"text":"Thank you for your help! Bye","dsl":{}}<|endoftext|>
COSQL
<|context|>[{"columns":["station_id","day_of_week","high_temperature","low_temperature","precipitation","wind_speed_mph"],"name":"weekly_weather","type":"grid"}]<|endoftext|><|prompter|>What is the mean highest temperature for each day of the week?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"high_temperature","aggregation":"avg"},{"actionType":"ChangeGrouping","column":"day_of_week"}]}}<|endoftext|><|prompter|>show the lowest low temperature and highest wind speed in miles per hour.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"low_temperature","aggregation":"min"},{"actionType":"ChangeAggregations","column":"wind_speed_mph","aggregation":"max"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["station_id","day_of_week","high_temperature","low_temperature","precipitation","wind_speed_mph"],"name":"weekly_weather","type":"grid"}]<|endoftext|><|prompter|>What is the mean high temperature for each day of the week?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"high_temperature","aggregation":"avg"},{"actionType":"ChangeGrouping","column":"day_of_week"}]}}<|endoftext|><|prompter|>show the lowest low temperature and highest wind speed in miles per hour.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"low_temperature","aggregation":"min"},{"actionType":"ChangeAggregations","column":"wind_speed_mph","aggregation":"max"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["station_id","day_of_week","high_temperature","low_temperature","precipitation","wind_speed_mph"],"name":"weekly_weather","type":"grid"}]<|endoftext|><|prompter|>What is the average high temperature for each day of week?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"high_temperature","aggregation":"avg"},{"actionType":"ChangeGrouping","column":"day_of_week"}]}}<|endoftext|><|prompter|>show the lowest low temperature and highest wind speed in miles per hour.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"low_temperature","aggregation":"min"},{"actionType":"ChangeAggregations","column":"wind_speed_mph","aggregation":"max"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["asset_id","maintenance_contract_id","supplier_company_id","asset_details","asset_make","asset_model","asset_acquired_date","asset_disposed_date","other_asset_details"],"name":"Assets","type":"grid"}]<|endoftext|><|prompter|>When was the first asset acquired?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"asset_acquired_date","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>List the all the assets make, model, details by the disposed date ascendingly.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"asset_disposed_date","direction":"ask"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["id","Vehicle_Flight_number","Date","Pilot","Velocity","Altitude","airport_id","company_id"],"name":"flight","type":"grid"}]<|endoftext|><|prompter|>How many flights have a velocity larger than 200?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"velocity","operation":">","value":200}]}}<|endoftext|><|prompter|>List the vehicle flight number, date and pilot of all the flights, ordered by altitude.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"altitude","direction":"ask"}]}}<|endoftext|><|prompter|>What is the velocity of the pilot named 'Thompson'?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"velocity","aggregation":"avg"},{"actionType":"ChangeCondition","column":"pilot","operation":"=","value":"Thompson"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["actor_id","first_name","last_name","last_update"],"name":"actor","type":"grid"}]<|endoftext|><|prompter|>How many different last names do the actors and actresses have?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"last_name","aggregation":"count"}]}}<|endoftext|><|prompter|>Count the number of different last names actors have.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"last_name","aggregation":"count"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["degree_program_id","department_id","degree_summary_name","degree_summary_description","other_details"],"name":"Degree_Programs","type":"grid"}]<|endoftext|><|prompter|>How many departments offer any degree?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"department_id","aggregation":"count"}]}}<|endoftext|><|prompter|>How many different departments offer degrees?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"department_id","aggregation":"count"}]}}<|endoftext|><|prompter|>How many different degree names are offered?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"degree_summary_name","aggregation":"count"}]}}<|endoftext|><|prompter|>How many different degrees are offered?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"degree_summary_name","aggregation":"count"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["JOB_ID","JOB_TITLE","MIN_SALARY","MAX_SALARY"],"name":"jobs","type":"grid"}]<|endoftext|><|prompter|>display the job title of jobs which minimum salary is greater than 9000.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"min_salary","operation":">","value":9000}]}}<|endoftext|><|prompter|>Which job titles correspond to jobs with salaries over 9000?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"min_salary","operation":">","value":9000}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["People_ID","Sex","Name","Date_of_Birth","Height","Weight"],"name":"people","type":"grid"}]<|endoftext|><|prompter|>List all people names in the order of their date of birth from old to young.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"date_of_birth","direction":"ask"}]}}<|endoftext|><|prompter|>What are the names of all people, ordered by their date of birth?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"date_of_birth","direction":"ask"}]}}<|endoftext|><|prompter|>Find the average height and weight for all males (sex is M).<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"height","aggregation":"avg"},{"actionType":"ChangeAggregations","column":"weight","aggregation":"avg"},{"actionType":"ChangeCondition","column":"sex","operation":"=","value":"M"}]}}<|endoftext|><|prompter|>What are the average height and weight across males (sex is M)?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"height","aggregation":"avg"},{"actionType":"ChangeAggregations","column":"weight","aggregation":"avg"},{"actionType":"ChangeCondition","column":"sex","operation":"=","value":"M"}]}}<|endoftext|><|prompter|>Count the number of individuals with a weight over 85 for each gender.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"weight","operation":">","value":85},{"actionType":"ChangeGrouping","column":"sex"}]}}<|endoftext|><|prompter|>Count the number of people of each sex who have a weight higher than 85.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"weight","operation":">","value":85},{"actionType":"ChangeGrouping","column":"sex"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["People_ID","Sex","Name","Date_of_Birth","Height","Weight"],"name":"people","type":"grid"}]<|endoftext|><|prompter|>List all people names in the order of their date of birth from old to young.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"date_of_birth","direction":"ask"}]}}<|endoftext|><|prompter|>What are the names of all people, ordered by their date of birth?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"date_of_birth","direction":"ask"}]}}<|endoftext|><|prompter|>Find the average height and weight for all males (sex is M).<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"height","aggregation":"avg"},{"actionType":"ChangeAggregations","column":"weight","aggregation":"avg"},{"actionType":"ChangeCondition","column":"sex","operation":"=","value":"M"}]}}<|endoftext|><|prompter|>What are the average height and weight across males (sex is M)?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"height","aggregation":"avg"},{"actionType":"ChangeAggregations","column":"weight","aggregation":"avg"},{"actionType":"ChangeCondition","column":"sex","operation":"=","value":"M"}]}}<|endoftext|><|prompter|>For each gender, how many people weigh more than 85?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"weight","operation":">","value":85},{"actionType":"ChangeGrouping","column":"sex"}]}}<|endoftext|><|prompter|>Count the number of people of each sex who have a weight higher than 85.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"weight","operation":">","value":85},{"actionType":"ChangeGrouping","column":"sex"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["People_ID","Sex","Name","Date_of_Birth","Height","Weight"],"name":"people","type":"grid"}]<|endoftext|><|prompter|>List all people names in the order of their date of birth from old to young.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"date_of_birth","direction":"ask"}]}}<|endoftext|><|prompter|>What are the names of all people, ordered by their date of birth?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"date_of_birth","direction":"ask"}]}}<|endoftext|><|prompter|>Find the average height and weight for all males (sex is M).<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"height","aggregation":"avg"},{"actionType":"ChangeAggregations","column":"weight","aggregation":"avg"},{"actionType":"ChangeCondition","column":"sex","operation":"=","value":"M"}]}}<|endoftext|><|prompter|>What are the average height and weight across males (sex is M)?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"height","aggregation":"avg"},{"actionType":"ChangeAggregations","column":"weight","aggregation":"avg"},{"actionType":"ChangeCondition","column":"sex","operation":"=","value":"M"}]}}<|endoftext|><|prompter|>how many people are there whose weight is higher than 85 for each gender?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"weight","operation":">","value":85},{"actionType":"ChangeGrouping","column":"sex"}]}}<|endoftext|><|prompter|>Count the number of individuals of each gender with a weight above 85.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"weight","operation":">","value":85},{"actionType":"ChangeGrouping","column":"sex"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["People_ID","Sex","Name","Date_of_Birth","Height","Weight"],"name":"people","type":"grid"}]<|endoftext|><|prompter|>List all people names in the order of their date of birth from old to young.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"date_of_birth","direction":"ask"}]}}<|endoftext|><|prompter|>What are the names of all people, ordered by their date of birth?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"date_of_birth","direction":"ask"}]}}<|endoftext|><|prompter|>Find the average height and weight for all males (sex is M).<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"height","aggregation":"avg"},{"actionType":"ChangeAggregations","column":"weight","aggregation":"avg"},{"actionType":"ChangeCondition","column":"sex","operation":"=","value":"M"}]}}<|endoftext|><|prompter|>What are the average height and weight across males (sex is M)?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"height","aggregation":"avg"},{"actionType":"ChangeAggregations","column":"weight","aggregation":"avg"},{"actionType":"ChangeCondition","column":"sex","operation":"=","value":"M"}]}}<|endoftext|><|prompter|>how many people are there whose weight is higher than 85 for each gender?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"weight","operation":">","value":85},{"actionType":"ChangeGrouping","column":"sex"}]}}<|endoftext|><|prompter|>Find the count of people for each sex with a weight higher than 85.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"weight","operation":">","value":85},{"actionType":"ChangeGrouping","column":"sex"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["People_ID","Sex","Name","Date_of_Birth","Height","Weight"],"name":"people","type":"grid"}]<|endoftext|><|prompter|>List all people names in the order of their date of birth from old to young.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"date_of_birth","direction":"ask"}]}}<|endoftext|><|prompter|>What are the names of all people, ordered by their date of birth?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"date_of_birth","direction":"ask"}]}}<|endoftext|><|prompter|>Find the average height and weight for all males (sex is M).<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"height","aggregation":"avg"},{"actionType":"ChangeAggregations","column":"weight","aggregation":"avg"},{"actionType":"ChangeCondition","column":"sex","operation":"=","value":"M"}]}}<|endoftext|><|prompter|>What are the average height and weight across males (sex is M)?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"height","aggregation":"avg"},{"actionType":"ChangeAggregations","column":"weight","aggregation":"avg"},{"actionType":"ChangeCondition","column":"sex","operation":"=","value":"M"}]}}<|endoftext|><|prompter|>how many people are there whose weight is higher than 85 for each gender?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"weight","operation":">","value":85},{"actionType":"ChangeGrouping","column":"sex"}]}}<|endoftext|><|prompter|>Count the number of people of each sex who have a weight higher than 85.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"weight","operation":">","value":85},{"actionType":"ChangeGrouping","column":"sex"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["id","Episode","Air_Date","Rating","Share","18_49_Rating_Share","Viewers_m","Weekly_Rank","Channel"],"name":"TV_series","type":"grid"}]<|endoftext|><|prompter|>List the Episode of all TV series sorted by rating.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"rating","direction":"ask"}]}}<|endoftext|><|prompter|>What are all of the episodes ordered by ratings?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"rating","direction":"ask"}]}}<|endoftext|><|prompter|>List top 3 highest Rating TV series. List the TV series's Episode and Rating.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"Rating","limit":3,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>What are 3 most highly rated episodes in the TV series table and what were those ratings?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"Rating","limit":3,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>What is the air date of TV series with Episode "A Love of a Lifetime"?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Episode","operation":"=","value":"'A Love of a Lifetime'"}]}}<|endoftext|><|prompter|>When did the episode "A Love of a Lifetime" air?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Episode","operation":"=","value":"'A Love of a Lifetime'"}]}}<|endoftext|><|prompter|>What is Weekly Rank of TV series with Episode "A Love of a Lifetime"?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Episode","operation":"=","value":"'A Love of a Lifetime'"}]}}<|endoftext|><|prompter|>What is the weekly rank for the episode "A Love of a Lifetime"?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Episode","operation":"=","value":"'A Love of a Lifetime'"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["f1","f2"],"name":"follows","type":"grid"}]<|endoftext|><|prompter|>Calculate the follower count for each user.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"f1"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["f1","f2"],"name":"follows","type":"grid"}]<|endoftext|><|prompter|>Determine the number of hosts for each nationality and list the nationality and the count.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"f1"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["f1","f2"],"name":"follows","type":"grid"}]<|endoftext|><|prompter|>Find the number of followers for each user.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"f1"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["complaint_id","product_id","customer_id","complaint_outcome_code","complaint_status_code","complaint_type_code","date_complaint_raised","date_complaint_closed","staff_id"],"name":"complaints","type":"grid"}]<|endoftext|><|prompter|>Find the number of complaints with Product Failure type for each complaint status?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"complaint_type_code","operation":"=","value":"'Product Failure'"},{"actionType":"ChangeGrouping","column":"complaint_status_code"}]}}<|endoftext|><|prompter|>What were the complaint outcome code of each of those claims?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"complaint_type_code","operation":"=","value":"'Product Failure'"}]}}<|endoftext|><|prompter|>What is the complaint status code of each of those claims?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"complaint_type_code","operation":"=","value":"'Product Failure'"}]}}<|endoftext|><|prompter|>Thanks!<|endoftext|><|assistant|>{"text":"goodbye","dsl":{}}<|endoftext|>
COSQL