instruction
stringlengths 241
15.9k
| source
stringclasses 2
values |
---|---|
<|context|>[{"columns":["Museum_ID","Name","Num_of_Staff","Open_Year"],"name":"museum","type":"grid"}]<|endoftext|><|prompter|>Find the id and name of the museum that has the most staff members?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"num_of_staff","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>Find the average number of staff working for the museums that were open before 2009.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"num_of_staff","aggregation":"avg"},{"actionType":"ChangeCondition","column":"open_year","operation":"<","value":2009}]}}<|endoftext|><|prompter|>What are the opening year and staff number of the museum named Plaza Museum?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"name","operation":"=","value":"Plaza Museum"}]}}<|endoftext|> | SPIDER |
<|context|>[{"columns":["ID","Name","CountryCode","District","Population"],"name":"city","type":"grid"}]<|endoftext|><|prompter|>How many people live in Gelderland district?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Population","aggregation":"sum"},{"actionType":"ChangeCondition","column":"District","operation":"=","value":"'Gelderland'"}]}}<|endoftext|><|prompter|>What is the total population of Gelderland district?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Population","aggregation":"sum"},{"actionType":"ChangeCondition","column":"District","operation":"=","value":"'Gelderland'"}]}}<|endoftext|><|prompter|>What are the cities whose population is between 160000 and 900000?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Population","operation":">=","value":160000},{"actionType":"ChangeCondition","column":"Population","operation":"<=","value":900000}]}}<|endoftext|><|prompter|>Return the names of cities that have a population between 160000 and 900000 .<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"population","operation":">=","value":160000},{"actionType":"ChangeCondition","column":"population","operation":"<=","value":900000}]}}<|endoftext|> | SPIDER |
<|context|>[{"columns":["product_id","product_type_code","product_name","product_price"],"name":"products","type":"grid"}]<|endoftext|><|prompter|>Can you find the name of the most expensive hardware product please?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"product_type_code","operation":"=","value":"Hardware"},{"actionType":"ChangeTopFilter","column":"product_price","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>What is its product price?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"product_type_code","operation":"=","value":"Hardware"},{"actionType":"ChangeTopFilter","column":"product_price","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>What is the product name and price for the least expensive hardware product?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"product_type_code","operation":"=","value":"Hardware"},{"actionType":"ChangeTopFilter","column":"product_price","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>What is the average price of all hardware products?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"product_price","aggregation":"avg"},{"actionType":"ChangeCondition","column":"product_type_code","operation":"=","value":"Hardware"}]}}<|endoftext|><|prompter|>What is the average price of all clothes products?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"product_price","aggregation":"avg"},{"actionType":"ChangeCondition","column":"product_type_code","operation":"=","value":"Clothes"}]}}<|endoftext|><|prompter|>Thanks!<|endoftext|><|assistant|>{"text":"Sure. You are welcome! Bye!","dsl":{}}<|endoftext|> | COSQL |
<|context|>[{"columns":["Captain_ID","Name","Ship_ID","age","Class","Rank"],"name":"captain","type":"grid"}]<|endoftext|><|prompter|>When is the soonest to be captains in different class?
<|endoftext|><|assistant|>{"text":"What do you mean by soonest?","dsl":{}}<|endoftext|><|prompter|>the minimum age?
<|endoftext|><|assistant|>{"text":"Here is a list of minimum age to be a captain in different classes.","dsl":{}}<|endoftext|><|prompter|>Who is the oldest in the list?
<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"age","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>what is the rank of Captain Gilbert Pears?
<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"name","operation":"=","value":"'Captain Gilbert Pears'"}]}}<|endoftext|><|prompter|>What's about Captain Sir Henry Langford?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"name","operation":"=","value":"'Captain Henry Dumaresq'"}]}}<|endoftext|><|prompter|>Is Captain Sir Henry Langford the youngest in third-rate ship of the line class?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"class","operation":"=","value":"'Third-rate ship of the line'"},{"actionType":"ChangeTopFilter","column":"age","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>Thanks!
<|endoftext|><|assistant|>{"text":"Bye","dsl":{}}<|endoftext|> | COSQL |
<|context|>[{"columns":["rID","name"],"name":"Reviewer","type":"grid"}]<|endoftext|><|prompter|>What is the reviewer id of Daniel Lewis?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"name","operation":"=","value":"'Daniel Lewis'"}]}}<|endoftext|><|prompter|>What is the id of the reviewer named Daniel Lewis?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"name","operation":"=","value":"'Daniel Lewis'"}]}}<|endoftext|> | SPIDER |
<|context|>[{"columns":["Artist_ID","Name","Country","Year_Join","Age"],"name":"artist","type":"grid"}]<|endoftext|><|prompter|>what country is Vijay Singh from?
<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Name","operation":"=","value":"Vijay Singh"}]}}<|endoftext|><|prompter|>who is the latest artist?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"year_join","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>what year did Vijay Singh joined?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Name","operation":"=","value":"Vijay Singh"}]}}<|endoftext|><|prompter|>Thanks!<|endoftext|><|assistant|>{"text":"goosbye","dsl":{}}<|endoftext|> | COSQL |
<|context|>[{"columns":["Player_ID","name","Position","Club_ID","Apps","Tries","Goals","Points"],"name":"player","type":"grid"}]<|endoftext|><|prompter|>Enumerate player positions and their corresponding average point totals.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Points","aggregation":"avg"},{"actionType":"ChangeGrouping","column":"POSITION"}]}}<|endoftext|><|prompter|>For each position, what is the average number of points for players in that position?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Points","aggregation":"avg"},{"actionType":"ChangeGrouping","column":"POSITION"}]}}<|endoftext|><|prompter|>Show total points of all players.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Points","aggregation":"sum"}]}}<|endoftext|><|prompter|>What is the total number of points for all players?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Points","aggregation":"sum"}]}}<|endoftext|><|prompter|>how many different positions are there?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"POSITION","aggregation":"count"}]}}<|endoftext|><|prompter|>How many different position for players are listed?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"POSITION","aggregation":"count"}]}}<|endoftext|><|prompter|>find the number of players whose points are lower than 30 in each position.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"points","operation":"<","value":30},{"actionType":"ChangeGrouping","column":"POSITION"}]}}<|endoftext|><|prompter|>What is the number of players who have points less than 30 for each position?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"points","operation":"<","value":30},{"actionType":"ChangeGrouping","column":"POSITION"}]}}<|endoftext|> | SPIDER |
<|context|>[{"columns":["Player_ID","name","Position","Club_ID","Apps","Tries","Goals","Points"],"name":"player","type":"grid"}]<|endoftext|><|prompter|>Show the average number of points for players in each position and list their positions.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Points","aggregation":"avg"},{"actionType":"ChangeGrouping","column":"POSITION"}]}}<|endoftext|><|prompter|>For each position, what is the average number of points for players in that position?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Points","aggregation":"avg"},{"actionType":"ChangeGrouping","column":"POSITION"}]}}<|endoftext|><|prompter|>Show total points of all players.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Points","aggregation":"sum"}]}}<|endoftext|><|prompter|>What is the total number of points for all players?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Points","aggregation":"sum"}]}}<|endoftext|><|prompter|>how many different positions are there?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"POSITION","aggregation":"count"}]}}<|endoftext|><|prompter|>How many different position for players are listed?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"POSITION","aggregation":"count"}]}}<|endoftext|><|prompter|>find the number of players whose points are lower than 30 in each position.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"points","operation":"<","value":30},{"actionType":"ChangeGrouping","column":"POSITION"}]}}<|endoftext|><|prompter|>What is the number of players who have points less than 30 for each position?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"points","operation":"<","value":30},{"actionType":"ChangeGrouping","column":"POSITION"}]}}<|endoftext|> | SPIDER |
<|context|>[{"columns":["Player_ID","name","Position","Club_ID","Apps","Tries","Goals","Points"],"name":"player","type":"grid"}]<|endoftext|><|prompter|>List the position of players and the average number of points of players of each position.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Points","aggregation":"avg"},{"actionType":"ChangeGrouping","column":"POSITION"}]}}<|endoftext|><|prompter|>Please show the record formats of orchestras in ascending order of count.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Points","aggregation":"avg"},{"actionType":"ChangeGrouping","column":"POSITION"}]}}<|endoftext|><|prompter|>Show total points of all players.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Points","aggregation":"sum"}]}}<|endoftext|><|prompter|>What is the total number of points for all players?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Points","aggregation":"sum"}]}}<|endoftext|><|prompter|>how many different positions are there?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"POSITION","aggregation":"count"}]}}<|endoftext|><|prompter|>How many different position for players are listed?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"POSITION","aggregation":"count"}]}}<|endoftext|><|prompter|>find the number of players whose points are lower than 30 in each position.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"points","operation":"<","value":30},{"actionType":"ChangeGrouping","column":"POSITION"}]}}<|endoftext|><|prompter|>What is the number of players who have points less than 30 for each position?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"points","operation":"<","value":30},{"actionType":"ChangeGrouping","column":"POSITION"}]}}<|endoftext|> | SPIDER |
<|context|>[{"columns":["Player_ID","name","Position","Club_ID","Apps","Tries","Goals","Points"],"name":"player","type":"grid"}]<|endoftext|><|prompter|>List the position of players and the average number of points of players of each position.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Points","aggregation":"avg"},{"actionType":"ChangeGrouping","column":"POSITION"}]}}<|endoftext|><|prompter|>For each position, what is the average number of points for players in that position?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Points","aggregation":"avg"},{"actionType":"ChangeGrouping","column":"POSITION"}]}}<|endoftext|><|prompter|>Show total points of all players.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Points","aggregation":"sum"}]}}<|endoftext|><|prompter|>What is the total number of points for all players?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Points","aggregation":"sum"}]}}<|endoftext|><|prompter|>how many different positions are there?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"POSITION","aggregation":"count"}]}}<|endoftext|><|prompter|>How many different position for players are listed?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"POSITION","aggregation":"count"}]}}<|endoftext|><|prompter|>find the number of players whose points are lower than 30 in each position.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"points","operation":"<","value":30},{"actionType":"ChangeGrouping","column":"POSITION"}]}}<|endoftext|><|prompter|>What is the number of players who have points less than 30 for each position?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"points","operation":"<","value":30},{"actionType":"ChangeGrouping","column":"POSITION"}]}}<|endoftext|> | SPIDER |
<|context|>[{"columns":["Player_ID","name","Position","Club_ID","Apps","Tries","Goals","Points"],"name":"player","type":"grid"}]<|endoftext|><|prompter|>List the position of players and the average number of points of players of each position.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Points","aggregation":"avg"},{"actionType":"ChangeGrouping","column":"POSITION"}]}}<|endoftext|><|prompter|>For each position, what is the average number of points for players in that position?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Points","aggregation":"avg"},{"actionType":"ChangeGrouping","column":"POSITION"}]}}<|endoftext|><|prompter|>Show total points of all players.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Points","aggregation":"sum"}]}}<|endoftext|><|prompter|>What is the total number of points for all players?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Points","aggregation":"sum"}]}}<|endoftext|><|prompter|>how many different positions are there?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"POSITION","aggregation":"count"}]}}<|endoftext|><|prompter|>How many different position for players are listed?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"POSITION","aggregation":"count"}]}}<|endoftext|><|prompter|>In each position, count players with points below 30.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"points","operation":"<","value":30},{"actionType":"ChangeGrouping","column":"POSITION"}]}}<|endoftext|><|prompter|>What is the number of players who have points less than 30 for each position?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"points","operation":"<","value":30},{"actionType":"ChangeGrouping","column":"POSITION"}]}}<|endoftext|> | SPIDER |
<|context|>[{"columns":["Player_ID","name","Position","Club_ID","Apps","Tries","Goals","Points"],"name":"player","type":"grid"}]<|endoftext|><|prompter|>List the position of players and the average number of points of players of each position.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Points","aggregation":"avg"},{"actionType":"ChangeGrouping","column":"POSITION"}]}}<|endoftext|><|prompter|>For each position, what is the average number of points for players in that position?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Points","aggregation":"avg"},{"actionType":"ChangeGrouping","column":"POSITION"}]}}<|endoftext|><|prompter|>Show total points of all players.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Points","aggregation":"sum"}]}}<|endoftext|><|prompter|>What is the total number of points for all players?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Points","aggregation":"sum"}]}}<|endoftext|><|prompter|>how many different positions are there?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"POSITION","aggregation":"count"}]}}<|endoftext|><|prompter|>How many different position for players are listed?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"POSITION","aggregation":"count"}]}}<|endoftext|><|prompter|>How many players have fewer than 30 points in each position?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"points","operation":"<","value":30},{"actionType":"ChangeGrouping","column":"POSITION"}]}}<|endoftext|><|prompter|>What is the number of players who have points less than 30 for each position?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"points","operation":"<","value":30},{"actionType":"ChangeGrouping","column":"POSITION"}]}}<|endoftext|> | SPIDER |
<|context|>[{"columns":["Player_ID","name","Position","Club_ID","Apps","Tries","Goals","Points"],"name":"player","type":"grid"}]<|endoftext|><|prompter|>List the position of players and the average number of points of players of each position.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Points","aggregation":"avg"},{"actionType":"ChangeGrouping","column":"POSITION"}]}}<|endoftext|><|prompter|>For each position, what is the average number of points for players in that position?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Points","aggregation":"avg"},{"actionType":"ChangeGrouping","column":"POSITION"}]}}<|endoftext|><|prompter|>Show total points of all players.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Points","aggregation":"sum"}]}}<|endoftext|><|prompter|>What is the total number of points for all players?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Points","aggregation":"sum"}]}}<|endoftext|><|prompter|>how many different positions are there?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"POSITION","aggregation":"count"}]}}<|endoftext|><|prompter|>How many different position for players are listed?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"POSITION","aggregation":"count"}]}}<|endoftext|><|prompter|>find the number of players whose points are lower than 30 in each position.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"points","operation":"<","value":30},{"actionType":"ChangeGrouping","column":"POSITION"}]}}<|endoftext|><|prompter|>For each position, determine the count of players with fewer than 30 points.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"points","operation":"<","value":30},{"actionType":"ChangeGrouping","column":"POSITION"}]}}<|endoftext|> | SPIDER |
<|context|>[{"columns":["Player_ID","name","Position","Club_ID","Apps","Tries","Goals","Points"],"name":"player","type":"grid"}]<|endoftext|><|prompter|>List the position of players and the average number of points of players of each position.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Points","aggregation":"avg"},{"actionType":"ChangeGrouping","column":"POSITION"}]}}<|endoftext|><|prompter|>For each position, what is the average number of points for players in that position?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Points","aggregation":"avg"},{"actionType":"ChangeGrouping","column":"POSITION"}]}}<|endoftext|><|prompter|>Show total points of all players.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Points","aggregation":"sum"}]}}<|endoftext|><|prompter|>What is the total number of points for all players?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Points","aggregation":"sum"}]}}<|endoftext|><|prompter|>how many different positions are there?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"POSITION","aggregation":"count"}]}}<|endoftext|><|prompter|>How many different position for players are listed?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"POSITION","aggregation":"count"}]}}<|endoftext|><|prompter|>find the number of players whose points are lower than 30 in each position.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"points","operation":"<","value":30},{"actionType":"ChangeGrouping","column":"POSITION"}]}}<|endoftext|><|prompter|>Calculate the number of players with less than 30 points for each position.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"points","operation":"<","value":30},{"actionType":"ChangeGrouping","column":"POSITION"}]}}<|endoftext|> | SPIDER |
<|context|>[{"columns":["Player_ID","name","Position","Club_ID","Apps","Tries","Goals","Points"],"name":"player","type":"grid"}]<|endoftext|><|prompter|>List the position of players and the average number of points of players of each position.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Points","aggregation":"avg"},{"actionType":"ChangeGrouping","column":"POSITION"}]}}<|endoftext|><|prompter|>For each position, what is the average number of points for players in that position?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Points","aggregation":"avg"},{"actionType":"ChangeGrouping","column":"POSITION"}]}}<|endoftext|><|prompter|>Show total points of all players.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Points","aggregation":"sum"}]}}<|endoftext|><|prompter|>What is the total number of points for all players?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Points","aggregation":"sum"}]}}<|endoftext|><|prompter|>how many different positions are there?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"POSITION","aggregation":"count"}]}}<|endoftext|><|prompter|>How many different position for players are listed?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"POSITION","aggregation":"count"}]}}<|endoftext|><|prompter|>find the number of players whose points are lower than 30 in each position.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"points","operation":"<","value":30},{"actionType":"ChangeGrouping","column":"POSITION"}]}}<|endoftext|><|prompter|>What is the number of players who have points less than 30 for each position?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"points","operation":"<","value":30},{"actionType":"ChangeGrouping","column":"POSITION"}]}}<|endoftext|> | SPIDER |
<|context|>[{"columns":["Mountain_ID","Name","Height","Prominence","Range","Country"],"name":"mountain","type":"grid"}]<|endoftext|><|prompter|>What are the names of the mountains with height more than 5000?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Height","operation":">","value":5000}]}}<|endoftext|><|prompter|>Which of those has a prominence greater than 1000?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Height","operation":">","value":5000},{"actionType":"ChangeCondition","column":"prominence","operation":">","value":1000}]}}<|endoftext|><|prompter|>And in what range is each of those located?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Height","operation":">","value":5000},{"actionType":"ChangeCondition","column":"prominence","operation":">","value":1000}]}}<|endoftext|><|prompter|>Thanks!<|endoftext|><|assistant|>{"text":"bye","dsl":{}}<|endoftext|> | COSQL |
<|context|>[{"columns":["id","name","Location","Product","Chromosome","OMIM","Porphyria"],"name":"enzyme","type":"grid"}]<|endoftext|><|prompter|>List the name of enzymes in descending lexicographical order.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"name","direction":"desk"}]}}<|endoftext|><|prompter|>What are the names of enzymes in descending order?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"name","direction":"desk"}]}}<|endoftext|><|prompter|>What is the maximum Online Mendelian Inheritance in Man (OMIM) value of the enzymes?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"OMIM","aggregation":"max"}]}}<|endoftext|><|prompter|>What is the maximum OMIM value in the database?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"OMIM","aggregation":"max"}]}}<|endoftext|><|prompter|>What is the product, chromosome and porphyria related to the enzymes which take effect at the location 'Cytosol'?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"LOCATION","operation":"=","value":"Cytosol"}]}}<|endoftext|><|prompter|>What is the product, chromosome, and porphyria of the enzymes located at 'Cytosol'?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"LOCATION","operation":"=","value":"Cytosol"}]}}<|endoftext|><|prompter|>What are the names of enzymes who does not produce 'Heme'?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"product","operation":"!=","value":"Heme"}]}}<|endoftext|><|prompter|>What are the names of enzymes whose product is not 'Heme'?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"product","operation":"!=","value":"Heme"}]}}<|endoftext|> | SPIDER |
<|context|>[{"columns":["building_id","Name","Street_address","Years_as_tallest","Height_feet","Floors"],"name":"building","type":"grid"}]<|endoftext|><|prompter|>Show the name, street address, and number of floors for all buildings ordered by the number of floors.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"floors","direction":"ask"}]}}<|endoftext|><|prompter|>What is the name of the tallest building?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"height_feet","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>List the names of buildings with at least 200 feet of height and with at least 20 floors.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"height_feet","operation":">=","value":200},{"actionType":"ChangeCondition","column":"floors","operation":">=","value":20}]}}<|endoftext|> | SPIDER |
<|context|>[{"columns":["venueId","venueName"],"name":"venue","type":"grid"}]<|endoftext|><|prompter|>What venues are for Neuroscience ?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"venuename","operation":"=","value":"'Neuroscience'"}]}}<|endoftext|> | SPIDER |
<|context|>[{"columns":["City_ID","City","Hanzi","Hanyu_Pinyin","Regional_Population","GDP"],"name":"city","type":"grid"}]<|endoftext|><|prompter|>What is the largest population among the cities?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"Regional_Population","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>Hmm, I want to know the name of the city with this population.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"Regional_Population","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>What is the GDP of Shanghai?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"city","operation":"=","value":"'Shanghai'"}]}}<|endoftext|><|prompter|>Thanks!<|endoftext|><|assistant|>{"text":"Thank you, goodbye. ","dsl":{}}<|endoftext|> | COSQL |
<|context|>[{"columns":["CLASS_CODE","CRS_CODE","CLASS_SECTION","CLASS_TIME","CLASS_ROOM","PROF_NUM"],"name":"CLASS","type":"grid"}]<|endoftext|><|prompter|>How many professors are teaching class with code ACCT-211?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"PROF_NUM","aggregation":"count"},{"actionType":"ChangeCondition","column":"CRS_CODE","operation":"=","value":"'ACCT-211'"}]}}<|endoftext|><|prompter|>How many professors teach a class with the code ACCT-211?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"PROF_NUM","aggregation":"count"},{"actionType":"ChangeCondition","column":"CRS_CODE","operation":"=","value":"'ACCT-211'"}]}}<|endoftext|><|prompter|>Count the number of sections per course.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"crs_code"}]}}<|endoftext|><|prompter|>How many sections does each course have?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"crs_code"}]}}<|endoftext|><|prompter|>How many different classes are there?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"class_code","aggregation":"count"}]}}<|endoftext|><|prompter|>How many unique classes are offered?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"class_code","aggregation":"count"}]}}<|endoftext|><|prompter|>How many courses are offered?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"crs_code","aggregation":"count"}]}}<|endoftext|><|prompter|>What are the number of different course codes?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"crs_code","aggregation":"count"}]}}<|endoftext|><|prompter|>How many sections does course ACCT-211 has?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"class_section","aggregation":"count"},{"actionType":"ChangeCondition","column":"crs_code","operation":"=","value":"ACCT-211"}]}}<|endoftext|><|prompter|>What is the number of different class sections offered in the course ACCT-211?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"class_section","aggregation":"count"},{"actionType":"ChangeCondition","column":"crs_code","operation":"=","value":"ACCT-211"}]}}<|endoftext|><|prompter|>List the codes of all courses that take place in room KLR209.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"class_room","operation":"=","value":"KLR209"}]}}<|endoftext|><|prompter|>What are the codes of all the courses that are located in room KLR209?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"class_room","operation":"=","value":"KLR209"}]}}<|endoftext|> | SPIDER |
<|context|>[{"columns":["CLASS_CODE","CRS_CODE","CLASS_SECTION","CLASS_TIME","CLASS_ROOM","PROF_NUM"],"name":"CLASS","type":"grid"}]<|endoftext|><|prompter|>How many professors are teaching class with code ACCT-211?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"PROF_NUM","aggregation":"count"},{"actionType":"ChangeCondition","column":"CRS_CODE","operation":"=","value":"'ACCT-211'"}]}}<|endoftext|><|prompter|>How many professors teach a class with the code ACCT-211?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"PROF_NUM","aggregation":"count"},{"actionType":"ChangeCondition","column":"CRS_CODE","operation":"=","value":"'ACCT-211'"}]}}<|endoftext|><|prompter|>Find the number of sections for each course.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"crs_code"}]}}<|endoftext|><|prompter|>How many sections does each course have?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"crs_code"}]}}<|endoftext|><|prompter|>How many different classes are there?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"class_code","aggregation":"count"}]}}<|endoftext|><|prompter|>How many unique classes are offered?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"class_code","aggregation":"count"}]}}<|endoftext|><|prompter|>How many courses are offered?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"crs_code","aggregation":"count"}]}}<|endoftext|><|prompter|>What are the number of different course codes?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"crs_code","aggregation":"count"}]}}<|endoftext|><|prompter|>How many sections does course ACCT-211 has?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"class_section","aggregation":"count"},{"actionType":"ChangeCondition","column":"crs_code","operation":"=","value":"ACCT-211"}]}}<|endoftext|><|prompter|>What is the number of different class sections offered in the course ACCT-211?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"class_section","aggregation":"count"},{"actionType":"ChangeCondition","column":"crs_code","operation":"=","value":"ACCT-211"}]}}<|endoftext|><|prompter|>List the codes of all courses that take place in room KLR209.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"class_room","operation":"=","value":"KLR209"}]}}<|endoftext|><|prompter|>What are the codes of all the courses that are located in room KLR209?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"class_room","operation":"=","value":"KLR209"}]}}<|endoftext|> | SPIDER |
<|context|>[{"columns":["CLASS_CODE","CRS_CODE","CLASS_SECTION","CLASS_TIME","CLASS_ROOM","PROF_NUM"],"name":"CLASS","type":"grid"}]<|endoftext|><|prompter|>How many professors are teaching class with code ACCT-211?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"PROF_NUM","aggregation":"count"},{"actionType":"ChangeCondition","column":"CRS_CODE","operation":"=","value":"'ACCT-211'"}]}}<|endoftext|><|prompter|>How many professors teach a class with the code ACCT-211?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"PROF_NUM","aggregation":"count"},{"actionType":"ChangeCondition","column":"CRS_CODE","operation":"=","value":"'ACCT-211'"}]}}<|endoftext|><|prompter|>How many sections does each course has?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"crs_code"}]}}<|endoftext|><|prompter|>How many sections are in each course?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"crs_code"}]}}<|endoftext|><|prompter|>How many different classes are there?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"class_code","aggregation":"count"}]}}<|endoftext|><|prompter|>How many unique classes are offered?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"class_code","aggregation":"count"}]}}<|endoftext|><|prompter|>How many courses are offered?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"crs_code","aggregation":"count"}]}}<|endoftext|><|prompter|>What are the number of different course codes?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"crs_code","aggregation":"count"}]}}<|endoftext|><|prompter|>How many sections does course ACCT-211 has?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"class_section","aggregation":"count"},{"actionType":"ChangeCondition","column":"crs_code","operation":"=","value":"ACCT-211"}]}}<|endoftext|><|prompter|>What is the number of different class sections offered in the course ACCT-211?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"class_section","aggregation":"count"},{"actionType":"ChangeCondition","column":"crs_code","operation":"=","value":"ACCT-211"}]}}<|endoftext|><|prompter|>List the codes of all courses that take place in room KLR209.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"class_room","operation":"=","value":"KLR209"}]}}<|endoftext|><|prompter|>What are the codes of all the courses that are located in room KLR209?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"class_room","operation":"=","value":"KLR209"}]}}<|endoftext|> | SPIDER |
<|context|>[{"columns":["CLASS_CODE","CRS_CODE","CLASS_SECTION","CLASS_TIME","CLASS_ROOM","PROF_NUM"],"name":"CLASS","type":"grid"}]<|endoftext|><|prompter|>How many professors are teaching class with code ACCT-211?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"PROF_NUM","aggregation":"count"},{"actionType":"ChangeCondition","column":"CRS_CODE","operation":"=","value":"'ACCT-211'"}]}}<|endoftext|><|prompter|>How many professors teach a class with the code ACCT-211?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"PROF_NUM","aggregation":"count"},{"actionType":"ChangeCondition","column":"CRS_CODE","operation":"=","value":"'ACCT-211'"}]}}<|endoftext|><|prompter|>How many sections does each course has?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"crs_code"}]}}<|endoftext|><|prompter|>What is the number of sections per course?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"crs_code"}]}}<|endoftext|><|prompter|>How many different classes are there?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"class_code","aggregation":"count"}]}}<|endoftext|><|prompter|>How many unique classes are offered?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"class_code","aggregation":"count"}]}}<|endoftext|><|prompter|>How many courses are offered?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"crs_code","aggregation":"count"}]}}<|endoftext|><|prompter|>What are the number of different course codes?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"crs_code","aggregation":"count"}]}}<|endoftext|><|prompter|>How many sections does course ACCT-211 has?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"class_section","aggregation":"count"},{"actionType":"ChangeCondition","column":"crs_code","operation":"=","value":"ACCT-211"}]}}<|endoftext|><|prompter|>What is the number of different class sections offered in the course ACCT-211?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"class_section","aggregation":"count"},{"actionType":"ChangeCondition","column":"crs_code","operation":"=","value":"ACCT-211"}]}}<|endoftext|><|prompter|>List the codes of all courses that take place in room KLR209.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"class_room","operation":"=","value":"KLR209"}]}}<|endoftext|><|prompter|>What are the codes of all the courses that are located in room KLR209?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"class_room","operation":"=","value":"KLR209"}]}}<|endoftext|> | SPIDER |
<|context|>[{"columns":["CLASS_CODE","CRS_CODE","CLASS_SECTION","CLASS_TIME","CLASS_ROOM","PROF_NUM"],"name":"CLASS","type":"grid"}]<|endoftext|><|prompter|>How many professors are teaching class with code ACCT-211?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"PROF_NUM","aggregation":"count"},{"actionType":"ChangeCondition","column":"CRS_CODE","operation":"=","value":"'ACCT-211'"}]}}<|endoftext|><|prompter|>How many professors teach a class with the code ACCT-211?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"PROF_NUM","aggregation":"count"},{"actionType":"ChangeCondition","column":"CRS_CODE","operation":"=","value":"'ACCT-211'"}]}}<|endoftext|><|prompter|>How many sections does each course has?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"crs_code"}]}}<|endoftext|><|prompter|>How many sections does each course have?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"crs_code"}]}}<|endoftext|><|prompter|>How many different classes are there?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"class_code","aggregation":"count"}]}}<|endoftext|><|prompter|>How many unique classes are offered?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"class_code","aggregation":"count"}]}}<|endoftext|><|prompter|>How many courses are offered?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"crs_code","aggregation":"count"}]}}<|endoftext|><|prompter|>What are the number of different course codes?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"crs_code","aggregation":"count"}]}}<|endoftext|><|prompter|>How many sections does course ACCT-211 has?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"class_section","aggregation":"count"},{"actionType":"ChangeCondition","column":"crs_code","operation":"=","value":"ACCT-211"}]}}<|endoftext|><|prompter|>What is the number of different class sections offered in the course ACCT-211?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"class_section","aggregation":"count"},{"actionType":"ChangeCondition","column":"crs_code","operation":"=","value":"ACCT-211"}]}}<|endoftext|><|prompter|>List the codes of all courses that take place in room KLR209.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"class_room","operation":"=","value":"KLR209"}]}}<|endoftext|><|prompter|>What are the codes of all the courses that are located in room KLR209?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"class_room","operation":"=","value":"KLR209"}]}}<|endoftext|> | SPIDER |
<|context|>[{"columns":["journalist_ID","Name","Nationality","Age","Years_working"],"name":"journalist","type":"grid"}]<|endoftext|><|prompter|>List the names of journalists in ascending order of years working.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"Years_working","direction":"ask"}]}}<|endoftext|><|prompter|>What is the average number of years spent working as a journalist?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Years_working","aggregation":"avg"}]}}<|endoftext|><|prompter|>What is the nationality of the journalist with the largest number of years working?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"Years_working","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>Present distinct nationalities along with the count of journalists from each nationality.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"Nationality"}]}}<|endoftext|> | SPIDER |
<|context|>[{"columns":["journalist_ID","Name","Nationality","Age","Years_working"],"name":"journalist","type":"grid"}]<|endoftext|><|prompter|>List the names of journalists in ascending order of years working.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"Years_working","direction":"ask"}]}}<|endoftext|><|prompter|>What is the average number of years spent working as a journalist?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Years_working","aggregation":"avg"}]}}<|endoftext|><|prompter|>What is the nationality of the journalist with the largest number of years working?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"Years_working","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>Display the number of railways at each location.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"Nationality"}]}}<|endoftext|> | SPIDER |
<|context|>[{"columns":["journalist_ID","Name","Nationality","Age","Years_working"],"name":"journalist","type":"grid"}]<|endoftext|><|prompter|>List the names of journalists in ascending order of years working.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"Years_working","direction":"ask"}]}}<|endoftext|><|prompter|>What is the average number of years spent working as a journalist?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Years_working","aggregation":"avg"}]}}<|endoftext|><|prompter|>What is the nationality of the journalist with the largest number of years working?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"Years_working","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>Show the different nationalities and the number of journalists of each nationality.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"Nationality"}]}}<|endoftext|> | SPIDER |
<|context|>[{"columns":["payment_id","customer_id","staff_id","rental_id","amount","payment_date","last_update"],"name":"payment","type":"grid"}]<|endoftext|><|prompter|>What is the largest payment amount?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"amount","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>And what is the second largest payment amount?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"amount","limit":2,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>Hmm, are all of the payment amounts over 10.00?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"amount","operation":"<=","value":10}]}}<|endoftext|><|prompter|>So what is the median amount of all those payments?<|endoftext|><|assistant|>{"text":"Sorry, I cannot answer the median number but I can answer the average number.","dsl":{}}<|endoftext|><|prompter|>OK, what is the average of all payment amounts?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"amount","aggregation":"avg"}]}}<|endoftext|><|prompter|>One last question: what percentage of all payments are above the average of 4.20066?<|endoftext|><|assistant|>{"text":"Sorry, I cannot answer that.","dsl":{}}<|endoftext|><|prompter|>Thanks!<|endoftext|><|assistant|>{"text":"Bye.","dsl":{}}<|endoftext|> | COSQL |
<|context|>[{"columns":["Rank","Club_ID","Gold","Silver","Bronze","Total"],"name":"club_rank","type":"grid"}]<|endoftext|><|prompter|>What is the average number of gold medals for clubs?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Gold","aggregation":"avg"}]}}<|endoftext|><|prompter|>What is the average number of gold medals for a club?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Gold","aggregation":"avg"}]}}<|endoftext|><|prompter|>How many clubs have total medals less than 10?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Total","operation":"<","value":10}]}}<|endoftext|><|prompter|>What is the total number of clubs that have less than 10 medals in total?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Total","operation":"<","value":10}]}}<|endoftext|> | SPIDER |
<|context|>[{"columns":["Pilot_Id","Name","Age"],"name":"pilot","type":"grid"}]<|endoftext|><|prompter|>What are the name of pilots aged 25 or older?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Age","operation":">=","value":25}]}}<|endoftext|><|prompter|>what is the name of every pilot who is at least 25 years old?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Age","operation":">=","value":25}]}}<|endoftext|><|prompter|>List all pilot names in ascending alphabetical order.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"Name","direction":"ask"}]}}<|endoftext|><|prompter|>What are the names of the pilots in alphabetical order?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"Name","direction":"ask"}]}}<|endoftext|><|prompter|>List names of all pilot aged 30 or younger in descending alphabetical order.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Age","operation":"<=","value":30},{"actionType":"ChangeSorting","column":"Name","direction":"desk"}]}}<|endoftext|><|prompter|>What are the names of all pilots 30 years old or young in descending alphabetical order?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Age","operation":"<=","value":30},{"actionType":"ChangeSorting","column":"Name","direction":"desk"}]}}<|endoftext|><|prompter|>List names of all pilot in descending order of age.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"Age","direction":"desk"}]}}<|endoftext|><|prompter|>What are the names of all pilots listed by descending age?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"Age","direction":"desk"}]}}<|endoftext|> | SPIDER |
<|context|>[{"columns":["Poker_Player_ID","People_ID","Final_Table_Made","Best_Finish","Money_Rank","Earnings"],"name":"poker_player","type":"grid"}]<|endoftext|><|prompter|>List the earnings of poker players in descending order.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"Earnings","direction":"desk"}]}}<|endoftext|><|prompter|>What are the earnings of poker players, ordered descending by value?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"Earnings","direction":"desk"}]}}<|endoftext|><|prompter|>What is the average earnings of poker players?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Earnings","aggregation":"avg"}]}}<|endoftext|><|prompter|>Return the average earnings across all poker players.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Earnings","aggregation":"avg"}]}}<|endoftext|><|prompter|>What is the money rank of the poker player with the highest earnings?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"Earnings","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>Return the money rank of the player with the greatest earnings.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"Earnings","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>What is the maximum number of final tables made among poker players with earnings less than 200000?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Final_Table_Made","aggregation":"max"},{"actionType":"ChangeCondition","column":"Earnings","operation":"<","value":200000}]}}<|endoftext|><|prompter|>Return the maximum final tables made across all poker players who have earnings below 200000.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Final_Table_Made","aggregation":"max"},{"actionType":"ChangeCondition","column":"Earnings","operation":"<","value":200000}]}}<|endoftext|> | SPIDER |
<|context|>[{"columns":["rid","business_id","user_id","rating","text","year","month"],"name":"review","type":"grid"}]<|endoftext|><|prompter|>List all the reviews which rated a business less than 1<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"rating","operation":"<","value":1}]}}<|endoftext|><|prompter|>What is the average rating of reviews written in year 2014 ?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"rating","aggregation":"AVG"},{"actionType":"ChangeCondition","column":"YEAR","operation":"=","value":2014}]}}<|endoftext|><|prompter|>Find the total number of reviews written in March<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"text","aggregation":"COUNT"},{"actionType":"ChangeCondition","column":"MONTH","operation":"=","value":"'March'"}]}}<|endoftext|> | SPIDER |
<|context|>[{"columns":["Patient","Procedures","Stay","DateUndergoes","Physician","AssistingNurse"],"name":"undergoes","type":"grid"}]<|endoftext|><|prompter|>Find the patient order by the date they underwent treatment. Recent first.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"dateundergoes","direction":"desk"}]}}<|endoftext|><|prompter|>Only show the first result.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"dateundergoes","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>Thanks<|endoftext|><|assistant|>{"text":"You are welcome. Goodbye. ","dsl":{}}<|endoftext|> | COSQL |
<|context|>[{"columns":["Representative_ID","Name","State","Party","Lifespan"],"name":"representative","type":"grid"}]<|endoftext|><|prompter|>List the distinct parties of representatives and the count of representatives in each party.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"Party"}]}}<|endoftext|><|prompter|>How many distinct parties are there for representatives?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Party","aggregation":"count"}]}}<|endoftext|> | SPIDER |
<|context|>[{"columns":["Representative_ID","Name","State","Party","Lifespan"],"name":"representative","type":"grid"}]<|endoftext|><|prompter|>Show the different parties of representatives and the party name and the number of representatives in each party.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"Party"}]}}<|endoftext|><|prompter|>How many distinct parties are there for representatives?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Party","aggregation":"count"}]}}<|endoftext|> | SPIDER |
<|context|>[{"columns":["Representative_ID","Name","State","Party","Lifespan"],"name":"representative","type":"grid"}]<|endoftext|><|prompter|>What are the different parties of representative? Show the party name and the number of representatives in each party.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"Party"}]}}<|endoftext|><|prompter|>How many distinct parties are there for representatives?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Party","aggregation":"count"}]}}<|endoftext|> | SPIDER |
<|context|>[{"columns":["Id","MPG","Cylinders","Edispl","Horsepower","Weight","Accelerate","Year"],"name":"cars_data","type":"grid"}]<|endoftext|><|prompter|>What is the smallest weight of the car produced with 8 cylinders on 1974 ?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"weight","aggregation":"min"},{"actionType":"ChangeCondition","column":"cylinders","operation":"=","value":8},{"actionType":"ChangeCondition","column":"year","operation":"=","value":1974}]}}<|endoftext|><|prompter|>What is the minimum weight of the car with 8 cylinders produced in 1974 ?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"weight","aggregation":"min"},{"actionType":"ChangeCondition","column":"cylinders","operation":"=","value":8},{"actionType":"ChangeCondition","column":"year","operation":"=","value":1974}]}}<|endoftext|><|prompter|>What is the average horsepower for all cars produced before 1980 ?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"horsepower","aggregation":"avg"},{"actionType":"ChangeCondition","column":"year","operation":"<","value":1980}]}}<|endoftext|><|prompter|>In which years cars were produced weighing no less than 3000 and no more than 4000 ?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"weight","operation":">=","value":3000},{"actionType":"ChangeCondition","column":"weight","operation":"<=","value":4000}]}}<|endoftext|><|prompter|>What are the different years in which there were cars produced that weighed less than 4000 and also cars that weighted more than 3000 ?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"weight","operation":">=","value":3000},{"actionType":"ChangeCondition","column":"weight","operation":"<=","value":4000}]}}<|endoftext|> | SPIDER |
<|context|>[{"columns":["Storm_ID","Name","Dates_active","Max_speed","Damage_millions_USD","Number_Deaths"],"name":"storm","type":"grid"}]<|endoftext|><|prompter|>what is the average of high speed?<|endoftext|><|assistant|>{"text":"Did you mean to ask for the average max speed of the storms?","dsl":{}}<|endoftext|><|prompter|>yes<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Max_speed","aggregation":"AVG"}]}}<|endoftext|><|prompter|>what is the highest speed of the storms?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Max_speed","aggregation":"MAX"}]}}<|endoftext|><|prompter|>what is the total number of deaths? <|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Number_Deaths","aggregation":"SUM"}]}}<|endoftext|><|prompter|>thanks!<|endoftext|><|assistant|>{"text":"You are welcome. Good bye!","dsl":{}}<|endoftext|> | COSQL |
<|context|>[{"columns":["apid","name","city","country","x","y","elevation","iata","icao"],"name":"airports","type":"grid"}]<|endoftext|><|prompter|>What is the name of the airport with the lowest altitude? <|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"elevation","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>And in which city is it located? <|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"elevation","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>And in what country is that? <|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"elevation","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>Thanks!<|endoftext|><|assistant|>{"text":"Sure! Do you want to check more?","dsl":{}}<|endoftext|><|prompter|>Yes, what is the exact altitude of the Bar Yehuda Airfield?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"name","operation":"=","value":"'Bar Yehuda Airfield'"}]}}<|endoftext|><|prompter|>Thanks!<|endoftext|><|assistant|>{"text":"Sure! Bye!","dsl":{}}<|endoftext|> | COSQL |
<|context|>[{"columns":["architect_id","id","name","location","length_meters","length_feet"],"name":"bridge","type":"grid"}]<|endoftext|><|prompter|>What is the average length in feet of the bridges?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"length_feet","aggregation":"avg"}]}}<|endoftext|> | SPIDER |
<|context|>[{"columns":["product_id","product","dimensions","dpi","pages_per_minute_color","max_page_size","interface"],"name":"product","type":"grid"}]<|endoftext|><|prompter|>Do we have any products that do not use A4 page size?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"product","aggregation":"count"},{"actionType":"ChangeCondition","column":"max_page_size","operation":"!=","value":"A4"}]}}<|endoftext|><|prompter|>What are the names of those products?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"max_page_size","operation":"!=","value":"A4"}]}}<|endoftext|><|prompter|>What page size do those products use?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"max_page_size","operation":"!=","value":"A4"}]}}<|endoftext|><|prompter|>Thanks!<|endoftext|><|assistant|>{"text":"goodbye","dsl":{}}<|endoftext|> | COSQL |
<|context|>[{"columns":["transaction_type_code","transaction_type_description"],"name":"Ref_Transaction_Types","type":"grid"}]<|endoftext|><|prompter|>Show the description of transaction type with code "PUR".<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"transaction_type_code","operation":"=","value":"'PUR'"}]}}<|endoftext|> | SPIDER |
<|context|>[{"columns":["Product_ID","Product_Name","Product_Price","Product_Description","Other_Product_Service_Details"],"name":"Products","type":"grid"}]<|endoftext|><|prompter|>List all product names in ascending order of price.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"Product_Price","direction":"ask"}]}}<|endoftext|><|prompter|>Sort the names of products in ascending order of their price.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"Product_Price","direction":"ask"}]}}<|endoftext|> | SPIDER |
<|context|>[{"columns":["document_id","mailed_to_address_id","mailing_date"],"name":"Documents_Mailed","type":"grid"}]<|endoftext|><|prompter|>What is the mail date of the document with id 7?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"document_id","operation":"=","value":7}]}}<|endoftext|> | SPIDER |
<|context|>[{"columns":["ID","name","dept_name","salary"],"name":"instructor","type":"grid"}]<|endoftext|><|prompter|>How many instructors are in the statistics department?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"dept_name","operation":"=","value":"Statistics"}]}}<|endoftext|><|prompter|>What is the lowest salary of the instructors in the statistics department?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"salary","aggregation":"min"},{"actionType":"ChangeCondition","column":"dept_name","operation":"=","value":"Statistics"}]}}<|endoftext|><|prompter|>And what is the name of the instructor that earns that salary?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"dept_name","operation":"=","value":"Statistics"},{"actionType":"ChangeTopFilter","column":"salary","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>Thanks!<|endoftext|><|assistant|>{"text":"Bye.","dsl":{}}<|endoftext|> | COSQL |
<|context|>[{"columns":["tip_id","business_id","text","user_id","likes","year","month"],"name":"tip","type":"grid"}]<|endoftext|><|prompter|>How many tips have been written in 2015<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"text","aggregation":"COUNT"},{"actionType":"ChangeCondition","column":"YEAR","operation":"=","value":2015}]}}<|endoftext|><|prompter|>Find the number of tips written in each month<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"text","aggregation":"COUNT"},{"actionType":"ChangeGrouping","column":"MONTH"}]}}<|endoftext|> | SPIDER |
<|context|>[{"columns":["Player_ID","Sponsor_name","Player_name","Gender","Residence","Occupation","Votes","Rank"],"name":"player","type":"grid"}]<|endoftext|><|prompter|>What is the name of the player with the largest number of votes?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"Votes","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>What is his sponsor's name?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"Votes","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>Who is the sponsor of the player with the least amount of votes?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"Votes","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>Thanks!<|endoftext|><|assistant|>{"text":"You are welcome. Goodbye.","dsl":{}}<|endoftext|> | COSQL |
<|context|>[{"columns":["StuID","LName","Fname","Age","Sex","Major","Advisor","city_code"],"name":"student","type":"grid"}]<|endoftext|><|prompter|>Yes<|endoftext|><|assistant|>{"text":"What are the students name living in PHL city?\n","dsl":{}}<|endoftext|><|prompter|>What are the students name living in PHL city?
<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"city_code","operation":"=","value":"PHL"}]}}<|endoftext|><|prompter|>Who are the students that are between 20 and 25 years of age?<|endoftext|><|assistant|>{"text":"Do you mean the last name or the first name of the students between 20 and 25 years of age?","dsl":{}}<|endoftext|><|prompter|>What are the first names of the students who are between 20 and 25 years of age?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"age","operation":">=","value":20},{"actionType":"ChangeCondition","column":"age","operation":"<=","value":25}]}}<|endoftext|><|prompter|>what are the student names who are in PHL city and are between 20 and 25 years of age<|endoftext|><|assistant|>{"text":"First name or last name?","dsl":{}}<|endoftext|><|prompter|>first<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"city_code","operation":"=","value":"PHL"},{"actionType":"ChangeCondition","column":"age","operation":">=","value":20},{"actionType":"ChangeCondition","column":"age","operation":"<=","value":25}]}}<|endoftext|><|prompter|>Thanks!<|endoftext|><|assistant|>{"text":"bye","dsl":{}}<|endoftext|> | COSQL |
<|context|>[{"columns":["ID","name","Capacity","City","Country","Opening_year"],"name":"stadium","type":"grid"}]<|endoftext|><|prompter|>what is the name of the stadium with the maximum capacity<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"capacity","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>in what city is Nou Mestalla<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"name","operation":"=","value":"'Nou Mestalla'"}]}}<|endoftext|><|prompter|>what country is Nou Mestalla in?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"name","operation":"=","value":"'Nou Mestalla'"}]}}<|endoftext|><|prompter|>Thanks! <|endoftext|><|assistant|>{"text":"Bye.","dsl":{}}<|endoftext|> | COSQL |
<|context|>[{"columns":["Track_ID","Name","Location","Seating","Year_Opened"],"name":"track","type":"grid"}]<|endoftext|><|prompter|>Yes<|endoftext|><|assistant|>{"text":"Which tracks were opened after year 2000?\n","dsl":{}}<|endoftext|><|prompter|>Which tracks were opened after year 2000?
<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"year_opened","operation":">","value":2000}]}}<|endoftext|><|prompter|>What are their names? <|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"year_opened","operation":">","value":2000}]}}<|endoftext|><|prompter|>And what are their seating capacity? <|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"year_opened","operation":">","value":2000}]}}<|endoftext|><|prompter|>Thanks!<|endoftext|><|assistant|>{"text":"You are welcome. Do you want to check more?","dsl":{}}<|endoftext|><|prompter|>Yes, what are their locations? <|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"year_opened","operation":">","value":2000}]}}<|endoftext|><|prompter|>Thanks!<|endoftext|><|assistant|>{"text":"You are welcome! Bye!","dsl":{}}<|endoftext|> | COSQL |
<|context|>[{"columns":["movie_id","Title","Year","Director","Budget_million","Gross_worldwide"],"name":"movie","type":"grid"}]<|endoftext|><|prompter|>HOW MANY DIRECTORE IN MOVIE TABLE ? List them.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"Director"}]}}<|endoftext|><|prompter|>WHAT IS THE BUDGET OF THE BOONDOCK SAINTS?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Title","operation":"=","value":"The Boondock Saints"}]}}<|endoftext|><|prompter|>WHAT IS THE BIGGEST BUDGET OF MOVIE TABLE?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"Budget_million","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>THANKS<|endoftext|><|assistant|>{"text":"goodbye","dsl":{}}<|endoftext|> | COSQL |
<|context|>[{"columns":["City_ID","Official_Name","Status","Area_km_2","Population","Census_Ranking"],"name":"city","type":"grid"}]<|endoftext|><|prompter|>How many different statuses do cities have?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Status","aggregation":"count"}]}}<|endoftext|><|prompter|>Count the number of different statuses.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Status","aggregation":"count"}]}}<|endoftext|><|prompter|>List official names of cities in descending order of population.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"Population","direction":"desk"}]}}<|endoftext|><|prompter|>What are the official names of cities, ordered descending by population?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"Population","direction":"desk"}]}}<|endoftext|><|prompter|>List the official name and status of the city with the largest population.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"Population","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>What is the official name and status of the city with the most residents?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"Population","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>Display the distinct city statuses and their average populations.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Population","aggregation":"avg"},{"actionType":"ChangeGrouping","column":"Status"}]}}<|endoftext|><|prompter|>What are the statuses and average populations of each city?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Population","aggregation":"avg"},{"actionType":"ChangeGrouping","column":"Status"}]}}<|endoftext|><|prompter|>Show the census ranking of cities whose status are not "Village".<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Status","operation":"!=","value":"'Village'"}]}}<|endoftext|><|prompter|>What are the census rankings of cities that do not have the status "Village"?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Status","operation":"!=","value":"'Village'"}]}}<|endoftext|> | SPIDER |
<|context|>[{"columns":["City_ID","Official_Name","Status","Area_km_2","Population","Census_Ranking"],"name":"city","type":"grid"}]<|endoftext|><|prompter|>How many different statuses do cities have?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Status","aggregation":"count"}]}}<|endoftext|><|prompter|>Count the number of different statuses.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Status","aggregation":"count"}]}}<|endoftext|><|prompter|>List official names of cities in descending order of population.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"Population","direction":"desk"}]}}<|endoftext|><|prompter|>What are the official names of cities, ordered descending by population?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"Population","direction":"desk"}]}}<|endoftext|><|prompter|>List the official name and status of the city with the largest population.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"Population","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>What is the official name and status of the city with the most residents?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"Population","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>List the different statuses of cities and the average population of cities with each status.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Population","aggregation":"avg"},{"actionType":"ChangeGrouping","column":"Status"}]}}<|endoftext|><|prompter|>What are the statuses and average populations of each city?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Population","aggregation":"avg"},{"actionType":"ChangeGrouping","column":"Status"}]}}<|endoftext|><|prompter|>Show the census ranking of cities whose status are not "Village".<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Status","operation":"!=","value":"'Village'"}]}}<|endoftext|><|prompter|>What are the census rankings of cities that do not have the status "Village"?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Status","operation":"!=","value":"'Village'"}]}}<|endoftext|> | SPIDER |
<|context|>[{"columns":["City_ID","Official_Name","Status","Area_km_2","Population","Census_Ranking"],"name":"city","type":"grid"}]<|endoftext|><|prompter|>How many different statuses do cities have?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Status","aggregation":"count"}]}}<|endoftext|><|prompter|>Count the number of different statuses.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Status","aggregation":"count"}]}}<|endoftext|><|prompter|>List official names of cities in descending order of population.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"Population","direction":"desk"}]}}<|endoftext|><|prompter|>What are the official names of cities, ordered descending by population?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"Population","direction":"desk"}]}}<|endoftext|><|prompter|>List the official name and status of the city with the largest population.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"Population","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>What is the official name and status of the city with the most residents?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"Population","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>Please show the different statuses of cities and the average population of cities with each status.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Population","aggregation":"avg"},{"actionType":"ChangeGrouping","column":"Status"}]}}<|endoftext|><|prompter|>Identify city statuses and their respective average populations.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Population","aggregation":"avg"},{"actionType":"ChangeGrouping","column":"Status"}]}}<|endoftext|><|prompter|>Show the census ranking of cities whose status are not "Village".<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Status","operation":"!=","value":"'Village'"}]}}<|endoftext|><|prompter|>What are the census rankings of cities that do not have the status "Village"?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Status","operation":"!=","value":"'Village'"}]}}<|endoftext|> | SPIDER |
<|context|>[{"columns":["City_ID","Official_Name","Status","Area_km_2","Population","Census_Ranking"],"name":"city","type":"grid"}]<|endoftext|><|prompter|>How many different statuses do cities have?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Status","aggregation":"count"}]}}<|endoftext|><|prompter|>Count the number of different statuses.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Status","aggregation":"count"}]}}<|endoftext|><|prompter|>List official names of cities in descending order of population.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"Population","direction":"desk"}]}}<|endoftext|><|prompter|>What are the official names of cities, ordered descending by population?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"Population","direction":"desk"}]}}<|endoftext|><|prompter|>List the official name and status of the city with the largest population.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"Population","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>What is the official name and status of the city with the most residents?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"Population","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>Please show the different statuses of cities and the average population of cities with each status.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Population","aggregation":"avg"},{"actionType":"ChangeGrouping","column":"Status"}]}}<|endoftext|><|prompter|>Show the statuses and average populations of each city.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Population","aggregation":"avg"},{"actionType":"ChangeGrouping","column":"Status"}]}}<|endoftext|><|prompter|>Show the census ranking of cities whose status are not "Village".<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Status","operation":"!=","value":"'Village'"}]}}<|endoftext|><|prompter|>What are the census rankings of cities that do not have the status "Village"?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Status","operation":"!=","value":"'Village'"}]}}<|endoftext|> | SPIDER |
<|context|>[{"columns":["City_ID","Official_Name","Status","Area_km_2","Population","Census_Ranking"],"name":"city","type":"grid"}]<|endoftext|><|prompter|>How many different statuses do cities have?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Status","aggregation":"count"}]}}<|endoftext|><|prompter|>Count the number of different statuses.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Status","aggregation":"count"}]}}<|endoftext|><|prompter|>List official names of cities in descending order of population.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"Population","direction":"desk"}]}}<|endoftext|><|prompter|>What are the official names of cities, ordered descending by population?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"Population","direction":"desk"}]}}<|endoftext|><|prompter|>List the official name and status of the city with the largest population.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"Population","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>What is the official name and status of the city with the most residents?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"Population","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>Please show the different statuses of cities and the average population of cities with each status.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Population","aggregation":"avg"},{"actionType":"ChangeGrouping","column":"Status"}]}}<|endoftext|><|prompter|>What are the statuses and average populations of each city?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Population","aggregation":"avg"},{"actionType":"ChangeGrouping","column":"Status"}]}}<|endoftext|><|prompter|>Show the census ranking of cities whose status are not "Village".<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Status","operation":"!=","value":"'Village'"}]}}<|endoftext|><|prompter|>What are the census rankings of cities that do not have the status "Village"?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Status","operation":"!=","value":"'Village'"}]}}<|endoftext|> | SPIDER |
<|context|>[{"columns":["customer_id","customer_first_name","customer_middle_initial","customer_last_name","gender","email_address","login_name","login_password","phone_number","town_city","state_county_province","country"],"name":"Customers","type":"grid"}]<|endoftext|><|prompter|>Present the number of customers for each gender.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"gender"}]}}<|endoftext|><|prompter|>How many customers are there of each gender?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"gender"}]}}<|endoftext|> | SPIDER |
<|context|>[{"columns":["customer_id","customer_first_name","customer_middle_initial","customer_last_name","gender","email_address","login_name","login_password","phone_number","town_city","state_county_province","country"],"name":"Customers","type":"grid"}]<|endoftext|><|prompter|>Show the number of customers for each gender.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"gender"}]}}<|endoftext|><|prompter|>How many customers are there of each gender?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"gender"}]}}<|endoftext|> | SPIDER |
<|context|>[{"columns":["customer_id","customer_first_name","customer_middle_initial","customer_last_name","gender","email_address","login_name","login_password","phone_number","town_city","state_county_province","country"],"name":"Customers","type":"grid"}]<|endoftext|><|prompter|>Show the number of customers for each gender.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"gender"}]}}<|endoftext|><|prompter|>What is the customer count for each gender?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"gender"}]}}<|endoftext|> | SPIDER |
<|context|>[{"columns":["customer_id","customer_first_name","customer_middle_initial","customer_last_name","gender","email_address","login_name","login_password","phone_number","town_city","state_county_province","country"],"name":"Customers","type":"grid"}]<|endoftext|><|prompter|>Show the number of customers for each gender.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"gender"}]}}<|endoftext|><|prompter|>Determine the count of customers for each gender.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"gender"}]}}<|endoftext|> | SPIDER |
<|context|>[{"columns":["customer_id","customer_first_name","customer_middle_initial","customer_last_name","gender","email_address","login_name","login_password","phone_number","town_city","state_county_province","country"],"name":"Customers","type":"grid"}]<|endoftext|><|prompter|>Show the number of customers for each gender.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"gender"}]}}<|endoftext|><|prompter|>How many customers are there of each gender?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"gender"}]}}<|endoftext|> | SPIDER |
<|context|>[{"columns":["endowment_id","School_id","donator_name","amount"],"name":"endowment","type":"grid"}]<|endoftext|><|prompter|>List the amount and donor name for the largest amount of donation.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"amount","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|> | SPIDER |
<|context|>[{"columns":["state_name","population","area","country_name","capital","density"],"name":"state","type":"grid"}]<|endoftext|><|prompter|>how big is new mexico<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"state_name","operation":"=","value":"'new mexico'"}]}}<|endoftext|><|prompter|>what is the area of new mexico<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"state_name","operation":"=","value":"'new mexico'"}]}}<|endoftext|><|prompter|>how large is new mexico<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"state_name","operation":"=","value":"'new mexico'"}]}}<|endoftext|><|prompter|>what is the area of the new mexico state<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"state_name","operation":"=","value":"'new mexico'"}]}}<|endoftext|><|prompter|>what is the size of new mexico<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"state_name","operation":"=","value":"'new mexico'"}]}}<|endoftext|><|prompter|>what is the area of new mexico in square kilometers<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"state_name","operation":"=","value":"'new mexico'"}]}}<|endoftext|><|prompter|>how many people live in california<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"state_name","operation":"=","value":"'california'"}]}}<|endoftext|><|prompter|>how many people reside in california<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"state_name","operation":"=","value":"'california'"}]}}<|endoftext|><|prompter|>how many residents live in california<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"state_name","operation":"=","value":"'california'"}]}}<|endoftext|><|prompter|>how much population does california have<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"state_name","operation":"=","value":"'california'"}]}}<|endoftext|><|prompter|>what are the population of california<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"state_name","operation":"=","value":"'california'"}]}}<|endoftext|><|prompter|>what is the population of california<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"state_name","operation":"=","value":"'california'"}]}}<|endoftext|><|prompter|>how many people are in the state of california<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"state_name","operation":"=","value":"'california'"}]}}<|endoftext|><|prompter|>what can you tell me about the population of california<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"state_name","operation":"=","value":"'california'"}]}}<|endoftext|><|prompter|>how many people are there in california<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"state_name","operation":"=","value":"'california'"}]}}<|endoftext|><|prompter|>how many citizens in california<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"state_name","operation":"=","value":"'california'"}]}}<|endoftext|><|prompter|>how many people stay in california<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"state_name","operation":"=","value":"'california'"}]}}<|endoftext|><|prompter|>how many citizens live in california<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"state_name","operation":"=","value":"'california'"}]}}<|endoftext|><|prompter|>what is the area of the state with the capital albany<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"capital","operation":"=","value":"'albany'"}]}}<|endoftext|><|prompter|>how many capitals does rhode island have<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"capital","aggregation":"COUNT"},{"actionType":"ChangeCondition","column":"state_name","operation":"=","value":"'rhode island'"}]}}<|endoftext|><|prompter|>how many people live in the united states<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"population","aggregation":"SUM"}]}}<|endoftext|><|prompter|>what is the combined population of all 50 states<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"population","aggregation":"SUM"}]}}<|endoftext|><|prompter|>how many states are in the usa<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"state_name","aggregation":"COUNT"}]}}<|endoftext|><|prompter|>how many states are there<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"state_name","aggregation":"COUNT"}]}}<|endoftext|><|prompter|>how many states are there in the usa<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"state_name","aggregation":"COUNT"}]}}<|endoftext|><|prompter|>how many states does usa have<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"state_name","aggregation":"COUNT"}]}}<|endoftext|><|prompter|>how many states are in the united states<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"state_name","aggregation":"COUNT"}]}}<|endoftext|><|prompter|>how many states are there in united states<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"state_name","aggregation":"COUNT"}]}}<|endoftext|><|prompter|>what are the capital city in texas<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"state_name","operation":"=","value":"'texas'"}]}}<|endoftext|><|prompter|>what is the capital of texas<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"state_name","operation":"=","value":"'texas'"}]}}<|endoftext|><|prompter|>what is the capital of the texas state<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"state_name","operation":"=","value":"'texas'"}]}}<|endoftext|><|prompter|>what is capital of texas<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"state_name","operation":"=","value":"'texas'"}]}}<|endoftext|><|prompter|>what is the capital of the state texas<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"state_name","operation":"=","value":"'texas'"}]}}<|endoftext|><|prompter|>can you tell me the capital of texas<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"state_name","operation":"=","value":"'texas'"}]}}<|endoftext|><|prompter|>what is the combined area of all 50 states<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"area","aggregation":"SUM"}]}}<|endoftext|><|prompter|>what is the area of all the states combined<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"area","aggregation":"SUM"}]}}<|endoftext|><|prompter|>how many square kilometers in the us<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"area","aggregation":"SUM"}]}}<|endoftext|><|prompter|>what is the total area of the usa<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"area","aggregation":"SUM"}]}}<|endoftext|><|prompter|>what is the density of the wyoming<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"state_name","operation":"=","value":"'wyoming'"}]}}<|endoftext|><|prompter|>what is the population density of wyoming<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"state_name","operation":"=","value":"'wyoming'"}]}}<|endoftext|><|prompter|>what is the density of wyoming<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"state_name","operation":"=","value":"'wyoming'"}]}}<|endoftext|><|prompter|>what state is salem the capital of<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"capital","operation":"=","value":"'salem'"}]}}<|endoftext|><|prompter|>what states capital is salem<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"capital","operation":"=","value":"'salem'"}]}}<|endoftext|><|prompter|>salem is the capital of which state<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"capital","operation":"=","value":"'salem'"}]}}<|endoftext|><|prompter|>what state has the capital salem<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"capital","operation":"=","value":"'salem'"}]}}<|endoftext|><|prompter|>what is the size of the largest state in the usa<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"area","aggregation":"MAX"}]}}<|endoftext|><|prompter|>what is the area of the largest state<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"area","aggregation":"MAX"}]}}<|endoftext|><|prompter|>where is massachusetts<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"state_name","operation":"=","value":"'massachusetts'"}]}}<|endoftext|><|prompter|>what is the population density in the state with capital austin<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"capital","operation":"=","value":"'austin'"}]}}<|endoftext|><|prompter|>what is the average population of the us by state<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"population","aggregation":"AVG"}]}}<|endoftext|> | SPIDER |
<|context|>[{"columns":["uid","name","email","partitionid","followers"],"name":"user_profiles","type":"grid"}]<|endoftext|><|prompter|>Find the emails of the user named "Mary".<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"name","operation":"=","value":"Mary"}]}}<|endoftext|><|prompter|>What is the partition id of the user named "Iron Man".<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"name","operation":"=","value":"Iron Man"}]}}<|endoftext|><|prompter|>Find the name and email of the users who have more than 1000 followers.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"followers","operation":">","value":1000}]}}<|endoftext|><|prompter|>Find the name of the user who has the largest number of followers.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"followers","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>Find the name and email of the user followed by the least number of people.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"followers","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>List the name and number of followers for each user, and sort the results by the number of followers in descending order.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"followers","direction":"desk"}]}}<|endoftext|><|prompter|>List the names of 5 users followed by the largest number of other users.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"followers","limit":5,"aggregation":"avg","direction":"desk"}]}}<|endoftext|> | SPIDER |
<|context|>[{"columns":["School_ID","School","Location","Founded","Affiliation","Enrollment","Nickname","Primary_conference"],"name":"university","type":"grid"}]<|endoftext|><|prompter|>Hi there! Can you tell me how many school have an affiliation type that is not public?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"affiliation","operation":"!=","value":"Public"}]}}<|endoftext|><|prompter|>Can you please tell me the name of that school and the enrollment?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"affiliation","operation":"!=","value":"Public"}]}}<|endoftext|><|prompter|>What year was that school founded?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"affiliation","operation":"!=","value":"Public"}]}}<|endoftext|><|prompter|>Thanks!<|endoftext|><|assistant|>{"text":"You are welcome, bye","dsl":{}}<|endoftext|> | COSQL |
<|context|>[{"columns":["treatment_id","dog_id","professional_id","treatment_type_code","date_of_treatment","cost_of_treatment"],"name":"Treatments","type":"grid"}]<|endoftext|><|prompter|>How many dogs went through any treatments?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"dog_id","aggregation":"count"}]}}<|endoftext|><|prompter|>Count the number of dogs that went through a treatment.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"dog_id","aggregation":"count"}]}}<|endoftext|><|prompter|>How many professionals have performed any treatment to dogs?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"professional_id","aggregation":"count"}]}}<|endoftext|><|prompter|>Find the number of professionals who have ever treated dogs.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"professional_id","aggregation":"count"}]}}<|endoftext|><|prompter|>How much does the most recent treatment cost?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"date_of_treatment","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>Show me the cost of the most recently performed treatment.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"date_of_treatment","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|> | SPIDER |
<|context|>[{"columns":["id","City","Country","IATA","ICAO","name"],"name":"airport","type":"grid"}]<|endoftext|><|prompter|>List the id, country, city and name of the airports ordered alphabetically by the name.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"name","direction":"ask"}]}}<|endoftext|><|prompter|>What are the names of the airports which are not in the country 'Iceland'?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"country","operation":"!=","value":"Iceland"}]}}<|endoftext|><|prompter|>In each country, how many airports exist?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"country"}]}}<|endoftext|> | SPIDER |
<|context|>[{"columns":["id","City","Country","IATA","ICAO","name"],"name":"airport","type":"grid"}]<|endoftext|><|prompter|>List the id, country, city and name of the airports ordered alphabetically by the name.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"name","direction":"ask"}]}}<|endoftext|><|prompter|>What are the names of the airports which are not in the country 'Iceland'?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"country","operation":"!=","value":"Iceland"}]}}<|endoftext|><|prompter|>How many airports are in each country?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"country"}]}}<|endoftext|> | SPIDER |
<|context|>[{"columns":["id","City","Country","IATA","ICAO","name"],"name":"airport","type":"grid"}]<|endoftext|><|prompter|>List the id, country, city and name of the airports ordered alphabetically by the name.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"name","direction":"ask"}]}}<|endoftext|><|prompter|>What are the names of the airports which are not in the country 'Iceland'?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"country","operation":"!=","value":"Iceland"}]}}<|endoftext|><|prompter|>how many airports are there in each country?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"country"}]}}<|endoftext|> | SPIDER |
<|context|>[{"columns":["Singer_ID","Name","Birth_Year","Net_Worth_Millions","Citizenship"],"name":"singer","type":"grid"}]<|endoftext|><|prompter|>List the name of singers in ascending order of net worth.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"Net_Worth_Millions","direction":"ask"}]}}<|endoftext|><|prompter|>What are the names of singers ordered by ascending net worth?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"Net_Worth_Millions","direction":"ask"}]}}<|endoftext|><|prompter|>List the name of singers whose citizenship is not "France".<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Citizenship","operation":"!=","value":"'France'"}]}}<|endoftext|><|prompter|>What are the names of the singers who are not French citizens?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Citizenship","operation":"!=","value":"'France'"}]}}<|endoftext|><|prompter|>What is the name of the singer with the largest net worth?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"Net_Worth_Millions","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>What is the name of the singer who is worth the most?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"Net_Worth_Millions","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>Could you list the number of singers for each citizenship?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"Citizenship"}]}}<|endoftext|><|prompter|>For each citizenship, how many singers are from that country?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"Citizenship"}]}}<|endoftext|><|prompter|>Show different citizenships and the maximum net worth of singers of each citizenship.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Net_Worth_Millions","aggregation":"max"},{"actionType":"ChangeGrouping","column":"Citizenship"}]}}<|endoftext|><|prompter|>For each citizenship, what is the maximum net worth?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Net_Worth_Millions","aggregation":"max"},{"actionType":"ChangeGrouping","column":"Citizenship"}]}}<|endoftext|> | SPIDER |
<|context|>[{"columns":["Singer_ID","Name","Birth_Year","Net_Worth_Millions","Citizenship"],"name":"singer","type":"grid"}]<|endoftext|><|prompter|>List the name of singers in ascending order of net worth.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"Net_Worth_Millions","direction":"ask"}]}}<|endoftext|><|prompter|>What are the names of singers ordered by ascending net worth?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"Net_Worth_Millions","direction":"ask"}]}}<|endoftext|><|prompter|>List the name of singers whose citizenship is not "France".<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Citizenship","operation":"!=","value":"'France'"}]}}<|endoftext|><|prompter|>What are the names of the singers who are not French citizens?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Citizenship","operation":"!=","value":"'France'"}]}}<|endoftext|><|prompter|>What is the name of the singer with the largest net worth?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"Net_Worth_Millions","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>What is the name of the singer who is worth the most?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"Net_Worth_Millions","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>How many singers belong to each citizenship category?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"Citizenship"}]}}<|endoftext|><|prompter|>For each citizenship, how many singers are from that country?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"Citizenship"}]}}<|endoftext|><|prompter|>Show different citizenships and the maximum net worth of singers of each citizenship.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Net_Worth_Millions","aggregation":"max"},{"actionType":"ChangeGrouping","column":"Citizenship"}]}}<|endoftext|><|prompter|>For each citizenship, what is the maximum net worth?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Net_Worth_Millions","aggregation":"max"},{"actionType":"ChangeGrouping","column":"Citizenship"}]}}<|endoftext|> | SPIDER |
<|context|>[{"columns":["Singer_ID","Name","Birth_Year","Net_Worth_Millions","Citizenship"],"name":"singer","type":"grid"}]<|endoftext|><|prompter|>List the name of singers in ascending order of net worth.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"Net_Worth_Millions","direction":"ask"}]}}<|endoftext|><|prompter|>What are the names of singers ordered by ascending net worth?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"Net_Worth_Millions","direction":"ask"}]}}<|endoftext|><|prompter|>List the name of singers whose citizenship is not "France".<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Citizenship","operation":"!=","value":"'France'"}]}}<|endoftext|><|prompter|>What are the names of the singers who are not French citizens?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Citizenship","operation":"!=","value":"'France'"}]}}<|endoftext|><|prompter|>What is the name of the singer with the largest net worth?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"Net_Worth_Millions","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>What is the name of the singer who is worth the most?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"Net_Worth_Millions","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>Show different citizenship of singers and the number of singers of each citizenship.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"Citizenship"}]}}<|endoftext|><|prompter|>For every nationality, how many singers originate from that country?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"Citizenship"}]}}<|endoftext|><|prompter|>Show different citizenships and the maximum net worth of singers of each citizenship.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Net_Worth_Millions","aggregation":"max"},{"actionType":"ChangeGrouping","column":"Citizenship"}]}}<|endoftext|><|prompter|>For each citizenship, what is the maximum net worth?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Net_Worth_Millions","aggregation":"max"},{"actionType":"ChangeGrouping","column":"Citizenship"}]}}<|endoftext|> | SPIDER |
<|context|>[{"columns":["Singer_ID","Name","Birth_Year","Net_Worth_Millions","Citizenship"],"name":"singer","type":"grid"}]<|endoftext|><|prompter|>List the name of singers in ascending order of net worth.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"Net_Worth_Millions","direction":"ask"}]}}<|endoftext|><|prompter|>What are the names of singers ordered by ascending net worth?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"Net_Worth_Millions","direction":"ask"}]}}<|endoftext|><|prompter|>List the name of singers whose citizenship is not "France".<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Citizenship","operation":"!=","value":"'France'"}]}}<|endoftext|><|prompter|>What are the names of the singers who are not French citizens?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Citizenship","operation":"!=","value":"'France'"}]}}<|endoftext|><|prompter|>What is the name of the singer with the largest net worth?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"Net_Worth_Millions","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>What is the name of the singer who is worth the most?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"Net_Worth_Millions","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>Show different citizenship of singers and the number of singers of each citizenship.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"Citizenship"}]}}<|endoftext|><|prompter|>For each citizenship, determine the number of singers from that country.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"Citizenship"}]}}<|endoftext|><|prompter|>Show different citizenships and the maximum net worth of singers of each citizenship.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Net_Worth_Millions","aggregation":"max"},{"actionType":"ChangeGrouping","column":"Citizenship"}]}}<|endoftext|><|prompter|>For each citizenship, what is the maximum net worth?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Net_Worth_Millions","aggregation":"max"},{"actionType":"ChangeGrouping","column":"Citizenship"}]}}<|endoftext|> | SPIDER |
<|context|>[{"columns":["Singer_ID","Name","Birth_Year","Net_Worth_Millions","Citizenship"],"name":"singer","type":"grid"}]<|endoftext|><|prompter|>List the name of singers in ascending order of net worth.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"Net_Worth_Millions","direction":"ask"}]}}<|endoftext|><|prompter|>What are the names of singers ordered by ascending net worth?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"Net_Worth_Millions","direction":"ask"}]}}<|endoftext|><|prompter|>List the name of singers whose citizenship is not "France".<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Citizenship","operation":"!=","value":"'France'"}]}}<|endoftext|><|prompter|>What are the names of the singers who are not French citizens?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Citizenship","operation":"!=","value":"'France'"}]}}<|endoftext|><|prompter|>What is the name of the singer with the largest net worth?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"Net_Worth_Millions","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>What is the name of the singer who is worth the most?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"Net_Worth_Millions","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>Show different citizenship of singers and the number of singers of each citizenship.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"Citizenship"}]}}<|endoftext|><|prompter|>For each citizenship, how many singers are from that country?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"Citizenship"}]}}<|endoftext|><|prompter|>Display various citizenships and the highest net worth of singers for each citizenship.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Net_Worth_Millions","aggregation":"max"},{"actionType":"ChangeGrouping","column":"Citizenship"}]}}<|endoftext|><|prompter|>For each citizenship, what is the maximum net worth?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Net_Worth_Millions","aggregation":"max"},{"actionType":"ChangeGrouping","column":"Citizenship"}]}}<|endoftext|> | SPIDER |
<|context|>[{"columns":["Singer_ID","Name","Birth_Year","Net_Worth_Millions","Citizenship"],"name":"singer","type":"grid"}]<|endoftext|><|prompter|>List the name of singers in ascending order of net worth.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"Net_Worth_Millions","direction":"ask"}]}}<|endoftext|><|prompter|>What are the names of singers ordered by ascending net worth?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"Net_Worth_Millions","direction":"ask"}]}}<|endoftext|><|prompter|>List the name of singers whose citizenship is not "France".<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Citizenship","operation":"!=","value":"'France'"}]}}<|endoftext|><|prompter|>What are the names of the singers who are not French citizens?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Citizenship","operation":"!=","value":"'France'"}]}}<|endoftext|><|prompter|>What is the name of the singer with the largest net worth?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"Net_Worth_Millions","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>What is the name of the singer who is worth the most?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"Net_Worth_Millions","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>Show different citizenship of singers and the number of singers of each citizenship.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"Citizenship"}]}}<|endoftext|><|prompter|>For each citizenship, how many singers are from that country?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"Citizenship"}]}}<|endoftext|><|prompter|>Show different citizenships and the maximum net worth of singers from each citizenship.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Net_Worth_Millions","aggregation":"max"},{"actionType":"ChangeGrouping","column":"Citizenship"}]}}<|endoftext|><|prompter|>For each citizenship, what is the maximum net worth?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Net_Worth_Millions","aggregation":"max"},{"actionType":"ChangeGrouping","column":"Citizenship"}]}}<|endoftext|> | SPIDER |
<|context|>[{"columns":["Singer_ID","Name","Birth_Year","Net_Worth_Millions","Citizenship"],"name":"singer","type":"grid"}]<|endoftext|><|prompter|>List the name of singers in ascending order of net worth.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"Net_Worth_Millions","direction":"ask"}]}}<|endoftext|><|prompter|>What are the names of singers ordered by ascending net worth?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"Net_Worth_Millions","direction":"ask"}]}}<|endoftext|><|prompter|>List the name of singers whose citizenship is not "France".<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Citizenship","operation":"!=","value":"'France'"}]}}<|endoftext|><|prompter|>What are the names of the singers who are not French citizens?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Citizenship","operation":"!=","value":"'France'"}]}}<|endoftext|><|prompter|>What is the name of the singer with the largest net worth?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"Net_Worth_Millions","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>What is the name of the singer who is worth the most?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"Net_Worth_Millions","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>Show different citizenship of singers and the number of singers of each citizenship.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"Citizenship"}]}}<|endoftext|><|prompter|>For each citizenship, how many singers are from that country?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"Citizenship"}]}}<|endoftext|><|prompter|>Show different citizenships and the maximum net worth of singers of each citizenship.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Net_Worth_Millions","aggregation":"max"},{"actionType":"ChangeGrouping","column":"Citizenship"}]}}<|endoftext|><|prompter|>What is the average price and score of wines grouped by appellation?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Net_Worth_Millions","aggregation":"max"},{"actionType":"ChangeGrouping","column":"Citizenship"}]}}<|endoftext|> | SPIDER |
<|context|>[{"columns":["Singer_ID","Name","Birth_Year","Net_Worth_Millions","Citizenship"],"name":"singer","type":"grid"}]<|endoftext|><|prompter|>List the name of singers in ascending order of net worth.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"Net_Worth_Millions","direction":"ask"}]}}<|endoftext|><|prompter|>What are the names of singers ordered by ascending net worth?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"Net_Worth_Millions","direction":"ask"}]}}<|endoftext|><|prompter|>List the name of singers whose citizenship is not "France".<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Citizenship","operation":"!=","value":"'France'"}]}}<|endoftext|><|prompter|>What are the names of the singers who are not French citizens?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Citizenship","operation":"!=","value":"'France'"}]}}<|endoftext|><|prompter|>What is the name of the singer with the largest net worth?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"Net_Worth_Millions","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>What is the name of the singer who is worth the most?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"Net_Worth_Millions","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>Show different citizenship of singers and the number of singers of each citizenship.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"Citizenship"}]}}<|endoftext|><|prompter|>For each citizenship, how many singers are from that country?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"Citizenship"}]}}<|endoftext|><|prompter|>Show different citizenships and the maximum net worth of singers of each citizenship.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Net_Worth_Millions","aggregation":"max"},{"actionType":"ChangeGrouping","column":"Citizenship"}]}}<|endoftext|><|prompter|>What is the maximum net worth for each citizenship?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Net_Worth_Millions","aggregation":"max"},{"actionType":"ChangeGrouping","column":"Citizenship"}]}}<|endoftext|> | SPIDER |
<|context|>[{"columns":["Singer_ID","Name","Birth_Year","Net_Worth_Millions","Citizenship"],"name":"singer","type":"grid"}]<|endoftext|><|prompter|>List the name of singers in ascending order of net worth.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"Net_Worth_Millions","direction":"ask"}]}}<|endoftext|><|prompter|>What are the names of singers ordered by ascending net worth?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"Net_Worth_Millions","direction":"ask"}]}}<|endoftext|><|prompter|>List the name of singers whose citizenship is not "France".<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Citizenship","operation":"!=","value":"'France'"}]}}<|endoftext|><|prompter|>What are the names of the singers who are not French citizens?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Citizenship","operation":"!=","value":"'France'"}]}}<|endoftext|><|prompter|>What is the name of the singer with the largest net worth?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"Net_Worth_Millions","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>What is the name of the singer who is worth the most?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"Net_Worth_Millions","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>Show different citizenship of singers and the number of singers of each citizenship.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"Citizenship"}]}}<|endoftext|><|prompter|>For each citizenship, how many singers are from that country?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"Citizenship"}]}}<|endoftext|><|prompter|>Show different citizenships and the maximum net worth of singers of each citizenship.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Net_Worth_Millions","aggregation":"max"},{"actionType":"ChangeGrouping","column":"Citizenship"}]}}<|endoftext|><|prompter|>For each citizenship, what is the maximum net worth?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Net_Worth_Millions","aggregation":"max"},{"actionType":"ChangeGrouping","column":"Citizenship"}]}}<|endoftext|> | SPIDER |
<|context|>[{"columns":["Branch_ID","Name","Open_year","Address_road","City","membership_amount"],"name":"branch","type":"grid"}]<|endoftext|><|prompter|>Show name, address road, and city for all branches sorted by open year.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"open_year","direction":"ask"}]}}<|endoftext|><|prompter|>What are the names, address roads, and cities of the branches ordered by opening year?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"open_year","direction":"ask"}]}}<|endoftext|><|prompter|>What are names for top three branches with most number of membership?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"membership_amount","limit":3,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>What are the names for the 3 branches that have the most memberships?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"membership_amount","limit":3,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>Show all distinct city where branches with at least 100 memberships are located.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"membership_amount","operation":">=","value":100}]}}<|endoftext|><|prompter|>What are the different cities that have more than 100 memberships?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"membership_amount","operation":">=","value":100}]}}<|endoftext|><|prompter|>Show the city and the count of branches established before 2010 in each city.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"open_year","operation":"<","value":2010},{"actionType":"ChangeGrouping","column":"city"}]}}<|endoftext|><|prompter|>For each city, how many branches opened before 2010?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"open_year","operation":"<","value":2010},{"actionType":"ChangeGrouping","column":"city"}]}}<|endoftext|><|prompter|>Show all city with a branch opened in 2001 and a branch with more than 100 membership.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"open_year","operation":"=","value":2001},{"actionType":"ChangeCondition","column":"membership_amount","operation":">","value":100}]}}<|endoftext|><|prompter|>What are the cities that have a branch that opened in 2001 and a branch with more than 100 members?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"open_year","operation":"=","value":2001},{"actionType":"ChangeCondition","column":"membership_amount","operation":">","value":100}]}}<|endoftext|> | SPIDER |
<|context|>[{"columns":["Branch_ID","Name","Open_year","Address_road","City","membership_amount"],"name":"branch","type":"grid"}]<|endoftext|><|prompter|>Show name, address road, and city for all branches sorted by open year.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"open_year","direction":"ask"}]}}<|endoftext|><|prompter|>What are the names, address roads, and cities of the branches ordered by opening year?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"open_year","direction":"ask"}]}}<|endoftext|><|prompter|>What are names for top three branches with most number of membership?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"membership_amount","limit":3,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>What are the names for the 3 branches that have the most memberships?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"membership_amount","limit":3,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>Show all distinct city where branches with at least 100 memberships are located.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"membership_amount","operation":">=","value":100}]}}<|endoftext|><|prompter|>What are the different cities that have more than 100 memberships?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"membership_amount","operation":">=","value":100}]}}<|endoftext|><|prompter|>Display the city and the number of branches opened before 2010 for each city.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"open_year","operation":"<","value":2010},{"actionType":"ChangeGrouping","column":"city"}]}}<|endoftext|><|prompter|>For each city, how many branches opened before 2010?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"open_year","operation":"<","value":2010},{"actionType":"ChangeGrouping","column":"city"}]}}<|endoftext|><|prompter|>Show all city with a branch opened in 2001 and a branch with more than 100 membership.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"open_year","operation":"=","value":2001},{"actionType":"ChangeCondition","column":"membership_amount","operation":">","value":100}]}}<|endoftext|><|prompter|>What are the cities that have a branch that opened in 2001 and a branch with more than 100 members?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"open_year","operation":"=","value":2001},{"actionType":"ChangeCondition","column":"membership_amount","operation":">","value":100}]}}<|endoftext|> | SPIDER |
<|context|>[{"columns":["Branch_ID","Name","Open_year","Address_road","City","membership_amount"],"name":"branch","type":"grid"}]<|endoftext|><|prompter|>Show name, address road, and city for all branches sorted by open year.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"open_year","direction":"ask"}]}}<|endoftext|><|prompter|>What are the names, address roads, and cities of the branches ordered by opening year?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"open_year","direction":"ask"}]}}<|endoftext|><|prompter|>What are names for top three branches with most number of membership?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"membership_amount","limit":3,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>What are the names for the 3 branches that have the most memberships?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"membership_amount","limit":3,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>Show all distinct city where branches with at least 100 memberships are located.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"membership_amount","operation":">=","value":100}]}}<|endoftext|><|prompter|>What are the different cities that have more than 100 memberships?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"membership_amount","operation":">=","value":100}]}}<|endoftext|><|prompter|>Show the city and the number of branches opened before 2010 for each city.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"open_year","operation":"<","value":2010},{"actionType":"ChangeGrouping","column":"city"}]}}<|endoftext|><|prompter|>For cities, count branches opened before 2010.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"open_year","operation":"<","value":2010},{"actionType":"ChangeGrouping","column":"city"}]}}<|endoftext|><|prompter|>Show all city with a branch opened in 2001 and a branch with more than 100 membership.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"open_year","operation":"=","value":2001},{"actionType":"ChangeCondition","column":"membership_amount","operation":">","value":100}]}}<|endoftext|><|prompter|>What are the cities that have a branch that opened in 2001 and a branch with more than 100 members?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"open_year","operation":"=","value":2001},{"actionType":"ChangeCondition","column":"membership_amount","operation":">","value":100}]}}<|endoftext|> | SPIDER |
<|context|>[{"columns":["Branch_ID","Name","Open_year","Address_road","City","membership_amount"],"name":"branch","type":"grid"}]<|endoftext|><|prompter|>Show name, address road, and city for all branches sorted by open year.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"open_year","direction":"ask"}]}}<|endoftext|><|prompter|>What are the names, address roads, and cities of the branches ordered by opening year?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"open_year","direction":"ask"}]}}<|endoftext|><|prompter|>What are names for top three branches with most number of membership?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"membership_amount","limit":3,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>What are the names for the 3 branches that have the most memberships?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"membership_amount","limit":3,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>Show all distinct city where branches with at least 100 memberships are located.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"membership_amount","operation":">=","value":100}]}}<|endoftext|><|prompter|>What are the different cities that have more than 100 memberships?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"membership_amount","operation":">=","value":100}]}}<|endoftext|><|prompter|>Show the city and the number of branches opened before 2010 for each city.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"open_year","operation":"<","value":2010},{"actionType":"ChangeGrouping","column":"city"}]}}<|endoftext|><|prompter|>For each city, how many branches were opened before 2010?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"open_year","operation":"<","value":2010},{"actionType":"ChangeGrouping","column":"city"}]}}<|endoftext|><|prompter|>Show all city with a branch opened in 2001 and a branch with more than 100 membership.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"open_year","operation":"=","value":2001},{"actionType":"ChangeCondition","column":"membership_amount","operation":">","value":100}]}}<|endoftext|><|prompter|>What are the cities that have a branch that opened in 2001 and a branch with more than 100 members?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"open_year","operation":"=","value":2001},{"actionType":"ChangeCondition","column":"membership_amount","operation":">","value":100}]}}<|endoftext|> | SPIDER |
<|context|>[{"columns":["Branch_ID","Name","Open_year","Address_road","City","membership_amount"],"name":"branch","type":"grid"}]<|endoftext|><|prompter|>Show name, address road, and city for all branches sorted by open year.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"open_year","direction":"ask"}]}}<|endoftext|><|prompter|>What are the names, address roads, and cities of the branches ordered by opening year?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"open_year","direction":"ask"}]}}<|endoftext|><|prompter|>What are names for top three branches with most number of membership?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"membership_amount","limit":3,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>What are the names for the 3 branches that have the most memberships?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"membership_amount","limit":3,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>Show all distinct city where branches with at least 100 memberships are located.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"membership_amount","operation":">=","value":100}]}}<|endoftext|><|prompter|>What are the different cities that have more than 100 memberships?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"membership_amount","operation":">=","value":100}]}}<|endoftext|><|prompter|>Show the city and the number of branches opened before 2010 for each city.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"open_year","operation":"<","value":2010},{"actionType":"ChangeGrouping","column":"city"}]}}<|endoftext|><|prompter|>For each city, how many branches opened before 2010?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"open_year","operation":"<","value":2010},{"actionType":"ChangeGrouping","column":"city"}]}}<|endoftext|><|prompter|>Show all city with a branch opened in 2001 and a branch with more than 100 membership.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"open_year","operation":"=","value":2001},{"actionType":"ChangeCondition","column":"membership_amount","operation":">","value":100}]}}<|endoftext|><|prompter|>What are the cities that have a branch that opened in 2001 and a branch with more than 100 members?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"open_year","operation":"=","value":2001},{"actionType":"ChangeCondition","column":"membership_amount","operation":">","value":100}]}}<|endoftext|> | SPIDER |
<|context|>[{"columns":["StuID","LName","Fname","Age","Sex","Major","Advisor","city_code"],"name":"student","type":"grid"}]<|endoftext|><|prompter|>How many female students (sex is F) live in BAL<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"sex","operation":"=","value":"F"},{"actionType":"ChangeCondition","column":"city_code","operation":"=","value":"BAL"}]}}<|endoftext|><|prompter|>What are their last names?
<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"sex","operation":"=","value":"F"},{"actionType":"ChangeCondition","column":"city_code","operation":"=","value":"BAL"}]}}<|endoftext|><|prompter|>Can you also show me the last names of any male students (sex is M) who are below the age of 20?
<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"sex","operation":"=","value":"M"},{"actionType":"ChangeCondition","column":"age","operation":"<","value":20}]}}<|endoftext|><|prompter|>Thanks!
<|endoftext|><|assistant|>{"text":"Thank you! Bye","dsl":{}}<|endoftext|> | COSQL |
<|context|>[{"columns":["Branch_ID","Name","Open_year","Address_road","City","membership_amount"],"name":"branch","type":"grid"}]<|endoftext|><|prompter|>How many names in this table?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Name","aggregation":"count"}]}}<|endoftext|><|prompter|>Find the total amount of membership?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"membership_amount","aggregation":"sum"}]}}<|endoftext|><|prompter|>Find highest membership amount?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"membership_amount","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>Find the lowest membership amount?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"membership_amount","aggregation":"min"}]}}<|endoftext|><|prompter|>Thanks!<|endoftext|><|assistant|>{"text":"Welcome and goodbye","dsl":{}}<|endoftext|> | COSQL |
<|context|>[{"columns":["Branch_ID","Name","Open_year","Address_road","City","membership_amount"],"name":"branch","type":"grid"}]<|endoftext|><|prompter|>What are the names for the top three membership branches<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"membership_amount","limit":3,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>How many memberships do these branches have?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"membership_amount","limit":3,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>What years did the branches open?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"membership_amount","limit":3,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>What are the addresses for these three branches?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"membership_amount","limit":3,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>Which address has the most memberships?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"membership_amount","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>Thanks!<|endoftext|><|assistant|>{"text":"You are welcome!","dsl":{}}<|endoftext|> | COSQL |
<|context|>[{"columns":["invoice_number","order_id","invoice_date"],"name":"Invoices","type":"grid"}]<|endoftext|><|prompter|>Display order ids and the invoice count for each order.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"order_id"}]}}<|endoftext|><|prompter|>How many invoices correspond to each order id?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"order_id"}]}}<|endoftext|> | SPIDER |
<|context|>[{"columns":["invoice_number","order_id","invoice_date"],"name":"Invoices","type":"grid"}]<|endoftext|><|prompter|>Display the order ids and the number of invoices for each order.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"order_id"}]}}<|endoftext|><|prompter|>How many invoices correspond to each order id?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"order_id"}]}}<|endoftext|> | SPIDER |
<|context|>[{"columns":["invoice_number","order_id","invoice_date"],"name":"Invoices","type":"grid"}]<|endoftext|><|prompter|>Show the order ids and the number of invoices for each order.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"order_id"}]}}<|endoftext|><|prompter|>How many invoices are associated with each order ID?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"order_id"}]}}<|endoftext|> | SPIDER |
<|context|>[{"columns":["invoice_number","order_id","invoice_date"],"name":"Invoices","type":"grid"}]<|endoftext|><|prompter|>Show the order ids and the number of invoices for each order.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"order_id"}]}}<|endoftext|><|prompter|>How many invoices are associated with each order id?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"order_id"}]}}<|endoftext|> | SPIDER |
<|context|>[{"columns":["invoice_number","order_id","invoice_date"],"name":"Invoices","type":"grid"}]<|endoftext|><|prompter|>Show the order ids and the number of invoices for each order.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"order_id"}]}}<|endoftext|><|prompter|>How many invoices correspond to each order id?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"order_id"}]}}<|endoftext|> | SPIDER |
<|context|>[{"columns":["id","first_name","last_name","company","address","city","state","country","postal_code","phone","fax","email","support_rep_id"],"name":"customers","type":"grid"}]<|endoftext|><|prompter|>What county does Roberto Almeida live in?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"first_name","operation":"=","value":"'Roberto'"},{"actionType":"ChangeCondition","column":"last_name","operation":"=","value":"'Almeida'"}]}}<|endoftext|><|prompter|>What state does he live in?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"first_name","operation":"=","value":"'Roberto'"},{"actionType":"ChangeCondition","column":"last_name","operation":"=","value":"'Almeida'"}]}}<|endoftext|><|prompter|>What is his address, please?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"first_name","operation":"=","value":"'Roberto'"},{"actionType":"ChangeCondition","column":"last_name","operation":"=","value":"'Almeida'"}]}}<|endoftext|><|prompter|>What company does he work for?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"first_name","operation":"=","value":"'Roberto'"},{"actionType":"ChangeCondition","column":"last_name","operation":"=","value":"'Almeida'"}]}}<|endoftext|><|prompter|>What are the names of the other people who work for that company?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"company","operation":"=","value":"'Riotur'"},{"actionType":"ChangeCondition","column":"first_name","operation":"!=","value":"'Roberto'"},{"actionType":"ChangeCondition","column":"last_name","operation":"!=","value":"'Almeida'"}]}}<|endoftext|><|prompter|>Thanks!<|endoftext|><|assistant|>{"text":"Sure! Anything else?","dsl":{}}<|endoftext|><|prompter|>No, that's all! Thank you! Have a great day!<|endoftext|><|assistant|>{"text":"You too. Bye!","dsl":{}}<|endoftext|> | COSQL |
<|context|>[{"columns":["best_of","draw_size","loser_age","loser_entry","loser_hand","loser_ht","loser_id","loser_ioc","loser_name","loser_rank","loser_rank_points","loser_seed","match_num","minutes","round","score","surface","tourney_date","tourney_id","tourney_level","tourney_name","winner_age","winner_entry","winner_hand","winner_ht","winner_id","winner_ioc","winner_name","winner_rank","winner_rank_points","winner_seed","year"],"name":"matches","type":"grid"}]<|endoftext|><|prompter|>What's the average age of all losers of all matches?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"loser_age","aggregation":"avg"}]}}<|endoftext|><|prompter|>What's the average age of all winners of all matches?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"winner_age","aggregation":"avg"}]}}<|endoftext|><|prompter|>What are the average minutes of all matches?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"minutes","aggregation":"avg"}]}}<|endoftext|><|prompter|>What was the longest match in minutes?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"minutes","aggregation":"max"}]}}<|endoftext|><|prompter|>What was the shortest match in minutes?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"minutes","aggregation":"min"}]}}<|endoftext|><|prompter|>Thanks!<|endoftext|><|assistant|>{"text":"Thanks. bye.","dsl":{}}<|endoftext|> | COSQL |
<|context|>[{"columns":["Code","Name","Price","Manufacturer"],"name":"products","type":"grid"}]<|endoftext|><|prompter|>Hello. What products cost more than or exactly $180?<|endoftext|><|assistant|>{"text":"Do you want the name of those products that cost more than or exactly $180","dsl":{}}<|endoftext|><|prompter|>Yes. Can you please provide the name in alphabetical order?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"price","operation":">=","value":180},{"actionType":"ChangeSorting","column":"name","direction":"ask"}]}}<|endoftext|><|prompter|>Thank you. Can you please provide the price of each of these items as well sorted by lowest price first?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"price","operation":">=","value":180},{"actionType":"ChangeSorting","column":"price","direction":"ask"}]}}<|endoftext|><|prompter|>Can you please also provide the manufacturer on these products?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"price","operation":">=","value":180},{"actionType":"ChangeSorting","column":"price","direction":"ask"}]}}<|endoftext|> | COSQL |
<|context|>[{"columns":["Ship_ID","Name","Type","Nationality","Tonnage"],"name":"ship","type":"grid"}]<|endoftext|><|prompter|>Show the names of all ships from United States?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Nationality","operation":"=","value":"'United States'"}]}}<|endoftext|><|prompter|>Show the names of all ships from United Kingdom?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Nationality","operation":"=","value":"'United Kingdom'"}]}}<|endoftext|><|prompter|>What type of ship is the Corbridge ? <|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"name","operation":"=","value":"'Corbridge'"}]}}<|endoftext|><|prompter|>What is the tonnage of the Corbridge ?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"name","operation":"=","value":"'Corbridge'"}]}}<|endoftext|><|prompter|>What is the name of the ship with 3146 tonnage ?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"tonnage","operation":"=","value":"'3146'"}]}}<|endoftext|><|prompter|>What is the name of the ship with the most tonnage ?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"tonnage","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>How many different types of ships are there ?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"type","aggregation":"count"}]}}<|endoftext|><|prompter|>Thanks!<|endoftext|><|assistant|>{"text":"You are welcome.","dsl":{}}<|endoftext|> | COSQL |
<|context|>[{"columns":["Country_ID","Name","Population","Area","Languages"],"name":"country","type":"grid"}]<|endoftext|><|prompter|>List the names of countries whose language is not "German".<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Languages","operation":"!=","value":"'German'"}]}}<|endoftext|> | SPIDER |
<|context|>[{"columns":["StuID","LName","Fname","Age","Sex","Major","Advisor","city_code"],"name":"Student","type":"grid"}]<|endoftext|><|prompter|>How many different advisors are listed?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"advisor","aggregation":"count"}]}}<|endoftext|><|prompter|>How many advisors are there?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"advisor","aggregation":"count"}]}}<|endoftext|><|prompter|>Show first name, last name, age for all female students. Their sex is F.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Sex","operation":"=","value":"F"}]}}<|endoftext|><|prompter|>What are the full names and ages for all female students whose sex is F?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Sex","operation":"=","value":"F"}]}}<|endoftext|><|prompter|>Show student ids for all male students.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Sex","operation":"=","value":"M"}]}}<|endoftext|><|prompter|>What are the student ids for all male students?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Sex","operation":"=","value":"M"}]}}<|endoftext|><|prompter|>How many students are age 18?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"age","operation":"=","value":18}]}}<|endoftext|><|prompter|>How many students are 18 years old?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"age","operation":"=","value":18}]}}<|endoftext|><|prompter|>Show all student ids who are older than 20.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"age","operation":">","value":20}]}}<|endoftext|><|prompter|>What are the student ids for students over 20 years old?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"age","operation":">","value":20}]}}<|endoftext|><|prompter|>Which city does the student whose last name is "Kim" live in?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"LName","operation":"=","value":"'Kim'"}]}}<|endoftext|><|prompter|>Give the city that the student whose family name is Kim lives in.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"LName","operation":"=","value":"'Kim'"}]}}<|endoftext|><|prompter|>Who is the advisor of student with ID 1004?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"StuID","operation":"=","value":1004}]}}<|endoftext|><|prompter|>Who advises student 1004?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"StuID","operation":"=","value":1004}]}}<|endoftext|><|prompter|>What is the total revenue of each manufacturer?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"major"}]}}<|endoftext|><|prompter|>How many students are there for each major?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"major"}]}}<|endoftext|><|prompter|>Show all ages and corresponding number of students.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"age"}]}}<|endoftext|><|prompter|>How old is each student and how many students are each age?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"age"}]}}<|endoftext|><|prompter|>Show the average age for male and female students.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"age","aggregation":"avg"},{"actionType":"ChangeGrouping","column":"sex"}]}}<|endoftext|><|prompter|>What are the average ages for male and female students?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"age","aggregation":"avg"},{"actionType":"ChangeGrouping","column":"sex"}]}}<|endoftext|><|prompter|>Show all cities and corresponding number of students.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"city_code"}]}}<|endoftext|><|prompter|>How many students live in each city?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"city_code"}]}}<|endoftext|><|prompter|>Show all advisors and corresponding number of students.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"advisor"}]}}<|endoftext|><|prompter|>How many students does each advisor have?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"advisor"}]}}<|endoftext|><|prompter|>What is the age of student Linda Smith?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Fname","operation":"=","value":"'Linda'"},{"actionType":"ChangeCondition","column":"Lname","operation":"=","value":"'Smith'"}]}}<|endoftext|><|prompter|>What is the gender of the student Linda Smith?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Fname","operation":"=","value":"'Linda'"},{"actionType":"ChangeCondition","column":"Lname","operation":"=","value":"'Smith'"}]}}<|endoftext|><|prompter|>List all students' first names and last names who majored in 600.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Major","operation":"=","value":600}]}}<|endoftext|><|prompter|>Which city does student Linda Smith live in?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Fname","operation":"=","value":"'Linda'"},{"actionType":"ChangeCondition","column":"Lname","operation":"=","value":"'Smith'"}]}}<|endoftext|><|prompter|>Advisor 1121 has how many students?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Advisor","operation":"=","value":1121}]}}<|endoftext|><|prompter|>Which Advisor has most of students? List advisor and the number of students.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"Advisor"},{"actionType":"ChangeTopFilter","column":"Advisor","limit":1,"aggregation":"count","direction":"desk"}]}}<|endoftext|><|prompter|>Which major has least number of students? List the major and the number of students.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"Major"},{"actionType":"ChangeTopFilter","column":"Major","limit":1,"aggregation":"count","direction":"ask"}]}}<|endoftext|><|prompter|>Which student's age is older than 18 and is majoring in 600? List each student's first and last name.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Age","operation":">","value":18},{"actionType":"ChangeCondition","column":"Major","operation":"=","value":600}]}}<|endoftext|><|prompter|>List all female students age is older than 18 who is not majoring in 600. List students' first name and last name.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Age","operation":">","value":18},{"actionType":"ChangeCondition","column":"Major","operation":"!=","value":600},{"actionType":"ChangeCondition","column":"Sex","operation":"=","value":"F"}]}}<|endoftext|><|prompter|>Show ids for all students who live in CHI.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"city_code","operation":"=","value":"'CHI'"}]}}<|endoftext|><|prompter|>What are the ids of all students who live in CHI?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"city_code","operation":"=","value":"'CHI'"}]}}<|endoftext|><|prompter|>Show ids for all students who have advisor 1121.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Advisor","operation":"=","value":1121}]}}<|endoftext|><|prompter|>What are the ids of all students who have advisor number 1121?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Advisor","operation":"=","value":1121}]}}<|endoftext|><|prompter|>Show first name for all students with major 600.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Major","operation":"=","value":600}]}}<|endoftext|><|prompter|>What are the first names for all students who are from the major numbered 600?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Major","operation":"=","value":600}]}}<|endoftext|> | SPIDER |
<|context|>[{"columns":["StuID","LName","Fname","Age","Sex","Major","Advisor","city_code"],"name":"Student","type":"grid"}]<|endoftext|><|prompter|>How many different advisors are listed?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"advisor","aggregation":"count"}]}}<|endoftext|><|prompter|>How many advisors are there?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"advisor","aggregation":"count"}]}}<|endoftext|><|prompter|>Show first name, last name, age for all female students. Their sex is F.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Sex","operation":"=","value":"F"}]}}<|endoftext|><|prompter|>What are the full names and ages for all female students whose sex is F?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Sex","operation":"=","value":"F"}]}}<|endoftext|><|prompter|>Show student ids for all male students.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Sex","operation":"=","value":"M"}]}}<|endoftext|><|prompter|>What are the student ids for all male students?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Sex","operation":"=","value":"M"}]}}<|endoftext|><|prompter|>How many students are age 18?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"age","operation":"=","value":18}]}}<|endoftext|><|prompter|>How many students are 18 years old?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"age","operation":"=","value":18}]}}<|endoftext|><|prompter|>Show all student ids who are older than 20.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"age","operation":">","value":20}]}}<|endoftext|><|prompter|>What are the student ids for students over 20 years old?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"age","operation":">","value":20}]}}<|endoftext|><|prompter|>Which city does the student whose last name is "Kim" live in?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"LName","operation":"=","value":"'Kim'"}]}}<|endoftext|><|prompter|>Give the city that the student whose family name is Kim lives in.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"LName","operation":"=","value":"'Kim'"}]}}<|endoftext|><|prompter|>Who is the advisor of student with ID 1004?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"StuID","operation":"=","value":1004}]}}<|endoftext|><|prompter|>Who advises student 1004?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"StuID","operation":"=","value":1004}]}}<|endoftext|><|prompter|>Can you show all majors along with the corresponding number of students?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"major"}]}}<|endoftext|><|prompter|>How many students are there for each major?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"major"}]}}<|endoftext|><|prompter|>Show all ages and corresponding number of students.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"age"}]}}<|endoftext|><|prompter|>How old is each student and how many students are each age?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"age"}]}}<|endoftext|><|prompter|>Show the average age for male and female students.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"age","aggregation":"avg"},{"actionType":"ChangeGrouping","column":"sex"}]}}<|endoftext|><|prompter|>What are the average ages for male and female students?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"age","aggregation":"avg"},{"actionType":"ChangeGrouping","column":"sex"}]}}<|endoftext|><|prompter|>Show all cities and corresponding number of students.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"city_code"}]}}<|endoftext|><|prompter|>How many students live in each city?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"city_code"}]}}<|endoftext|><|prompter|>Show all advisors and corresponding number of students.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"advisor"}]}}<|endoftext|><|prompter|>How many students does each advisor have?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"advisor"}]}}<|endoftext|><|prompter|>What is the age of student Linda Smith?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Fname","operation":"=","value":"'Linda'"},{"actionType":"ChangeCondition","column":"Lname","operation":"=","value":"'Smith'"}]}}<|endoftext|><|prompter|>What is the gender of the student Linda Smith?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Fname","operation":"=","value":"'Linda'"},{"actionType":"ChangeCondition","column":"Lname","operation":"=","value":"'Smith'"}]}}<|endoftext|><|prompter|>List all students' first names and last names who majored in 600.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Major","operation":"=","value":600}]}}<|endoftext|><|prompter|>Which city does student Linda Smith live in?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Fname","operation":"=","value":"'Linda'"},{"actionType":"ChangeCondition","column":"Lname","operation":"=","value":"'Smith'"}]}}<|endoftext|><|prompter|>Advisor 1121 has how many students?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Advisor","operation":"=","value":1121}]}}<|endoftext|><|prompter|>Which Advisor has most of students? List advisor and the number of students.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"Advisor"},{"actionType":"ChangeTopFilter","column":"Advisor","limit":1,"aggregation":"count","direction":"desk"}]}}<|endoftext|><|prompter|>Which major has least number of students? List the major and the number of students.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"Major"},{"actionType":"ChangeTopFilter","column":"Major","limit":1,"aggregation":"count","direction":"ask"}]}}<|endoftext|><|prompter|>Which student's age is older than 18 and is majoring in 600? List each student's first and last name.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Age","operation":">","value":18},{"actionType":"ChangeCondition","column":"Major","operation":"=","value":600}]}}<|endoftext|><|prompter|>List all female students age is older than 18 who is not majoring in 600. List students' first name and last name.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Age","operation":">","value":18},{"actionType":"ChangeCondition","column":"Major","operation":"!=","value":600},{"actionType":"ChangeCondition","column":"Sex","operation":"=","value":"F"}]}}<|endoftext|><|prompter|>Show ids for all students who live in CHI.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"city_code","operation":"=","value":"'CHI'"}]}}<|endoftext|><|prompter|>What are the ids of all students who live in CHI?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"city_code","operation":"=","value":"'CHI'"}]}}<|endoftext|><|prompter|>Show ids for all students who have advisor 1121.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Advisor","operation":"=","value":1121}]}}<|endoftext|><|prompter|>What are the ids of all students who have advisor number 1121?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Advisor","operation":"=","value":1121}]}}<|endoftext|><|prompter|>Show first name for all students with major 600.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Major","operation":"=","value":600}]}}<|endoftext|><|prompter|>What are the first names for all students who are from the major numbered 600?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Major","operation":"=","value":600}]}}<|endoftext|> | SPIDER |
<|context|>[{"columns":["StuID","LName","Fname","Age","Sex","Major","Advisor","city_code"],"name":"Student","type":"grid"}]<|endoftext|><|prompter|>How many different advisors are listed?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"advisor","aggregation":"count"}]}}<|endoftext|><|prompter|>How many advisors are there?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"advisor","aggregation":"count"}]}}<|endoftext|><|prompter|>Show first name, last name, age for all female students. Their sex is F.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Sex","operation":"=","value":"F"}]}}<|endoftext|><|prompter|>What are the full names and ages for all female students whose sex is F?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Sex","operation":"=","value":"F"}]}}<|endoftext|><|prompter|>Show student ids for all male students.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Sex","operation":"=","value":"M"}]}}<|endoftext|><|prompter|>What are the student ids for all male students?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Sex","operation":"=","value":"M"}]}}<|endoftext|><|prompter|>How many students are age 18?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"age","operation":"=","value":18}]}}<|endoftext|><|prompter|>How many students are 18 years old?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"age","operation":"=","value":18}]}}<|endoftext|><|prompter|>Show all student ids who are older than 20.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"age","operation":">","value":20}]}}<|endoftext|><|prompter|>What are the student ids for students over 20 years old?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"age","operation":">","value":20}]}}<|endoftext|><|prompter|>Which city does the student whose last name is "Kim" live in?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"LName","operation":"=","value":"'Kim'"}]}}<|endoftext|><|prompter|>Give the city that the student whose family name is Kim lives in.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"LName","operation":"=","value":"'Kim'"}]}}<|endoftext|><|prompter|>Who is the advisor of student with ID 1004?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"StuID","operation":"=","value":1004}]}}<|endoftext|><|prompter|>Who advises student 1004?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"StuID","operation":"=","value":1004}]}}<|endoftext|><|prompter|>Show all majors and corresponding number of students.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"major"}]}}<|endoftext|><|prompter|>What is the count of students for each major?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"major"}]}}<|endoftext|><|prompter|>Show all ages and corresponding number of students.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"age"}]}}<|endoftext|><|prompter|>How old is each student and how many students are each age?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"age"}]}}<|endoftext|><|prompter|>Show the average age for male and female students.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"age","aggregation":"avg"},{"actionType":"ChangeGrouping","column":"sex"}]}}<|endoftext|><|prompter|>What are the average ages for male and female students?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"age","aggregation":"avg"},{"actionType":"ChangeGrouping","column":"sex"}]}}<|endoftext|><|prompter|>Show all cities and corresponding number of students.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"city_code"}]}}<|endoftext|><|prompter|>How many students live in each city?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"city_code"}]}}<|endoftext|><|prompter|>Show all advisors and corresponding number of students.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"advisor"}]}}<|endoftext|><|prompter|>How many students does each advisor have?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"advisor"}]}}<|endoftext|><|prompter|>What is the age of student Linda Smith?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Fname","operation":"=","value":"'Linda'"},{"actionType":"ChangeCondition","column":"Lname","operation":"=","value":"'Smith'"}]}}<|endoftext|><|prompter|>What is the gender of the student Linda Smith?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Fname","operation":"=","value":"'Linda'"},{"actionType":"ChangeCondition","column":"Lname","operation":"=","value":"'Smith'"}]}}<|endoftext|><|prompter|>List all students' first names and last names who majored in 600.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Major","operation":"=","value":600}]}}<|endoftext|><|prompter|>Which city does student Linda Smith live in?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Fname","operation":"=","value":"'Linda'"},{"actionType":"ChangeCondition","column":"Lname","operation":"=","value":"'Smith'"}]}}<|endoftext|><|prompter|>Advisor 1121 has how many students?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Advisor","operation":"=","value":1121}]}}<|endoftext|><|prompter|>Which Advisor has most of students? List advisor and the number of students.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"Advisor"},{"actionType":"ChangeTopFilter","column":"Advisor","limit":1,"aggregation":"count","direction":"desk"}]}}<|endoftext|><|prompter|>Which major has least number of students? List the major and the number of students.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"Major"},{"actionType":"ChangeTopFilter","column":"Major","limit":1,"aggregation":"count","direction":"ask"}]}}<|endoftext|><|prompter|>Which student's age is older than 18 and is majoring in 600? List each student's first and last name.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Age","operation":">","value":18},{"actionType":"ChangeCondition","column":"Major","operation":"=","value":600}]}}<|endoftext|><|prompter|>List all female students age is older than 18 who is not majoring in 600. List students' first name and last name.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Age","operation":">","value":18},{"actionType":"ChangeCondition","column":"Major","operation":"!=","value":600},{"actionType":"ChangeCondition","column":"Sex","operation":"=","value":"F"}]}}<|endoftext|><|prompter|>Show ids for all students who live in CHI.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"city_code","operation":"=","value":"'CHI'"}]}}<|endoftext|><|prompter|>What are the ids of all students who live in CHI?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"city_code","operation":"=","value":"'CHI'"}]}}<|endoftext|><|prompter|>Show ids for all students who have advisor 1121.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Advisor","operation":"=","value":1121}]}}<|endoftext|><|prompter|>What are the ids of all students who have advisor number 1121?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Advisor","operation":"=","value":1121}]}}<|endoftext|><|prompter|>Show first name for all students with major 600.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Major","operation":"=","value":600}]}}<|endoftext|><|prompter|>What are the first names for all students who are from the major numbered 600?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Major","operation":"=","value":600}]}}<|endoftext|> | SPIDER |