instruction
stringlengths
241
15.9k
source
stringclasses
2 values
<|context|>[{"columns":["Dname","Dnumber","Mgr_ssn","Mgr_start_date"],"name":"department","type":"grid"}]<|endoftext|><|prompter|>List all department names ordered by their starting date.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"mgr_start_date","direction":"ask"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["cName","state","enr"],"name":"College","type":"grid"}]<|endoftext|><|prompter|>What is the total enrollment number of all colleges?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"enr","aggregation":"sum"}]}}<|endoftext|><|prompter|>How many students are enrolled in college?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"enr","aggregation":"sum"}]}}<|endoftext|><|prompter|>What is the average enrollment number?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"enr","aggregation":"avg"}]}}<|endoftext|><|prompter|>How many students, on average, does each college have enrolled?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"enr","aggregation":"avg"}]}}<|endoftext|><|prompter|>How many colleges has more than 15000 students?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"enr","operation":">","value":15000}]}}<|endoftext|><|prompter|>What is the number of colleges with a student population greater than 15000?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"enr","operation":">","value":15000}]}}<|endoftext|><|prompter|>What is average enrollment of colleges in the state FL?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"enr","aggregation":"avg"},{"actionType":"ChangeCondition","column":"state","operation":"=","value":"FL"}]}}<|endoftext|><|prompter|>What is average number of students enrolled in Florida colleges?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"enr","aggregation":"avg"},{"actionType":"ChangeCondition","column":"state","operation":"=","value":"FL"}]}}<|endoftext|><|prompter|>Find the name, enrollment of the colleges whose size is bigger than 10000 and location is in state LA.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"enr","operation":">","value":10000},{"actionType":"ChangeCondition","column":"state","operation":"=","value":"'LA'"}]}}<|endoftext|><|prompter|>What are the names and enrollment numbers for colleges that have more than 10000 enrolled and are located in Louisiana?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"enr","operation":">","value":10000},{"actionType":"ChangeCondition","column":"state","operation":"=","value":"'LA'"}]}}<|endoftext|><|prompter|>List the name of the colleges whose enrollment is greater 18000 sorted by the college's name.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"enr","operation":">","value":18000},{"actionType":"ChangeSorting","column":"cName","direction":"ask"}]}}<|endoftext|><|prompter|>What is the name of every college in alphabetical order that has more than 18000 students enrolled?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"enr","operation":">","value":18000},{"actionType":"ChangeSorting","column":"cName","direction":"ask"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["ID","name","dept_name","salary"],"name":"instructor","type":"grid"}]<|endoftext|><|prompter|>Who is the instructor of the statistics department?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"dept_name","operation":"=","value":"'Statistics'"}]}}<|endoftext|><|prompter|>What is their average salary?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"salary","aggregation":"avg"},{"actionType":"ChangeCondition","column":"dept_name","operation":"=","value":"'Statistics'"}]}}<|endoftext|><|prompter|>Who in the statistics department has the highest salary?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"dept_name","operation":"=","value":"'Statistics'"},{"actionType":"ChangeTopFilter","column":"salary","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>How much is his salary?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"dept_name","operation":"=","value":"'Statistics'"},{"actionType":"ChangeTopFilter","column":"salary","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>Thanks<|endoftext|><|assistant|>{"text":"goodbye","dsl":{}}<|endoftext|>
COSQL
<|context|>[{"columns":["constructorId","constructorRef","name","nationality","url"],"name":"constructors","type":"grid"}]<|endoftext|><|prompter|>How many constructors are there for each nationality?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"nationality"}]}}<|endoftext|><|prompter|>For each nationality, how many different constructors are there?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"nationality"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["constructorId","constructorRef","name","nationality","url"],"name":"constructors","type":"grid"}]<|endoftext|><|prompter|>Determine the number of constructors for each nationality.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"nationality"}]}}<|endoftext|><|prompter|>For each nationality, how many different constructors are there?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"nationality"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["constructorId","constructorRef","name","nationality","url"],"name":"constructors","type":"grid"}]<|endoftext|><|prompter|>What are the numbers of constructors for different nationalities?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"nationality"}]}}<|endoftext|><|prompter|>For each nationality, how many unique constructors are there?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"nationality"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["constructorId","constructorRef","name","nationality","url"],"name":"constructors","type":"grid"}]<|endoftext|><|prompter|>What are the numbers of constructors for different nationalities?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"nationality"}]}}<|endoftext|><|prompter|>Determine the number of different constructors for each nationality.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"nationality"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["constructorId","constructorRef","name","nationality","url"],"name":"constructors","type":"grid"}]<|endoftext|><|prompter|>What are the numbers of constructors for different nationalities?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"nationality"}]}}<|endoftext|><|prompter|>For each nationality, how many different constructors are there?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"nationality"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["People_ID","Name","Height","Weight","Birth_Date","Birth_Place"],"name":"people","type":"grid"}]<|endoftext|><|prompter|>List each birthplace alongside the number of individuals from there.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"Birth_Place"}]}}<|endoftext|><|prompter|>List the height and weight of people in descending order of height.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"Height","direction":"desk"}]}}<|endoftext|><|prompter|>How many distinct birth places are there?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Birth_Place","aggregation":"count"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["People_ID","Name","Height","Weight","Birth_Date","Birth_Place"],"name":"people","type":"grid"}]<|endoftext|><|prompter|>Provide a count of individuals from each birthplace.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"Birth_Place"}]}}<|endoftext|><|prompter|>List the height and weight of people in descending order of height.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"Height","direction":"desk"}]}}<|endoftext|><|prompter|>How many distinct birth places are there?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Birth_Place","aggregation":"count"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["People_ID","Name","Height","Weight","Birth_Date","Birth_Place"],"name":"people","type":"grid"}]<|endoftext|><|prompter|>List each birth place along with the number of people from there.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"Birth_Place"}]}}<|endoftext|><|prompter|>List the height and weight of people in descending order of height.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"Height","direction":"desk"}]}}<|endoftext|><|prompter|>How many distinct birth places are there?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Birth_Place","aggregation":"count"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["incident_type_code","incident_type_description"],"name":"Ref_Incident_Type","type":"grid"}]<|endoftext|><|prompter|>What is the incident type description for the incident type with code "VIOLENCE"?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"incident_type_code","operation":"=","value":"'VIOLENCE'"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["product_id","product_type_code","product_name","product_price"],"name":"products","type":"grid"}]<|endoftext|><|prompter|>what product Id has the highest price? <|endoftext|><|assistant|>{"text":"Do you mean the id of the product which has the highest price?","dsl":{}}<|endoftext|><|prompter|>yes <|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"product_price","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>what is the product name? <|endoftext|><|assistant|>{"text":"Do you mean the product name of the product which has the highest price?","dsl":{}}<|endoftext|><|prompter|>yes <|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"product_price","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>what is the name of the product with the lowest price?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"product_price","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>Thanks!<|endoftext|><|assistant|>{"text":"You are welcome.","dsl":{}}<|endoftext|>
COSQL
<|context|>[{"columns":["Musical_ID","Name","Year","Award","Category","Nominee","Result"],"name":"musical","type":"grid"}]<|endoftext|><|prompter|>Can you list the awards of the musical nominee "Bob Fosse"?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Nominee","operation":"=","value":"'Bob Fosse'"}]}}<|endoftext|><|prompter|>Can you list the awards of the musical nominee "Cleavant Derricks"?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Nominee","operation":"=","value":"'Cleavant Derricks'"}]}}<|endoftext|><|prompter|>What categories did Cleavant Derricks win for?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Nominee","operation":"=","value":"'Cleavant Derricks'"},{"actionType":"ChangeCondition","column":"Result","operation":"=","value":"'Won'"}]}}<|endoftext|><|prompter|>What categories were Cleavant Derrick nominated for?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Nominee","operation":"=","value":"'Cleavant Derricks'"},{"actionType":"ChangeCondition","column":"Result","operation":"=","value":"'Nominated'"}]}}<|endoftext|><|prompter|>What categories did Bob Fosse win in?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Nominee","operation":"=","value":"'Bob Fosse'"},{"actionType":"ChangeCondition","column":"Result","operation":"=","value":"'Won'"}]}}<|endoftext|><|prompter|>Thanks!<|endoftext|><|assistant|>{"text":"You are welcome!","dsl":{}}<|endoftext|>
COSQL
<|context|>[{"columns":["Member_ID","Name","Membership_card","Age","Time_of_purchase","Level_of_membership","Address"],"name":"member","type":"grid"}]<|endoftext|><|prompter|>How many members have the black membership card?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Membership_card","operation":"=","value":"Black"}]}}<|endoftext|><|prompter|>Determine the number of members residing at each address.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"address"}]}}<|endoftext|><|prompter|>Find the purchase time, age and address of each member, and show the results in the order of purchase time.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"Time_of_purchase","direction":"ask"}]}}<|endoftext|><|prompter|>How many members are not living in Hartford?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"address","operation":"!=","value":"Hartford"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["Member_ID","Name","Membership_card","Age","Time_of_purchase","Level_of_membership","Address"],"name":"member","type":"grid"}]<|endoftext|><|prompter|>How many members have the black membership card?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Membership_card","operation":"=","value":"Black"}]}}<|endoftext|><|prompter|>Find the number of members residing at each address.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"address"}]}}<|endoftext|><|prompter|>Find the purchase time, age and address of each member, and show the results in the order of purchase time.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"Time_of_purchase","direction":"ask"}]}}<|endoftext|><|prompter|>How many members are not living in Hartford?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"address","operation":"!=","value":"Hartford"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["Member_ID","Name","Membership_card","Age","Time_of_purchase","Level_of_membership","Address"],"name":"member","type":"grid"}]<|endoftext|><|prompter|>How many members have the black membership card?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Membership_card","operation":"=","value":"Black"}]}}<|endoftext|><|prompter|>Find the number of members living in each address.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"address"}]}}<|endoftext|><|prompter|>Find the purchase time, age and address of each member, and show the results in the order of purchase time.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"Time_of_purchase","direction":"ask"}]}}<|endoftext|><|prompter|>How many members are not living in Hartford?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"address","operation":"!=","value":"Hartford"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["Driver_ID","Name","Party","Home_city","Age"],"name":"driver","type":"grid"}]<|endoftext|><|prompter|>How many of the drivers are over 40?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"age","operation":">","value":40}]}}<|endoftext|><|prompter|>How many of these drivers are also from Hartford?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"home_city","operation":"=","value":"Hartford"},{"actionType":"ChangeCondition","column":"age","operation":">","value":40}]}}<|endoftext|><|prompter|>What is the party of these 4 drivers?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"home_city","operation":"=","value":"Hartford"},{"actionType":"ChangeCondition","column":"age","operation":">","value":40}]}}<|endoftext|><|prompter|>Thanks!<|endoftext|><|assistant|>{"text":"Thanks. bye.","dsl":{}}<|endoftext|>
COSQL
<|context|>[{"columns":["customer_id","payment_method","customer_name","customer_phone","customer_email","date_became_customer"],"name":"Customers","type":"grid"}]<|endoftext|><|prompter|>List the names, phone numbers, and emails of all customers sorted by their dates of becoming customers.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"date_became_customer","direction":"ask"}]}}<|endoftext|><|prompter|>Find the name of the first 5 customers.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"date_became_customer","limit":5,"aggregation":"avg","direction":"ask"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["Code","Name","Headquarter","Founder","Revenue"],"name":"manufacturers","type":"grid"}]<|endoftext|><|prompter|>where is the Headquarter of Sony?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Name","operation":"=","value":"'Sony'"}]}}<|endoftext|><|prompter|>how much is Creative Labs revenue?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Name","operation":"=","value":"'Creative Labs'"}]}}<|endoftext|><|prompter|>what is the name of the manufacturer whose headquarter is in Los Angeles?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Headquarter","operation":"=","value":"'Los Angeles'"}]}}<|endoftext|><|prompter|>Thanks<|endoftext|><|assistant|>{"text":"could you ask more question ?","dsl":{}}<|endoftext|><|prompter|>which manufacturer has the least revenue? <|endoftext|><|assistant|>{"text":"Did you mean to get the name of manufacturer has the least revenue","dsl":{}}<|endoftext|><|prompter|>name the manufacturer with the least revenue<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"revenue","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>thanks<|endoftext|><|assistant|>{"text":"welcome bye","dsl":{}}<|endoftext|>
COSQL
<|context|>[{"columns":["Church_ID","Name","Organized_by","Open_Date","Continuation_of"],"name":"church","type":"grid"}]<|endoftext|><|prompter|>List all church names in descending order of opening date.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"open_date","direction":"desk"}]}}<|endoftext|><|prompter|>Show the organizer and name for churches that opened between 1830 and 1840.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"open_date","operation":">=","value":1830},{"actionType":"ChangeCondition","column":"open_date","operation":"<=","value":1840}]}}<|endoftext|><|prompter|>Exhibit the opening years and corresponding church counts.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"open_date"}]}}<|endoftext|><|prompter|>Show the name and opening year for three churches that opened most recently.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"open_date","limit":3,"aggregation":"avg","direction":"desk"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["Church_ID","Name","Organized_by","Open_Date","Continuation_of"],"name":"church","type":"grid"}]<|endoftext|><|prompter|>List all church names in descending order of opening date.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"open_date","direction":"desk"}]}}<|endoftext|><|prompter|>Show the organizer and name for churches that opened between 1830 and 1840.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"open_date","operation":">=","value":1830},{"actionType":"ChangeCondition","column":"open_date","operation":"<=","value":1840}]}}<|endoftext|><|prompter|>Display all opening years and the number of churches that opened in that year.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"open_date"}]}}<|endoftext|><|prompter|>Show the name and opening year for three churches that opened most recently.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"open_date","limit":3,"aggregation":"avg","direction":"desk"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["Church_ID","Name","Organized_by","Open_Date","Continuation_of"],"name":"church","type":"grid"}]<|endoftext|><|prompter|>List all church names in descending order of opening date.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"open_date","direction":"desk"}]}}<|endoftext|><|prompter|>Show the organizer and name for churches that opened between 1830 and 1840.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"open_date","operation":">=","value":1830},{"actionType":"ChangeCondition","column":"open_date","operation":"<=","value":1840}]}}<|endoftext|><|prompter|>Show all opening years and the number of churches that opened in that year.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"open_date"}]}}<|endoftext|><|prompter|>Show the name and opening year for three churches that opened most recently.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"open_date","limit":3,"aggregation":"avg","direction":"desk"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["Model_name","Launch_year","RAM_MiB","ROM_MiB","Slots","WiFi","Bluetooth"],"name":"chip_model","type":"grid"}]<|endoftext|><|prompter|>the names of models that launched between 2002 and 2004.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Launch_year","operation":">=","value":2002},{"actionType":"ChangeCondition","column":"Launch_year","operation":"<=","value":2004}]}}<|endoftext|><|prompter|>Which model has the least amount of RAM? List the model name and the amount of RAM.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"RAM_MiB","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>How many models do not have the wifi function?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"wifi","operation":"=","value":"No"}]}}<|endoftext|><|prompter|>Count the number of chip model that do not have wifi.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"wifi","operation":"=","value":"No"}]}}<|endoftext|><|prompter|>List all the model names sorted by their launch year.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"launch_year","direction":"ask"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["Club_ID","name","Region","Start_year"],"name":"club","type":"grid"}]<|endoftext|><|prompter|>List the distinct region of clubs in ascending alphabetical order.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"Region","direction":"ask"}]}}<|endoftext|><|prompter|>What are the different regions of clubs in ascending alphabetical order?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"Region","direction":"ask"}]}}<|endoftext|><|prompter|>List all club names in ascending order of start year.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"Start_year","direction":"ask"}]}}<|endoftext|><|prompter|>What are the names of all the clubs starting with the oldest?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"Start_year","direction":"ask"}]}}<|endoftext|><|prompter|>List all club names in descending alphabetical order.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"name","direction":"desk"}]}}<|endoftext|><|prompter|>What are the names of all the clubs ordered in descending alphabetical order?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"name","direction":"desk"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["Station_ID","Open_Year","Location","Manager_Name","Vice_Manager_Name","Representative_Name"],"name":"gas_station","type":"grid"}]<|endoftext|><|prompter|>Show gas station id, location, and manager_name for all gas stations ordered by open year.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"open_year","direction":"ask"}]}}<|endoftext|><|prompter|>What are the gas station ids, locations, and manager names for the gas stations ordered by opening year?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"open_year","direction":"ask"}]}}<|endoftext|><|prompter|>How many gas station are opened between 2000 and 2005?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"open_year","operation":">=","value":2000},{"actionType":"ChangeCondition","column":"open_year","operation":"<=","value":2005}]}}<|endoftext|><|prompter|>What is the total number of gas stations that opened between 2000 and 2005?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"open_year","operation":">=","value":2000},{"actionType":"ChangeCondition","column":"open_year","operation":"<=","value":2005}]}}<|endoftext|><|prompter|>order all gas station locations by the opening year.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"open_year","direction":"ask"}]}}<|endoftext|><|prompter|>What are the locations of all the gas stations ordered by opening year?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"open_year","direction":"ask"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["Competition_ID","Year","Competition_type","Country"],"name":"competition","type":"grid"}]<|endoftext|><|prompter|>What are the distinct years in which the competitions type is not "Tournament"?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Competition_type","operation":"!=","value":"'Tournament'"}]}}<|endoftext|><|prompter|>What are the different years for all competitions that are not of type equal to tournament?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Competition_type","operation":"!=","value":"'Tournament'"}]}}<|endoftext|><|prompter|>How many faculty members does each building have? Please list the result with the name of the building.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"Competition_type"}]}}<|endoftext|><|prompter|>What are the types of competition and number of competitions for that type?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"Competition_type"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["Competition_ID","Year","Competition_type","Country"],"name":"competition","type":"grid"}]<|endoftext|><|prompter|>What are the distinct years in which the competitions type is not "Tournament"?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Competition_type","operation":"!=","value":"'Tournament'"}]}}<|endoftext|><|prompter|>What are the different years for all competitions that are not of type equal to tournament?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Competition_type","operation":"!=","value":"'Tournament'"}]}}<|endoftext|><|prompter|>List the number of competitions for each type of competition.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"Competition_type"}]}}<|endoftext|><|prompter|>What are the types of competition and number of competitions for that type?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"Competition_type"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["Competition_ID","Year","Competition_type","Country"],"name":"competition","type":"grid"}]<|endoftext|><|prompter|>What are the distinct years in which the competitions type is not "Tournament"?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Competition_type","operation":"!=","value":"'Tournament'"}]}}<|endoftext|><|prompter|>What are the different years for all competitions that are not of type equal to tournament?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Competition_type","operation":"!=","value":"'Tournament'"}]}}<|endoftext|><|prompter|>List the types of competition and the number of competitions of each type.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"Competition_type"}]}}<|endoftext|><|prompter|>Determine the types of competitions and the count of competitions for each type.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"Competition_type"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["Competition_ID","Year","Competition_type","Country"],"name":"competition","type":"grid"}]<|endoftext|><|prompter|>What are the distinct years in which the competitions type is not "Tournament"?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Competition_type","operation":"!=","value":"'Tournament'"}]}}<|endoftext|><|prompter|>What are the different years for all competitions that are not of type equal to tournament?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Competition_type","operation":"!=","value":"'Tournament'"}]}}<|endoftext|><|prompter|>List the types of competition and the number of competitions of each type.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"Competition_type"}]}}<|endoftext|><|prompter|>List the types of competition and the number of competitions for each type.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"Competition_type"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["Competition_ID","Year","Competition_type","Country"],"name":"competition","type":"grid"}]<|endoftext|><|prompter|>What are the distinct years in which the competitions type is not "Tournament"?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Competition_type","operation":"!=","value":"'Tournament'"}]}}<|endoftext|><|prompter|>What are the different years for all competitions that are not of type equal to tournament?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Competition_type","operation":"!=","value":"'Tournament'"}]}}<|endoftext|><|prompter|>List the types of competition and the number of competitions of each type.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"Competition_type"}]}}<|endoftext|><|prompter|>What are the types of competition and number of competitions for that type?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"Competition_type"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["s_ID","i_ID"],"name":"advisor","type":"grid"}]<|endoftext|><|prompter|>How many students have advisors?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"s_id","aggregation":"count"}]}}<|endoftext|><|prompter|>Count the number of students who have advisors.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"s_id","aggregation":"count"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["catalog_entry_id","catalog_level_number","parent_entry_id","previous_entry_id","next_entry_id","catalog_entry_name","product_stock_number","price_in_dollars","price_in_euros","price_in_pounds","capacity","length","height","width"],"name":"Catalog_Contents","type":"grid"}]<|endoftext|><|prompter|>Find the name and capacity of products with price greater than 700 (in USD).<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"price_in_dollars","operation":">","value":700}]}}<|endoftext|><|prompter|>Which catalog contents has price above 700 dollars? Show their catalog entry names and capacities.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"price_in_dollars","operation":">","value":700}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["dormid","dorm_name","student_capacity","gender"],"name":"dorm","type":"grid"}]<|endoftext|><|prompter|>what is the name of the dorms with capacity of greeter than 300 <|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"student_capacity","operation":">","value":300}]}}<|endoftext|><|prompter|>what are the dorm ids? <|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"student_capacity","operation":">","value":300}]}}<|endoftext|><|prompter|>whats the student capacity? <|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"student_capacity","operation":">","value":300}]}}<|endoftext|><|prompter|>Thanks! <|endoftext|><|assistant|>{"text":"goodbye.","dsl":{}}<|endoftext|>
COSQL
<|context|>[{"columns":["id","name","City","Height","Stories","Status"],"name":"buildings","type":"grid"}]<|endoftext|><|prompter|>List the names of buildings in descending order of building height.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"Height","direction":"desk"}]}}<|endoftext|><|prompter|>What are the names of buildings sorted in descending order of building height?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"Height","direction":"desk"}]}}<|endoftext|><|prompter|>Find the stories of the building with the largest height.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"Height","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>What is the stories of highest building?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"Height","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>Please show the names of the buildings whose status is "on-hold", in ascending order of stories.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Status","operation":"=","value":"'on-hold'"},{"actionType":"ChangeSorting","column":"Stories","direction":"ask"}]}}<|endoftext|><|prompter|>Find the names of the buildings in "on-hold" status, and sort them in ascending order of building stories.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Status","operation":"=","value":"'on-hold'"},{"actionType":"ChangeSorting","column":"Stories","direction":"ask"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["caused_by_ship_id","id","note","killed","injured"],"name":"death","type":"grid"}]<|endoftext|><|prompter|>What is the average number of injuries caused each time?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"injured","aggregation":"avg"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["Stadium_ID","Location","Name","Capacity","Highest","Lowest","Average"],"name":"stadium","type":"grid"}]<|endoftext|><|prompter|>Show location and name for all stadiums with a capacity between 5000 and 10000.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"capacity","operation":">=","value":5000},{"actionType":"ChangeCondition","column":"capacity","operation":"<=","value":10000}]}}<|endoftext|><|prompter|>What are the locations and names of all stations with capacity between 5000 and 10000?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"capacity","operation":">=","value":5000},{"actionType":"ChangeCondition","column":"capacity","operation":"<=","value":10000}]}}<|endoftext|><|prompter|>What is the maximum capacity and the average of all stadiums ?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"capacity","aggregation":"max"}]}}<|endoftext|><|prompter|>What is the name and capacity for the stadium with highest average attendance?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"average","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>What is the name and capacity for the stadium with the highest average attendance?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"average","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["Church_ID","Name","Organized_by","Open_Date","Continuation_of"],"name":"church","type":"grid"}]<|endoftext|><|prompter|>What are the names and opening years of the three churches that opened most recently?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"open_date","limit":3,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>What are the names and opening years of the three churches that opened the earliest?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"open_date","limit":3,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>Who were those churches organized by?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"open_date","limit":3,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>Thanks!<|endoftext|><|assistant|>{"text":"You are welcome","dsl":{}}<|endoftext|>
COSQL
<|context|>[{"columns":["account_id","customer_id","account_name","other_account_details"],"name":"Accounts","type":"grid"}]<|endoftext|><|prompter|>Show other account details for account with name 338.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"account_name","operation":"=","value":"'338'"}]}}<|endoftext|><|prompter|>What are the other account details for the account with the name 338?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"account_name","operation":"=","value":"'338'"}]}}<|endoftext|><|prompter|>List customer ids and their respective account counts.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"customer_id"}]}}<|endoftext|><|prompter|>How many accounts are there for each customer id?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"customer_id"}]}}<|endoftext|><|prompter|>How many customers have an account?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"customer_id","aggregation":"count"}]}}<|endoftext|><|prompter|>Count the number of customers who hold an account.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"customer_id","aggregation":"count"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["account_id","customer_id","account_name","other_account_details"],"name":"Accounts","type":"grid"}]<|endoftext|><|prompter|>Show other account details for account with name 338.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"account_name","operation":"=","value":"'338'"}]}}<|endoftext|><|prompter|>What are the other account details for the account with the name 338?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"account_name","operation":"=","value":"'338'"}]}}<|endoftext|><|prompter|>Display all customer IDs and the number of accounts held by each customer.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"customer_id"}]}}<|endoftext|><|prompter|>How many accounts are there for each customer id?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"customer_id"}]}}<|endoftext|><|prompter|>How many customers have an account?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"customer_id","aggregation":"count"}]}}<|endoftext|><|prompter|>Count the number of customers who hold an account.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"customer_id","aggregation":"count"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["account_id","customer_id","account_name","other_account_details"],"name":"Accounts","type":"grid"}]<|endoftext|><|prompter|>Show other account details for account with name 338.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"account_name","operation":"=","value":"'338'"}]}}<|endoftext|><|prompter|>What are the other account details for the account with the name 338?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"account_name","operation":"=","value":"'338'"}]}}<|endoftext|><|prompter|>Show all customer ids and the number of accounts for each customer.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"customer_id"}]}}<|endoftext|><|prompter|>How many accounts are associated with each customer id?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"customer_id"}]}}<|endoftext|><|prompter|>How many customers have an account?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"customer_id","aggregation":"count"}]}}<|endoftext|><|prompter|>Count the number of customers who hold an account.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"customer_id","aggregation":"count"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["account_id","customer_id","account_name","other_account_details"],"name":"Accounts","type":"grid"}]<|endoftext|><|prompter|>Show other account details for account with name 338.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"account_name","operation":"=","value":"'338'"}]}}<|endoftext|><|prompter|>What are the other account details for the account with the name 338?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"account_name","operation":"=","value":"'338'"}]}}<|endoftext|><|prompter|>Show all customer ids and the number of accounts for each customer.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"customer_id"}]}}<|endoftext|><|prompter|>Determine the total capacity for each gender in each dorm.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"customer_id"}]}}<|endoftext|><|prompter|>How many customers have an account?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"customer_id","aggregation":"count"}]}}<|endoftext|><|prompter|>Count the number of customers who hold an account.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"customer_id","aggregation":"count"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["account_id","customer_id","account_name","other_account_details"],"name":"Accounts","type":"grid"}]<|endoftext|><|prompter|>Show other account details for account with name 338.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"account_name","operation":"=","value":"'338'"}]}}<|endoftext|><|prompter|>What are the other account details for the account with the name 338?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"account_name","operation":"=","value":"'338'"}]}}<|endoftext|><|prompter|>Show all customer ids and the number of accounts for each customer.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"customer_id"}]}}<|endoftext|><|prompter|>How many accounts are there for each customer id?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"customer_id"}]}}<|endoftext|><|prompter|>How many customers have an account?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"customer_id","aggregation":"count"}]}}<|endoftext|><|prompter|>Count the number of customers who hold an account.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"customer_id","aggregation":"count"}]}}<|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|>Yes<|endoftext|><|assistant|>{"text":"What is country of origin of Eduardo Martins?","dsl":{}}<|endoftext|><|prompter|>What is country of origin of Eduardo Martins?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"first_name","operation":"=","value":"'Eduardo'"},{"actionType":"ChangeCondition","column":"last_name","operation":"=","value":"'Martins'"}]}}<|endoftext|><|prompter|>Of which company is he a customer of?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"first_name","operation":"=","value":"'Eduardo'"},{"actionType":"ChangeCondition","column":"last_name","operation":"=","value":"'Martins'"}]}}<|endoftext|><|prompter|>And what is his phone number?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"first_name","operation":"=","value":"'Eduardo'"},{"actionType":"ChangeCondition","column":"last_name","operation":"=","value":"'Martins'"}]}}<|endoftext|><|prompter|>Thanks!<|endoftext|><|assistant|>{"text":"goodbye!","dsl":{}}<|endoftext|>
COSQL
<|context|>[{"columns":["Musical_ID","Name","Year","Award","Category","Nominee","Result"],"name":"musical","type":"grid"}]<|endoftext|><|prompter|>What are the names of musicals with nominee "Bob Fosse"?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Nominee","operation":"=","value":"'Bob Fosse'"}]}}<|endoftext|><|prompter|>Return the names of musicals who have the nominee Bob Fosse.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Nominee","operation":"=","value":"'Bob Fosse'"}]}}<|endoftext|><|prompter|>What are the distinct nominees of the musicals with the award that is not "Tony Award"?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Award","operation":"!=","value":"'Tony Award'"}]}}<|endoftext|><|prompter|>Return the different nominees of musicals that have an award that is not the Tony Award.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Award","operation":"!=","value":"'Tony Award'"}]}}<|endoftext|><|prompter|>Display various nominees and their nomination count for musicals.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"Nominee"}]}}<|endoftext|><|prompter|>How many musicals has each nominee been nominated for?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"Nominee"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["Musical_ID","Name","Year","Award","Category","Nominee","Result"],"name":"musical","type":"grid"}]<|endoftext|><|prompter|>What are the names of musicals with nominee "Bob Fosse"?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Nominee","operation":"=","value":"'Bob Fosse'"}]}}<|endoftext|><|prompter|>Return the names of musicals who have the nominee Bob Fosse.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Nominee","operation":"=","value":"'Bob Fosse'"}]}}<|endoftext|><|prompter|>What are the distinct nominees of the musicals with the award that is not "Tony Award"?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Award","operation":"!=","value":"'Tony Award'"}]}}<|endoftext|><|prompter|>Return the different nominees of musicals that have an award that is not the Tony Award.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Award","operation":"!=","value":"'Tony Award'"}]}}<|endoftext|><|prompter|>Display the different nominees and the number of musicals they were nominated for.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"Nominee"}]}}<|endoftext|><|prompter|>How many musicals has each nominee been nominated for?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"Nominee"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["Musical_ID","Name","Year","Award","Category","Nominee","Result"],"name":"musical","type":"grid"}]<|endoftext|><|prompter|>What are the names of musicals with nominee "Bob Fosse"?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Nominee","operation":"=","value":"'Bob Fosse'"}]}}<|endoftext|><|prompter|>Return the names of musicals who have the nominee Bob Fosse.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Nominee","operation":"=","value":"'Bob Fosse'"}]}}<|endoftext|><|prompter|>What are the distinct nominees of the musicals with the award that is not "Tony Award"?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Award","operation":"!=","value":"'Tony Award'"}]}}<|endoftext|><|prompter|>Return the different nominees of musicals that have an award that is not the Tony Award.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Award","operation":"!=","value":"'Tony Award'"}]}}<|endoftext|><|prompter|>Show different nominees and the number of musicals they have been nominated.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"Nominee"}]}}<|endoftext|><|prompter|>How many musical nominations does each nominee have?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"Nominee"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["Musical_ID","Name","Year","Award","Category","Nominee","Result"],"name":"musical","type":"grid"}]<|endoftext|><|prompter|>What are the names of musicals with nominee "Bob Fosse"?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Nominee","operation":"=","value":"'Bob Fosse'"}]}}<|endoftext|><|prompter|>Return the names of musicals who have the nominee Bob Fosse.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Nominee","operation":"=","value":"'Bob Fosse'"}]}}<|endoftext|><|prompter|>What are the distinct nominees of the musicals with the award that is not "Tony Award"?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Award","operation":"!=","value":"'Tony Award'"}]}}<|endoftext|><|prompter|>Return the different nominees of musicals that have an award that is not the Tony Award.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Award","operation":"!=","value":"'Tony Award'"}]}}<|endoftext|><|prompter|>Show different nominees and the number of musicals they have been nominated.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"Nominee"}]}}<|endoftext|><|prompter|>Determine the number of musicals that each nominee has been nominated for.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"Nominee"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["Musical_ID","Name","Year","Award","Category","Nominee","Result"],"name":"musical","type":"grid"}]<|endoftext|><|prompter|>What are the names of musicals with nominee "Bob Fosse"?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Nominee","operation":"=","value":"'Bob Fosse'"}]}}<|endoftext|><|prompter|>Return the names of musicals who have the nominee Bob Fosse.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Nominee","operation":"=","value":"'Bob Fosse'"}]}}<|endoftext|><|prompter|>What are the distinct nominees of the musicals with the award that is not "Tony Award"?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Award","operation":"!=","value":"'Tony Award'"}]}}<|endoftext|><|prompter|>Return the different nominees of musicals that have an award that is not the Tony Award.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Award","operation":"!=","value":"'Tony Award'"}]}}<|endoftext|><|prompter|>Show different nominees and the number of musicals they have been nominated.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"Nominee"}]}}<|endoftext|><|prompter|>How many musicals has each nominee been nominated for?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"Nominee"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["EMPLOYEE_ID","FIRST_NAME","LAST_NAME","EMAIL","PHONE_NUMBER","HIRE_DATE","JOB_ID","SALARY","COMMISSION_PCT","MANAGER_ID","DEPARTMENT_ID"],"name":"employees","type":"grid"}]<|endoftext|><|prompter|>display the emails of the employees who have no commission percentage and salary within the range 7000 to 12000 and works in that department which number is 50. <|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"commission_pct","operation":"=","value":"'null'"},{"actionType":"ChangeCondition","column":"salary","operation":">=","value":7000},{"actionType":"ChangeCondition","column":"salary","operation":"<=","value":12000},{"actionType":"ChangeCondition","column":"department_id","operation":"=","value":50}]}}<|endoftext|><|prompter|>display the emails of the employees who have no commission percentage<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"commission_pct","operation":"=","value":"'null'"}]}}<|endoftext|><|prompter|>display the emails of the employees who have a commission percentage<|endoftext|><|assistant|>{"text":"Did you mean the employees who have commission percentage more than 0?","dsl":{}}<|endoftext|><|prompter|>yes<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"commission_pct","operation":">","value":0}]}}<|endoftext|><|prompter|>How many employees with salary above 12000 are there?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"salary","operation":">","value":12000}]}}<|endoftext|><|prompter|>List their names please<|endoftext|><|assistant|>{"text":"Did you mean their FIRST NAME\tand LAST NAME?","dsl":{}}<|endoftext|><|prompter|>yes<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"salary","operation":">","value":12000}]}}<|endoftext|><|prompter|>Thanks!<|endoftext|><|assistant|>{"text":"Bye!","dsl":{}}<|endoftext|>
COSQL
<|context|>[{"columns":["City_ID","City","Hanzi","Hanyu_Pinyin","Regional_Population","GDP"],"name":"city","type":"grid"}]<|endoftext|><|prompter|>How many cities have a regional population over 8000000?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"city","aggregation":"count"},{"actionType":"ChangeCondition","column":"regional_population","operation":">","value":8000000}]}}<|endoftext|><|prompter|>How many cities have a population under 5000000?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"city","aggregation":"count"},{"actionType":"ChangeCondition","column":"regional_population","operation":"<","value":5000000}]}}<|endoftext|><|prompter|>What are the names of those cities?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"regional_population","operation":"<","value":5000000}]}}<|endoftext|><|prompter|>Thanks!<|endoftext|><|assistant|>{"text":"Bye","dsl":{}}<|endoftext|>
COSQL
<|context|>[{"columns":["building","room_number","capacity"],"name":"classroom","type":"grid"}]<|endoftext|><|prompter|>How many buildings are in the list?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"building","aggregation":"count"}]}}<|endoftext|><|prompter|>What are the buildings that have more than 50 capacity?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"capacity","operation":">","value":50},{"actionType":"ChangeGrouping","column":"building"}]}}<|endoftext|><|prompter|>Can you rind me the number of rooms with more than 50 capacity for those 20 buildings?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"room_number","aggregation":"count"},{"actionType":"ChangeCondition","column":"capacity","operation":">","value":50}]}}<|endoftext|><|prompter|>Can you show me the number of rooms with capacity greater than 50 for each building?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"room_number","aggregation":"count"},{"actionType":"ChangeCondition","column":"capacity","operation":">","value":50},{"actionType":"ChangeGrouping","column":"building"}]}}<|endoftext|><|prompter|>Thanks!<|endoftext|><|assistant|>{"text":"You are welcome!","dsl":{}}<|endoftext|>
COSQL
<|context|>[{"columns":["Race_ID","Name","Class","Date","Track_ID"],"name":"race","type":"grid"}]<|endoftext|><|prompter|>Present race classes and the number of races within each class.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"CLASS"}]}}<|endoftext|><|prompter|>What are the different classes of races, and how many races correspond to each?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"CLASS"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["Race_ID","Name","Class","Date","Track_ID"],"name":"race","type":"grid"}]<|endoftext|><|prompter|>Show the number of races in each race class.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"CLASS"}]}}<|endoftext|><|prompter|>What are the different classes of races, and how many races correspond to each?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"CLASS"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["Race_ID","Name","Class","Date","Track_ID"],"name":"race","type":"grid"}]<|endoftext|><|prompter|>Show the race class and number of races in each class.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"CLASS"}]}}<|endoftext|><|prompter|>Identify distinct race classes and their corresponding number of races.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"CLASS"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["Race_ID","Name","Class","Date","Track_ID"],"name":"race","type":"grid"}]<|endoftext|><|prompter|>Show the race class and number of races in each class.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"CLASS"}]}}<|endoftext|><|prompter|>What are the different classes of races and how many races fall under each class?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"CLASS"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["Race_ID","Name","Class","Date","Track_ID"],"name":"race","type":"grid"}]<|endoftext|><|prompter|>Show the race class and number of races in each class.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"CLASS"}]}}<|endoftext|><|prompter|>What are the different classes of races, and how many races correspond to each?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"CLASS"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["School_ID","School","Location","Founded","Affiliation","Enrollment","Nickname","Primary_conference"],"name":"university","type":"grid"}]<|endoftext|><|prompter|>List all schools and their nicknames in the order of founded year.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"founded","direction":"ask"}]}}<|endoftext|><|prompter|>What are the different schools and their nicknames, ordered by their founding years?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"founded","direction":"ask"}]}}<|endoftext|><|prompter|>List all public schools and their locations.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"affiliation","operation":"=","value":"Public"}]}}<|endoftext|><|prompter|>What are the public schools and what are their locations?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"affiliation","operation":"=","value":"Public"}]}}<|endoftext|><|prompter|>When was the school with the largest enrollment founded?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"enrollment","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>Return the founded year for the school with the largest enrollment.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"enrollment","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>Find the founded year of the newest non public school.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"affiliation","operation":"!=","value":"Public"},{"actionType":"ChangeTopFilter","column":"founded","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>What is the founded year of the non public school that was founded most recently?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"affiliation","operation":"!=","value":"Public"},{"actionType":"ChangeTopFilter","column":"founded","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>What are the average enrollment size of the universities that are founded before 1850?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"enrollment","aggregation":"avg"},{"actionType":"ChangeCondition","column":"founded","operation":"<","value":1850}]}}<|endoftext|><|prompter|>Return the average enrollment of universities founded before 1850.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"enrollment","aggregation":"avg"},{"actionType":"ChangeCondition","column":"founded","operation":"<","value":1850}]}}<|endoftext|><|prompter|>Show the enrollment and primary_conference of the oldest college.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"founded","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>What are the enrollment and primary conference for the university which was founded the earliest?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"founded","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>Calculate total student enrollment for schools of different affiliation types.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"enrollment","aggregation":"sum"},{"actionType":"ChangeGrouping","column":"affiliation"}]}}<|endoftext|><|prompter|>What are the total enrollments of universities of each affiliation type?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"enrollment","aggregation":"sum"},{"actionType":"ChangeGrouping","column":"affiliation"}]}}<|endoftext|><|prompter|>Find how many different affiliation types there are.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"affiliation","aggregation":"count"}]}}<|endoftext|><|prompter|>Count the number of different affiliation types.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"affiliation","aggregation":"count"}]}}<|endoftext|><|prompter|>Find the number of universities that have over a 20000 enrollment size for each affiliation type.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"enrollment","operation":">","value":20000},{"actionType":"ChangeGrouping","column":"affiliation"}]}}<|endoftext|><|prompter|>What are the different affiliations, and how many schools with each have an enrollment size of above 20000?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"enrollment","operation":">","value":20000},{"actionType":"ChangeGrouping","column":"affiliation"}]}}<|endoftext|><|prompter|>Find the total number of students enrolled in the colleges that were founded after the year of 1850 for each affiliation type.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Enrollment","aggregation":"sum"},{"actionType":"ChangeCondition","column":"founded","operation":">","value":1850},{"actionType":"ChangeGrouping","column":"affiliation"}]}}<|endoftext|><|prompter|>What are the different affiliations, and what is the total enrollment of schools founded after 1850 for each enrollment type?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Enrollment","aggregation":"sum"},{"actionType":"ChangeCondition","column":"founded","operation":">","value":1850},{"actionType":"ChangeGrouping","column":"affiliation"}]}}<|endoftext|><|prompter|>What is the maximum enrollment across all schools?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Enrollment","aggregation":"max"}]}}<|endoftext|><|prompter|>Return the maximum enrollment across all schools.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Enrollment","aggregation":"max"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["School_ID","School","Location","Founded","Affiliation","Enrollment","Nickname","Primary_conference"],"name":"university","type":"grid"}]<|endoftext|><|prompter|>List all schools and their nicknames in the order of founded year.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"founded","direction":"ask"}]}}<|endoftext|><|prompter|>What are the different schools and their nicknames, ordered by their founding years?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"founded","direction":"ask"}]}}<|endoftext|><|prompter|>List all public schools and their locations.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"affiliation","operation":"=","value":"Public"}]}}<|endoftext|><|prompter|>What are the public schools and what are their locations?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"affiliation","operation":"=","value":"Public"}]}}<|endoftext|><|prompter|>When was the school with the largest enrollment founded?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"enrollment","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>Return the founded year for the school with the largest enrollment.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"enrollment","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>Find the founded year of the newest non public school.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"affiliation","operation":"!=","value":"Public"},{"actionType":"ChangeTopFilter","column":"founded","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>What is the founded year of the non public school that was founded most recently?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"affiliation","operation":"!=","value":"Public"},{"actionType":"ChangeTopFilter","column":"founded","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>What are the average enrollment size of the universities that are founded before 1850?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"enrollment","aggregation":"avg"},{"actionType":"ChangeCondition","column":"founded","operation":"<","value":1850}]}}<|endoftext|><|prompter|>Return the average enrollment of universities founded before 1850.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"enrollment","aggregation":"avg"},{"actionType":"ChangeCondition","column":"founded","operation":"<","value":1850}]}}<|endoftext|><|prompter|>Show the enrollment and primary_conference of the oldest college.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"founded","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>What are the enrollment and primary conference for the university which was founded the earliest?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"founded","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>Find the total student enrollment for schools with different affiliation types.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"enrollment","aggregation":"sum"},{"actionType":"ChangeGrouping","column":"affiliation"}]}}<|endoftext|><|prompter|>What are the total enrollments of universities of each affiliation type?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"enrollment","aggregation":"sum"},{"actionType":"ChangeGrouping","column":"affiliation"}]}}<|endoftext|><|prompter|>Find how many different affiliation types there are.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"affiliation","aggregation":"count"}]}}<|endoftext|><|prompter|>Count the number of different affiliation types.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"affiliation","aggregation":"count"}]}}<|endoftext|><|prompter|>Find the number of universities that have over a 20000 enrollment size for each affiliation type.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"enrollment","operation":">","value":20000},{"actionType":"ChangeGrouping","column":"affiliation"}]}}<|endoftext|><|prompter|>What are the different affiliations, and how many schools with each have an enrollment size of above 20000?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"enrollment","operation":">","value":20000},{"actionType":"ChangeGrouping","column":"affiliation"}]}}<|endoftext|><|prompter|>Find the total number of students enrolled in the colleges that were founded after the year of 1850 for each affiliation type.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Enrollment","aggregation":"sum"},{"actionType":"ChangeCondition","column":"founded","operation":">","value":1850},{"actionType":"ChangeGrouping","column":"affiliation"}]}}<|endoftext|><|prompter|>What are the different affiliations, and what is the total enrollment of schools founded after 1850 for each enrollment type?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Enrollment","aggregation":"sum"},{"actionType":"ChangeCondition","column":"founded","operation":">","value":1850},{"actionType":"ChangeGrouping","column":"affiliation"}]}}<|endoftext|><|prompter|>What is the maximum enrollment across all schools?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Enrollment","aggregation":"max"}]}}<|endoftext|><|prompter|>Return the maximum enrollment across all schools.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Enrollment","aggregation":"max"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["School_ID","School","Location","Founded","Affiliation","Enrollment","Nickname","Primary_conference"],"name":"university","type":"grid"}]<|endoftext|><|prompter|>List all schools and their nicknames in the order of founded year.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"founded","direction":"ask"}]}}<|endoftext|><|prompter|>What are the different schools and their nicknames, ordered by their founding years?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"founded","direction":"ask"}]}}<|endoftext|><|prompter|>List all public schools and their locations.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"affiliation","operation":"=","value":"Public"}]}}<|endoftext|><|prompter|>What are the public schools and what are their locations?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"affiliation","operation":"=","value":"Public"}]}}<|endoftext|><|prompter|>When was the school with the largest enrollment founded?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"enrollment","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>Return the founded year for the school with the largest enrollment.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"enrollment","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>Find the founded year of the newest non public school.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"affiliation","operation":"!=","value":"Public"},{"actionType":"ChangeTopFilter","column":"founded","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>What is the founded year of the non public school that was founded most recently?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"affiliation","operation":"!=","value":"Public"},{"actionType":"ChangeTopFilter","column":"founded","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>What are the average enrollment size of the universities that are founded before 1850?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"enrollment","aggregation":"avg"},{"actionType":"ChangeCondition","column":"founded","operation":"<","value":1850}]}}<|endoftext|><|prompter|>Return the average enrollment of universities founded before 1850.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"enrollment","aggregation":"avg"},{"actionType":"ChangeCondition","column":"founded","operation":"<","value":1850}]}}<|endoftext|><|prompter|>Show the enrollment and primary_conference of the oldest college.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"founded","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>What are the enrollment and primary conference for the university which was founded the earliest?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"founded","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>Find the total student enrollment for different affiliation type schools.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"enrollment","aggregation":"sum"},{"actionType":"ChangeGrouping","column":"affiliation"}]}}<|endoftext|><|prompter|>Determine the total enrollment for universities of each affiliation type.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"enrollment","aggregation":"sum"},{"actionType":"ChangeGrouping","column":"affiliation"}]}}<|endoftext|><|prompter|>Find how many different affiliation types there are.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"affiliation","aggregation":"count"}]}}<|endoftext|><|prompter|>Count the number of different affiliation types.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"affiliation","aggregation":"count"}]}}<|endoftext|><|prompter|>Find the number of universities that have over a 20000 enrollment size for each affiliation type.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"enrollment","operation":">","value":20000},{"actionType":"ChangeGrouping","column":"affiliation"}]}}<|endoftext|><|prompter|>What are the different affiliations, and how many schools with each have an enrollment size of above 20000?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"enrollment","operation":">","value":20000},{"actionType":"ChangeGrouping","column":"affiliation"}]}}<|endoftext|><|prompter|>Find the total number of students enrolled in the colleges that were founded after the year of 1850 for each affiliation type.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Enrollment","aggregation":"sum"},{"actionType":"ChangeCondition","column":"founded","operation":">","value":1850},{"actionType":"ChangeGrouping","column":"affiliation"}]}}<|endoftext|><|prompter|>What are the different affiliations, and what is the total enrollment of schools founded after 1850 for each enrollment type?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Enrollment","aggregation":"sum"},{"actionType":"ChangeCondition","column":"founded","operation":">","value":1850},{"actionType":"ChangeGrouping","column":"affiliation"}]}}<|endoftext|><|prompter|>What is the maximum enrollment across all schools?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Enrollment","aggregation":"max"}]}}<|endoftext|><|prompter|>Return the maximum enrollment across all schools.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Enrollment","aggregation":"max"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["School_ID","School","Location","Founded","Affiliation","Enrollment","Nickname","Primary_conference"],"name":"university","type":"grid"}]<|endoftext|><|prompter|>List all schools and their nicknames in the order of founded year.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"founded","direction":"ask"}]}}<|endoftext|><|prompter|>What are the different schools and their nicknames, ordered by their founding years?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"founded","direction":"ask"}]}}<|endoftext|><|prompter|>List all public schools and their locations.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"affiliation","operation":"=","value":"Public"}]}}<|endoftext|><|prompter|>What are the public schools and what are their locations?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"affiliation","operation":"=","value":"Public"}]}}<|endoftext|><|prompter|>When was the school with the largest enrollment founded?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"enrollment","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>Return the founded year for the school with the largest enrollment.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"enrollment","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>Find the founded year of the newest non public school.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"affiliation","operation":"!=","value":"Public"},{"actionType":"ChangeTopFilter","column":"founded","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>What is the founded year of the non public school that was founded most recently?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"affiliation","operation":"!=","value":"Public"},{"actionType":"ChangeTopFilter","column":"founded","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>What are the average enrollment size of the universities that are founded before 1850?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"enrollment","aggregation":"avg"},{"actionType":"ChangeCondition","column":"founded","operation":"<","value":1850}]}}<|endoftext|><|prompter|>Return the average enrollment of universities founded before 1850.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"enrollment","aggregation":"avg"},{"actionType":"ChangeCondition","column":"founded","operation":"<","value":1850}]}}<|endoftext|><|prompter|>Show the enrollment and primary_conference of the oldest college.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"founded","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>What are the enrollment and primary conference for the university which was founded the earliest?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"founded","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>Find the total student enrollment for different affiliation type schools.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"enrollment","aggregation":"sum"},{"actionType":"ChangeGrouping","column":"affiliation"}]}}<|endoftext|><|prompter|>What are the total enrollments of universities for each affiliation type?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"enrollment","aggregation":"sum"},{"actionType":"ChangeGrouping","column":"affiliation"}]}}<|endoftext|><|prompter|>Find how many different affiliation types there are.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"affiliation","aggregation":"count"}]}}<|endoftext|><|prompter|>Count the number of different affiliation types.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"affiliation","aggregation":"count"}]}}<|endoftext|><|prompter|>Find the number of universities that have over a 20000 enrollment size for each affiliation type.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"enrollment","operation":">","value":20000},{"actionType":"ChangeGrouping","column":"affiliation"}]}}<|endoftext|><|prompter|>What are the different affiliations, and how many schools with each have an enrollment size of above 20000?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"enrollment","operation":">","value":20000},{"actionType":"ChangeGrouping","column":"affiliation"}]}}<|endoftext|><|prompter|>Find the total number of students enrolled in the colleges that were founded after the year of 1850 for each affiliation type.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Enrollment","aggregation":"sum"},{"actionType":"ChangeCondition","column":"founded","operation":">","value":1850},{"actionType":"ChangeGrouping","column":"affiliation"}]}}<|endoftext|><|prompter|>What are the different affiliations, and what is the total enrollment of schools founded after 1850 for each enrollment type?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Enrollment","aggregation":"sum"},{"actionType":"ChangeCondition","column":"founded","operation":">","value":1850},{"actionType":"ChangeGrouping","column":"affiliation"}]}}<|endoftext|><|prompter|>What is the maximum enrollment across all schools?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Enrollment","aggregation":"max"}]}}<|endoftext|><|prompter|>Return the maximum enrollment across all schools.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Enrollment","aggregation":"max"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["School_ID","School","Location","Founded","Affiliation","Enrollment","Nickname","Primary_conference"],"name":"university","type":"grid"}]<|endoftext|><|prompter|>List all schools and their nicknames in the order of founded year.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"founded","direction":"ask"}]}}<|endoftext|><|prompter|>What are the different schools and their nicknames, ordered by their founding years?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"founded","direction":"ask"}]}}<|endoftext|><|prompter|>List all public schools and their locations.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"affiliation","operation":"=","value":"Public"}]}}<|endoftext|><|prompter|>What are the public schools and what are their locations?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"affiliation","operation":"=","value":"Public"}]}}<|endoftext|><|prompter|>When was the school with the largest enrollment founded?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"enrollment","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>Return the founded year for the school with the largest enrollment.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"enrollment","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>Find the founded year of the newest non public school.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"affiliation","operation":"!=","value":"Public"},{"actionType":"ChangeTopFilter","column":"founded","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>What is the founded year of the non public school that was founded most recently?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"affiliation","operation":"!=","value":"Public"},{"actionType":"ChangeTopFilter","column":"founded","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>What are the average enrollment size of the universities that are founded before 1850?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"enrollment","aggregation":"avg"},{"actionType":"ChangeCondition","column":"founded","operation":"<","value":1850}]}}<|endoftext|><|prompter|>Return the average enrollment of universities founded before 1850.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"enrollment","aggregation":"avg"},{"actionType":"ChangeCondition","column":"founded","operation":"<","value":1850}]}}<|endoftext|><|prompter|>Show the enrollment and primary_conference of the oldest college.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"founded","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>What are the enrollment and primary conference for the university which was founded the earliest?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"founded","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>Find the total student enrollment for different affiliation type schools.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"enrollment","aggregation":"sum"},{"actionType":"ChangeGrouping","column":"affiliation"}]}}<|endoftext|><|prompter|>What are the total enrollments of universities of each affiliation type?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"enrollment","aggregation":"sum"},{"actionType":"ChangeGrouping","column":"affiliation"}]}}<|endoftext|><|prompter|>Find how many different affiliation types there are.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"affiliation","aggregation":"count"}]}}<|endoftext|><|prompter|>Count the number of different affiliation types.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"affiliation","aggregation":"count"}]}}<|endoftext|><|prompter|>Count the number of universities with over 20,000 enrollees for each affiliation type.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"enrollment","operation":">","value":20000},{"actionType":"ChangeGrouping","column":"affiliation"}]}}<|endoftext|><|prompter|>What are the different affiliations, and how many schools with each have an enrollment size of above 20000?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"enrollment","operation":">","value":20000},{"actionType":"ChangeGrouping","column":"affiliation"}]}}<|endoftext|><|prompter|>Find the total number of students enrolled in the colleges that were founded after the year of 1850 for each affiliation type.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Enrollment","aggregation":"sum"},{"actionType":"ChangeCondition","column":"founded","operation":">","value":1850},{"actionType":"ChangeGrouping","column":"affiliation"}]}}<|endoftext|><|prompter|>What are the different affiliations, and what is the total enrollment of schools founded after 1850 for each enrollment type?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Enrollment","aggregation":"sum"},{"actionType":"ChangeCondition","column":"founded","operation":">","value":1850},{"actionType":"ChangeGrouping","column":"affiliation"}]}}<|endoftext|><|prompter|>What is the maximum enrollment across all schools?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Enrollment","aggregation":"max"}]}}<|endoftext|><|prompter|>Return the maximum enrollment across all schools.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Enrollment","aggregation":"max"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["School_ID","School","Location","Founded","Affiliation","Enrollment","Nickname","Primary_conference"],"name":"university","type":"grid"}]<|endoftext|><|prompter|>List all schools and their nicknames in the order of founded year.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"founded","direction":"ask"}]}}<|endoftext|><|prompter|>What are the different schools and their nicknames, ordered by their founding years?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"founded","direction":"ask"}]}}<|endoftext|><|prompter|>List all public schools and their locations.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"affiliation","operation":"=","value":"Public"}]}}<|endoftext|><|prompter|>What are the public schools and what are their locations?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"affiliation","operation":"=","value":"Public"}]}}<|endoftext|><|prompter|>When was the school with the largest enrollment founded?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"enrollment","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>Return the founded year for the school with the largest enrollment.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"enrollment","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>Find the founded year of the newest non public school.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"affiliation","operation":"!=","value":"Public"},{"actionType":"ChangeTopFilter","column":"founded","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>What is the founded year of the non public school that was founded most recently?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"affiliation","operation":"!=","value":"Public"},{"actionType":"ChangeTopFilter","column":"founded","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>What are the average enrollment size of the universities that are founded before 1850?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"enrollment","aggregation":"avg"},{"actionType":"ChangeCondition","column":"founded","operation":"<","value":1850}]}}<|endoftext|><|prompter|>Return the average enrollment of universities founded before 1850.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"enrollment","aggregation":"avg"},{"actionType":"ChangeCondition","column":"founded","operation":"<","value":1850}]}}<|endoftext|><|prompter|>Show the enrollment and primary_conference of the oldest college.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"founded","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>What are the enrollment and primary conference for the university which was founded the earliest?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"founded","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>Find the total student enrollment for different affiliation type schools.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"enrollment","aggregation":"sum"},{"actionType":"ChangeGrouping","column":"affiliation"}]}}<|endoftext|><|prompter|>What are the total enrollments of universities of each affiliation type?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"enrollment","aggregation":"sum"},{"actionType":"ChangeGrouping","column":"affiliation"}]}}<|endoftext|><|prompter|>Find how many different affiliation types there are.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"affiliation","aggregation":"count"}]}}<|endoftext|><|prompter|>Count the number of different affiliation types.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"affiliation","aggregation":"count"}]}}<|endoftext|><|prompter|>Find the number of universities with an enrollment size over 20000 for each affiliation type.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"enrollment","operation":">","value":20000},{"actionType":"ChangeGrouping","column":"affiliation"}]}}<|endoftext|><|prompter|>What are the different affiliations, and how many schools with each have an enrollment size of above 20000?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"enrollment","operation":">","value":20000},{"actionType":"ChangeGrouping","column":"affiliation"}]}}<|endoftext|><|prompter|>Find the total number of students enrolled in the colleges that were founded after the year of 1850 for each affiliation type.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Enrollment","aggregation":"sum"},{"actionType":"ChangeCondition","column":"founded","operation":">","value":1850},{"actionType":"ChangeGrouping","column":"affiliation"}]}}<|endoftext|><|prompter|>What are the different affiliations, and what is the total enrollment of schools founded after 1850 for each enrollment type?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Enrollment","aggregation":"sum"},{"actionType":"ChangeCondition","column":"founded","operation":">","value":1850},{"actionType":"ChangeGrouping","column":"affiliation"}]}}<|endoftext|><|prompter|>What is the maximum enrollment across all schools?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Enrollment","aggregation":"max"}]}}<|endoftext|><|prompter|>Return the maximum enrollment across all schools.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Enrollment","aggregation":"max"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["School_ID","School","Location","Founded","Affiliation","Enrollment","Nickname","Primary_conference"],"name":"university","type":"grid"}]<|endoftext|><|prompter|>List all schools and their nicknames in the order of founded year.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"founded","direction":"ask"}]}}<|endoftext|><|prompter|>What are the different schools and their nicknames, ordered by their founding years?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"founded","direction":"ask"}]}}<|endoftext|><|prompter|>List all public schools and their locations.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"affiliation","operation":"=","value":"Public"}]}}<|endoftext|><|prompter|>What are the public schools and what are their locations?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"affiliation","operation":"=","value":"Public"}]}}<|endoftext|><|prompter|>When was the school with the largest enrollment founded?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"enrollment","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>Return the founded year for the school with the largest enrollment.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"enrollment","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>Find the founded year of the newest non public school.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"affiliation","operation":"!=","value":"Public"},{"actionType":"ChangeTopFilter","column":"founded","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>What is the founded year of the non public school that was founded most recently?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"affiliation","operation":"!=","value":"Public"},{"actionType":"ChangeTopFilter","column":"founded","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>What are the average enrollment size of the universities that are founded before 1850?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"enrollment","aggregation":"avg"},{"actionType":"ChangeCondition","column":"founded","operation":"<","value":1850}]}}<|endoftext|><|prompter|>Return the average enrollment of universities founded before 1850.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"enrollment","aggregation":"avg"},{"actionType":"ChangeCondition","column":"founded","operation":"<","value":1850}]}}<|endoftext|><|prompter|>Show the enrollment and primary_conference of the oldest college.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"founded","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>What are the enrollment and primary conference for the university which was founded the earliest?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"founded","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>Find the total student enrollment for different affiliation type schools.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"enrollment","aggregation":"sum"},{"actionType":"ChangeGrouping","column":"affiliation"}]}}<|endoftext|><|prompter|>What are the total enrollments of universities of each affiliation type?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"enrollment","aggregation":"sum"},{"actionType":"ChangeGrouping","column":"affiliation"}]}}<|endoftext|><|prompter|>Find how many different affiliation types there are.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"affiliation","aggregation":"count"}]}}<|endoftext|><|prompter|>Count the number of different affiliation types.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"affiliation","aggregation":"count"}]}}<|endoftext|><|prompter|>Find the number of universities that have over a 20000 enrollment size for each affiliation type.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"enrollment","operation":">","value":20000},{"actionType":"ChangeGrouping","column":"affiliation"}]}}<|endoftext|><|prompter|>Display unique affiliations and the count of schools with over 20,000 enrollees for each.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"enrollment","operation":">","value":20000},{"actionType":"ChangeGrouping","column":"affiliation"}]}}<|endoftext|><|prompter|>Find the total number of students enrolled in the colleges that were founded after the year of 1850 for each affiliation type.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Enrollment","aggregation":"sum"},{"actionType":"ChangeCondition","column":"founded","operation":">","value":1850},{"actionType":"ChangeGrouping","column":"affiliation"}]}}<|endoftext|><|prompter|>What are the different affiliations, and what is the total enrollment of schools founded after 1850 for each enrollment type?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Enrollment","aggregation":"sum"},{"actionType":"ChangeCondition","column":"founded","operation":">","value":1850},{"actionType":"ChangeGrouping","column":"affiliation"}]}}<|endoftext|><|prompter|>What is the maximum enrollment across all schools?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Enrollment","aggregation":"max"}]}}<|endoftext|><|prompter|>Return the maximum enrollment across all schools.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Enrollment","aggregation":"max"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["School_ID","School","Location","Founded","Affiliation","Enrollment","Nickname","Primary_conference"],"name":"university","type":"grid"}]<|endoftext|><|prompter|>List all schools and their nicknames in the order of founded year.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"founded","direction":"ask"}]}}<|endoftext|><|prompter|>What are the different schools and their nicknames, ordered by their founding years?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"founded","direction":"ask"}]}}<|endoftext|><|prompter|>List all public schools and their locations.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"affiliation","operation":"=","value":"Public"}]}}<|endoftext|><|prompter|>What are the public schools and what are their locations?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"affiliation","operation":"=","value":"Public"}]}}<|endoftext|><|prompter|>When was the school with the largest enrollment founded?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"enrollment","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>Return the founded year for the school with the largest enrollment.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"enrollment","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>Find the founded year of the newest non public school.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"affiliation","operation":"!=","value":"Public"},{"actionType":"ChangeTopFilter","column":"founded","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>What is the founded year of the non public school that was founded most recently?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"affiliation","operation":"!=","value":"Public"},{"actionType":"ChangeTopFilter","column":"founded","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>What are the average enrollment size of the universities that are founded before 1850?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"enrollment","aggregation":"avg"},{"actionType":"ChangeCondition","column":"founded","operation":"<","value":1850}]}}<|endoftext|><|prompter|>Return the average enrollment of universities founded before 1850.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"enrollment","aggregation":"avg"},{"actionType":"ChangeCondition","column":"founded","operation":"<","value":1850}]}}<|endoftext|><|prompter|>Show the enrollment and primary_conference of the oldest college.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"founded","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>What are the enrollment and primary conference for the university which was founded the earliest?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"founded","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>Find the total student enrollment for different affiliation type schools.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"enrollment","aggregation":"sum"},{"actionType":"ChangeGrouping","column":"affiliation"}]}}<|endoftext|><|prompter|>What are the total enrollments of universities of each affiliation type?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"enrollment","aggregation":"sum"},{"actionType":"ChangeGrouping","column":"affiliation"}]}}<|endoftext|><|prompter|>Find how many different affiliation types there are.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"affiliation","aggregation":"count"}]}}<|endoftext|><|prompter|>Count the number of different affiliation types.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"affiliation","aggregation":"count"}]}}<|endoftext|><|prompter|>Find the number of universities that have over a 20000 enrollment size for each affiliation type.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"enrollment","operation":">","value":20000},{"actionType":"ChangeGrouping","column":"affiliation"}]}}<|endoftext|><|prompter|>What are the different affiliations, and how many schools with each affiliation have an enrollment size of over 20000?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"enrollment","operation":">","value":20000},{"actionType":"ChangeGrouping","column":"affiliation"}]}}<|endoftext|><|prompter|>Find the total number of students enrolled in the colleges that were founded after the year of 1850 for each affiliation type.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Enrollment","aggregation":"sum"},{"actionType":"ChangeCondition","column":"founded","operation":">","value":1850},{"actionType":"ChangeGrouping","column":"affiliation"}]}}<|endoftext|><|prompter|>What are the different affiliations, and what is the total enrollment of schools founded after 1850 for each enrollment type?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Enrollment","aggregation":"sum"},{"actionType":"ChangeCondition","column":"founded","operation":">","value":1850},{"actionType":"ChangeGrouping","column":"affiliation"}]}}<|endoftext|><|prompter|>What is the maximum enrollment across all schools?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Enrollment","aggregation":"max"}]}}<|endoftext|><|prompter|>Return the maximum enrollment across all schools.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Enrollment","aggregation":"max"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["School_ID","School","Location","Founded","Affiliation","Enrollment","Nickname","Primary_conference"],"name":"university","type":"grid"}]<|endoftext|><|prompter|>List all schools and their nicknames in the order of founded year.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"founded","direction":"ask"}]}}<|endoftext|><|prompter|>What are the different schools and their nicknames, ordered by their founding years?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"founded","direction":"ask"}]}}<|endoftext|><|prompter|>List all public schools and their locations.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"affiliation","operation":"=","value":"Public"}]}}<|endoftext|><|prompter|>What are the public schools and what are their locations?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"affiliation","operation":"=","value":"Public"}]}}<|endoftext|><|prompter|>When was the school with the largest enrollment founded?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"enrollment","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>Return the founded year for the school with the largest enrollment.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"enrollment","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>Find the founded year of the newest non public school.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"affiliation","operation":"!=","value":"Public"},{"actionType":"ChangeTopFilter","column":"founded","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>What is the founded year of the non public school that was founded most recently?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"affiliation","operation":"!=","value":"Public"},{"actionType":"ChangeTopFilter","column":"founded","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>What are the average enrollment size of the universities that are founded before 1850?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"enrollment","aggregation":"avg"},{"actionType":"ChangeCondition","column":"founded","operation":"<","value":1850}]}}<|endoftext|><|prompter|>Return the average enrollment of universities founded before 1850.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"enrollment","aggregation":"avg"},{"actionType":"ChangeCondition","column":"founded","operation":"<","value":1850}]}}<|endoftext|><|prompter|>Show the enrollment and primary_conference of the oldest college.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"founded","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>What are the enrollment and primary conference for the university which was founded the earliest?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"founded","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>Find the total student enrollment for different affiliation type schools.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"enrollment","aggregation":"sum"},{"actionType":"ChangeGrouping","column":"affiliation"}]}}<|endoftext|><|prompter|>What are the total enrollments of universities of each affiliation type?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"enrollment","aggregation":"sum"},{"actionType":"ChangeGrouping","column":"affiliation"}]}}<|endoftext|><|prompter|>Find how many different affiliation types there are.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"affiliation","aggregation":"count"}]}}<|endoftext|><|prompter|>Count the number of different affiliation types.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"affiliation","aggregation":"count"}]}}<|endoftext|><|prompter|>Find the number of universities that have over a 20000 enrollment size for each affiliation type.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"enrollment","operation":">","value":20000},{"actionType":"ChangeGrouping","column":"affiliation"}]}}<|endoftext|><|prompter|>What are the different affiliations, and how many schools with each have an enrollment size of above 20000?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"enrollment","operation":">","value":20000},{"actionType":"ChangeGrouping","column":"affiliation"}]}}<|endoftext|><|prompter|>Find the total student enrollment in colleges founded after 1850 for each affiliation type.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Enrollment","aggregation":"sum"},{"actionType":"ChangeCondition","column":"founded","operation":">","value":1850},{"actionType":"ChangeGrouping","column":"affiliation"}]}}<|endoftext|><|prompter|>What are the different affiliations, and what is the total enrollment of schools founded after 1850 for each enrollment type?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Enrollment","aggregation":"sum"},{"actionType":"ChangeCondition","column":"founded","operation":">","value":1850},{"actionType":"ChangeGrouping","column":"affiliation"}]}}<|endoftext|><|prompter|>What is the maximum enrollment across all schools?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Enrollment","aggregation":"max"}]}}<|endoftext|><|prompter|>Return the maximum enrollment across all schools.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Enrollment","aggregation":"max"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["School_ID","School","Location","Founded","Affiliation","Enrollment","Nickname","Primary_conference"],"name":"university","type":"grid"}]<|endoftext|><|prompter|>List all schools and their nicknames in the order of founded year.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"founded","direction":"ask"}]}}<|endoftext|><|prompter|>What are the different schools and their nicknames, ordered by their founding years?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"founded","direction":"ask"}]}}<|endoftext|><|prompter|>List all public schools and their locations.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"affiliation","operation":"=","value":"Public"}]}}<|endoftext|><|prompter|>What are the public schools and what are their locations?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"affiliation","operation":"=","value":"Public"}]}}<|endoftext|><|prompter|>When was the school with the largest enrollment founded?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"enrollment","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>Return the founded year for the school with the largest enrollment.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"enrollment","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>Find the founded year of the newest non public school.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"affiliation","operation":"!=","value":"Public"},{"actionType":"ChangeTopFilter","column":"founded","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>What is the founded year of the non public school that was founded most recently?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"affiliation","operation":"!=","value":"Public"},{"actionType":"ChangeTopFilter","column":"founded","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>What are the average enrollment size of the universities that are founded before 1850?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"enrollment","aggregation":"avg"},{"actionType":"ChangeCondition","column":"founded","operation":"<","value":1850}]}}<|endoftext|><|prompter|>Return the average enrollment of universities founded before 1850.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"enrollment","aggregation":"avg"},{"actionType":"ChangeCondition","column":"founded","operation":"<","value":1850}]}}<|endoftext|><|prompter|>Show the enrollment and primary_conference of the oldest college.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"founded","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>What are the enrollment and primary conference for the university which was founded the earliest?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"founded","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>Find the total student enrollment for different affiliation type schools.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"enrollment","aggregation":"sum"},{"actionType":"ChangeGrouping","column":"affiliation"}]}}<|endoftext|><|prompter|>What are the total enrollments of universities of each affiliation type?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"enrollment","aggregation":"sum"},{"actionType":"ChangeGrouping","column":"affiliation"}]}}<|endoftext|><|prompter|>Find how many different affiliation types there are.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"affiliation","aggregation":"count"}]}}<|endoftext|><|prompter|>Count the number of different affiliation types.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"affiliation","aggregation":"count"}]}}<|endoftext|><|prompter|>Find the number of universities that have over a 20000 enrollment size for each affiliation type.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"enrollment","operation":">","value":20000},{"actionType":"ChangeGrouping","column":"affiliation"}]}}<|endoftext|><|prompter|>What are the different affiliations, and how many schools with each have an enrollment size of above 20000?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"enrollment","operation":">","value":20000},{"actionType":"ChangeGrouping","column":"affiliation"}]}}<|endoftext|><|prompter|>Calculate the total number of students enrolled in colleges founded after 1850 for each affiliation type.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Enrollment","aggregation":"sum"},{"actionType":"ChangeCondition","column":"founded","operation":">","value":1850},{"actionType":"ChangeGrouping","column":"affiliation"}]}}<|endoftext|><|prompter|>What are the different affiliations, and what is the total enrollment of schools founded after 1850 for each enrollment type?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Enrollment","aggregation":"sum"},{"actionType":"ChangeCondition","column":"founded","operation":">","value":1850},{"actionType":"ChangeGrouping","column":"affiliation"}]}}<|endoftext|><|prompter|>What is the maximum enrollment across all schools?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Enrollment","aggregation":"max"}]}}<|endoftext|><|prompter|>Return the maximum enrollment across all schools.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Enrollment","aggregation":"max"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["School_ID","School","Location","Founded","Affiliation","Enrollment","Nickname","Primary_conference"],"name":"university","type":"grid"}]<|endoftext|><|prompter|>List all schools and their nicknames in the order of founded year.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"founded","direction":"ask"}]}}<|endoftext|><|prompter|>What are the different schools and their nicknames, ordered by their founding years?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"founded","direction":"ask"}]}}<|endoftext|><|prompter|>List all public schools and their locations.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"affiliation","operation":"=","value":"Public"}]}}<|endoftext|><|prompter|>What are the public schools and what are their locations?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"affiliation","operation":"=","value":"Public"}]}}<|endoftext|><|prompter|>When was the school with the largest enrollment founded?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"enrollment","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>Return the founded year for the school with the largest enrollment.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"enrollment","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>Find the founded year of the newest non public school.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"affiliation","operation":"!=","value":"Public"},{"actionType":"ChangeTopFilter","column":"founded","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>What is the founded year of the non public school that was founded most recently?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"affiliation","operation":"!=","value":"Public"},{"actionType":"ChangeTopFilter","column":"founded","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>What are the average enrollment size of the universities that are founded before 1850?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"enrollment","aggregation":"avg"},{"actionType":"ChangeCondition","column":"founded","operation":"<","value":1850}]}}<|endoftext|><|prompter|>Return the average enrollment of universities founded before 1850.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"enrollment","aggregation":"avg"},{"actionType":"ChangeCondition","column":"founded","operation":"<","value":1850}]}}<|endoftext|><|prompter|>Show the enrollment and primary_conference of the oldest college.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"founded","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>What are the enrollment and primary conference for the university which was founded the earliest?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"founded","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>Find the total student enrollment for different affiliation type schools.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"enrollment","aggregation":"sum"},{"actionType":"ChangeGrouping","column":"affiliation"}]}}<|endoftext|><|prompter|>What are the total enrollments of universities of each affiliation type?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"enrollment","aggregation":"sum"},{"actionType":"ChangeGrouping","column":"affiliation"}]}}<|endoftext|><|prompter|>Find how many different affiliation types there are.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"affiliation","aggregation":"count"}]}}<|endoftext|><|prompter|>Count the number of different affiliation types.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"affiliation","aggregation":"count"}]}}<|endoftext|><|prompter|>Find the number of universities that have over a 20000 enrollment size for each affiliation type.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"enrollment","operation":">","value":20000},{"actionType":"ChangeGrouping","column":"affiliation"}]}}<|endoftext|><|prompter|>What are the different affiliations, and how many schools with each have an enrollment size of above 20000?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"enrollment","operation":">","value":20000},{"actionType":"ChangeGrouping","column":"affiliation"}]}}<|endoftext|><|prompter|>Find the total number of students enrolled in the colleges that were founded after the year of 1850 for each affiliation type.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Enrollment","aggregation":"sum"},{"actionType":"ChangeCondition","column":"founded","operation":">","value":1850},{"actionType":"ChangeGrouping","column":"affiliation"}]}}<|endoftext|><|prompter|>List various affiliations and the total enrollment of post-1850 schools by enrollment type.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Enrollment","aggregation":"sum"},{"actionType":"ChangeCondition","column":"founded","operation":">","value":1850},{"actionType":"ChangeGrouping","column":"affiliation"}]}}<|endoftext|><|prompter|>What is the maximum enrollment across all schools?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Enrollment","aggregation":"max"}]}}<|endoftext|><|prompter|>Return the maximum enrollment across all schools.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Enrollment","aggregation":"max"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["School_ID","School","Location","Founded","Affiliation","Enrollment","Nickname","Primary_conference"],"name":"university","type":"grid"}]<|endoftext|><|prompter|>List all schools and their nicknames in the order of founded year.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"founded","direction":"ask"}]}}<|endoftext|><|prompter|>What are the different schools and their nicknames, ordered by their founding years?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"founded","direction":"ask"}]}}<|endoftext|><|prompter|>List all public schools and their locations.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"affiliation","operation":"=","value":"Public"}]}}<|endoftext|><|prompter|>What are the public schools and what are their locations?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"affiliation","operation":"=","value":"Public"}]}}<|endoftext|><|prompter|>When was the school with the largest enrollment founded?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"enrollment","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>Return the founded year for the school with the largest enrollment.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"enrollment","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>Find the founded year of the newest non public school.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"affiliation","operation":"!=","value":"Public"},{"actionType":"ChangeTopFilter","column":"founded","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>What is the founded year of the non public school that was founded most recently?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"affiliation","operation":"!=","value":"Public"},{"actionType":"ChangeTopFilter","column":"founded","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>What are the average enrollment size of the universities that are founded before 1850?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"enrollment","aggregation":"avg"},{"actionType":"ChangeCondition","column":"founded","operation":"<","value":1850}]}}<|endoftext|><|prompter|>Return the average enrollment of universities founded before 1850.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"enrollment","aggregation":"avg"},{"actionType":"ChangeCondition","column":"founded","operation":"<","value":1850}]}}<|endoftext|><|prompter|>Show the enrollment and primary_conference of the oldest college.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"founded","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>What are the enrollment and primary conference for the university which was founded the earliest?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"founded","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>Find the total student enrollment for different affiliation type schools.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"enrollment","aggregation":"sum"},{"actionType":"ChangeGrouping","column":"affiliation"}]}}<|endoftext|><|prompter|>What are the total enrollments of universities of each affiliation type?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"enrollment","aggregation":"sum"},{"actionType":"ChangeGrouping","column":"affiliation"}]}}<|endoftext|><|prompter|>Find how many different affiliation types there are.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"affiliation","aggregation":"count"}]}}<|endoftext|><|prompter|>Count the number of different affiliation types.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"affiliation","aggregation":"count"}]}}<|endoftext|><|prompter|>Find the number of universities that have over a 20000 enrollment size for each affiliation type.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"enrollment","operation":">","value":20000},{"actionType":"ChangeGrouping","column":"affiliation"}]}}<|endoftext|><|prompter|>What are the different affiliations, and how many schools with each have an enrollment size of above 20000?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"enrollment","operation":">","value":20000},{"actionType":"ChangeGrouping","column":"affiliation"}]}}<|endoftext|><|prompter|>Find the total number of students enrolled in the colleges that were founded after the year of 1850 for each affiliation type.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Enrollment","aggregation":"sum"},{"actionType":"ChangeCondition","column":"founded","operation":">","value":1850},{"actionType":"ChangeGrouping","column":"affiliation"}]}}<|endoftext|><|prompter|>What are the different affiliations, and what is the total enrollment of schools founded after 1850 for each enrollment type?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Enrollment","aggregation":"sum"},{"actionType":"ChangeCondition","column":"founded","operation":">","value":1850},{"actionType":"ChangeGrouping","column":"affiliation"}]}}<|endoftext|><|prompter|>What is the maximum enrollment across all schools?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Enrollment","aggregation":"max"}]}}<|endoftext|><|prompter|>Return the maximum enrollment across all schools.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Enrollment","aggregation":"max"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["School_ID","School","Location","Founded","Affiliation","Enrollment","Nickname","Primary_conference"],"name":"university","type":"grid"}]<|endoftext|><|prompter|>List all schools and their nicknames in the order of founded year.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"founded","direction":"ask"}]}}<|endoftext|><|prompter|>What are the different schools and their nicknames, ordered by their founding years?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"founded","direction":"ask"}]}}<|endoftext|><|prompter|>List all public schools and their locations.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"affiliation","operation":"=","value":"Public"}]}}<|endoftext|><|prompter|>What are the public schools and what are their locations?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"affiliation","operation":"=","value":"Public"}]}}<|endoftext|><|prompter|>When was the school with the largest enrollment founded?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"enrollment","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>Return the founded year for the school with the largest enrollment.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"enrollment","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>Find the founded year of the newest non public school.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"affiliation","operation":"!=","value":"Public"},{"actionType":"ChangeTopFilter","column":"founded","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>What is the founded year of the non public school that was founded most recently?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"affiliation","operation":"!=","value":"Public"},{"actionType":"ChangeTopFilter","column":"founded","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>What are the average enrollment size of the universities that are founded before 1850?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"enrollment","aggregation":"avg"},{"actionType":"ChangeCondition","column":"founded","operation":"<","value":1850}]}}<|endoftext|><|prompter|>Return the average enrollment of universities founded before 1850.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"enrollment","aggregation":"avg"},{"actionType":"ChangeCondition","column":"founded","operation":"<","value":1850}]}}<|endoftext|><|prompter|>Show the enrollment and primary_conference of the oldest college.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"founded","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>What are the enrollment and primary conference for the university which was founded the earliest?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"founded","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>Find the total student enrollment for different affiliation type schools.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"enrollment","aggregation":"sum"},{"actionType":"ChangeGrouping","column":"affiliation"}]}}<|endoftext|><|prompter|>What are the total enrollments of universities of each affiliation type?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"enrollment","aggregation":"sum"},{"actionType":"ChangeGrouping","column":"affiliation"}]}}<|endoftext|><|prompter|>Find how many different affiliation types there are.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"affiliation","aggregation":"count"}]}}<|endoftext|><|prompter|>Count the number of different affiliation types.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"affiliation","aggregation":"count"}]}}<|endoftext|><|prompter|>Find the number of universities that have over a 20000 enrollment size for each affiliation type.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"enrollment","operation":">","value":20000},{"actionType":"ChangeGrouping","column":"affiliation"}]}}<|endoftext|><|prompter|>What are the different affiliations, and how many schools with each have an enrollment size of above 20000?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"enrollment","operation":">","value":20000},{"actionType":"ChangeGrouping","column":"affiliation"}]}}<|endoftext|><|prompter|>Find the total number of students enrolled in the colleges that were founded after the year of 1850 for each affiliation type.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Enrollment","aggregation":"sum"},{"actionType":"ChangeCondition","column":"founded","operation":">","value":1850},{"actionType":"ChangeGrouping","column":"affiliation"}]}}<|endoftext|><|prompter|>What are the different affiliations, and what is the total enrollment of schools founded after 1850 for each enrollment type?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Enrollment","aggregation":"sum"},{"actionType":"ChangeCondition","column":"founded","operation":">","value":1850},{"actionType":"ChangeGrouping","column":"affiliation"}]}}<|endoftext|><|prompter|>What is the maximum enrollment across all schools?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Enrollment","aggregation":"max"}]}}<|endoftext|><|prompter|>Return the maximum enrollment across all schools.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Enrollment","aggregation":"max"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["Candidate_ID","People_ID","Poll_Source","Date","Support_rate","Consider_rate","Oppose_rate","Unsure_rate"],"name":"candidate","type":"grid"}]<|endoftext|><|prompter|>I want to know the lowest oppose rate among the candidates.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"oppose_rate","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>Which candidate got this lowest oppose rate?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"oppose_rate","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>Hmm, which poll source did this candidate belong to?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"oppose_rate","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>Thanks!<|endoftext|><|assistant|>{"text":"Thank you, good bye. ","dsl":{}}<|endoftext|>
COSQL
<|context|>[{"columns":["Shop_ID","Address","Num_of_staff","Score","Open_Year"],"name":"shop","type":"grid"}]<|endoftext|><|prompter|>Yes<|endoftext|><|assistant|>{"text":"How many shops have a score of above 37?","dsl":{}}<|endoftext|><|prompter|>How many shops have a score of above 37?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"score","operation":">","value":37}]}}<|endoftext|><|prompter|>Which shop has the lowest number of staff?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"num_of_staff","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>What is the average number of workers for all the shops?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"num_of_staff","aggregation":"avg"}]}}<|endoftext|><|prompter|>Thank you!<|endoftext|><|assistant|>{"text":"You are welcome.","dsl":{}}<|endoftext|>
COSQL
<|context|>[{"columns":["Code","Name","Headquarter","Founder","Revenue"],"name":"manufacturers","type":"grid"}]<|endoftext|><|prompter|>Hello! Can you please provide me with the name of the founder for Sony?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"name","operation":"=","value":"Sony"}]}}<|endoftext|><|prompter|>Thanks! What city is the headquarters of Sony located in?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"name","operation":"=","value":"Sony"}]}}<|endoftext|><|prompter|>Are there any other companies with a headquarters in Tokyo?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Headquarter","operation":"=","value":"Tokyo"}]}}<|endoftext|><|prompter|>What was Sony's revenue?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"name","operation":"=","value":"Sony"}]}}<|endoftext|><|prompter|>Thanks!<|endoftext|><|assistant|>{"text":"Sure! My pleasure","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|>Find the average age of losers and winners of all matches.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"loser_age","aggregation":"avg"},{"actionType":"ChangeAggregations","column":"winner_age","aggregation":"avg"}]}}<|endoftext|><|prompter|>What are the average ages of losers and winners across matches?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"loser_age","aggregation":"avg"},{"actionType":"ChangeAggregations","column":"winner_age","aggregation":"avg"}]}}<|endoftext|><|prompter|>Find the average rank of winners in all matches.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"winner_rank","aggregation":"avg"}]}}<|endoftext|><|prompter|>What is the average rank for winners in all matches?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"winner_rank","aggregation":"avg"}]}}<|endoftext|><|prompter|>Find the highest rank of losers in all matches.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"loser_rank","aggregation":"min"}]}}<|endoftext|><|prompter|>What is the best rank of losers across all matches?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"loser_rank","aggregation":"min"}]}}<|endoftext|><|prompter|>Find the number of distinct name of losers.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"loser_name","aggregation":"count"}]}}<|endoftext|><|prompter|>How many different loser names are there?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"loser_name","aggregation":"count"}]}}<|endoftext|><|prompter|>Find the name of the winner who has the highest rank points and participated in the Australian Open tourney.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"tourney_name","operation":"=","value":"Australian Open"},{"actionType":"ChangeTopFilter","column":"winner_rank_points","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>What is the name of the winner with the most rank points who participated in the Australian Open tournament?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"tourney_name","operation":"=","value":"Australian Open"},{"actionType":"ChangeTopFilter","column":"winner_rank_points","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>find the names of loser and winner who played in the match with greatest number of minutes.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"minutes","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>What are the names of the winner and loser who played in the longest match?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"minutes","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>Determine the number of matches that occurred each year.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"YEAR"}]}}<|endoftext|><|prompter|>How many matches were played in each year?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"YEAR"}]}}<|endoftext|><|prompter|>Find the name and rank of the 3 youngest winners across all matches.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"winner_age","limit":3,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>What are the names and ranks of the three youngest winners across all matches?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"winner_age","limit":3,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>How many different winners both participated in the WTA Championships and were left handed?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"winner_name","aggregation":"count"},{"actionType":"ChangeCondition","column":"tourney_name","operation":"=","value":"WTA Championships"},{"actionType":"ChangeCondition","column":"winner_hand","operation":"=","value":"L"}]}}<|endoftext|><|prompter|>Find the number of left handed winners who participated in the WTA Championships.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"winner_name","aggregation":"count"},{"actionType":"ChangeCondition","column":"tourney_name","operation":"=","value":"WTA Championships"},{"actionType":"ChangeCondition","column":"winner_hand","operation":"=","value":"L"}]}}<|endoftext|>
SPIDER
<|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|>Find the average age of losers and winners of all matches.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"loser_age","aggregation":"avg"},{"actionType":"ChangeAggregations","column":"winner_age","aggregation":"avg"}]}}<|endoftext|><|prompter|>What are the average ages of losers and winners across matches?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"loser_age","aggregation":"avg"},{"actionType":"ChangeAggregations","column":"winner_age","aggregation":"avg"}]}}<|endoftext|><|prompter|>Find the average rank of winners in all matches.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"winner_rank","aggregation":"avg"}]}}<|endoftext|><|prompter|>What is the average rank for winners in all matches?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"winner_rank","aggregation":"avg"}]}}<|endoftext|><|prompter|>Find the highest rank of losers in all matches.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"loser_rank","aggregation":"min"}]}}<|endoftext|><|prompter|>What is the best rank of losers across all matches?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"loser_rank","aggregation":"min"}]}}<|endoftext|><|prompter|>Find the number of distinct name of losers.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"loser_name","aggregation":"count"}]}}<|endoftext|><|prompter|>How many different loser names are there?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"loser_name","aggregation":"count"}]}}<|endoftext|><|prompter|>Find the name of the winner who has the highest rank points and participated in the Australian Open tourney.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"tourney_name","operation":"=","value":"Australian Open"},{"actionType":"ChangeTopFilter","column":"winner_rank_points","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>What is the name of the winner with the most rank points who participated in the Australian Open tournament?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"tourney_name","operation":"=","value":"Australian Open"},{"actionType":"ChangeTopFilter","column":"winner_rank_points","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>find the names of loser and winner who played in the match with greatest number of minutes.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"minutes","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>What are the names of the winner and loser who played in the longest match?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"minutes","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>Display the number of matches that occurred each year.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"YEAR"}]}}<|endoftext|><|prompter|>How many matches were played in each year?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"YEAR"}]}}<|endoftext|><|prompter|>Find the name and rank of the 3 youngest winners across all matches.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"winner_age","limit":3,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>What are the names and ranks of the three youngest winners across all matches?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"winner_age","limit":3,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>How many different winners both participated in the WTA Championships and were left handed?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"winner_name","aggregation":"count"},{"actionType":"ChangeCondition","column":"tourney_name","operation":"=","value":"WTA Championships"},{"actionType":"ChangeCondition","column":"winner_hand","operation":"=","value":"L"}]}}<|endoftext|><|prompter|>Find the number of left handed winners who participated in the WTA Championships.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"winner_name","aggregation":"count"},{"actionType":"ChangeCondition","column":"tourney_name","operation":"=","value":"WTA Championships"},{"actionType":"ChangeCondition","column":"winner_hand","operation":"=","value":"L"}]}}<|endoftext|>
SPIDER
<|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|>Find the average age of losers and winners of all matches.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"loser_age","aggregation":"avg"},{"actionType":"ChangeAggregations","column":"winner_age","aggregation":"avg"}]}}<|endoftext|><|prompter|>What are the average ages of losers and winners across matches?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"loser_age","aggregation":"avg"},{"actionType":"ChangeAggregations","column":"winner_age","aggregation":"avg"}]}}<|endoftext|><|prompter|>Find the average rank of winners in all matches.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"winner_rank","aggregation":"avg"}]}}<|endoftext|><|prompter|>What is the average rank for winners in all matches?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"winner_rank","aggregation":"avg"}]}}<|endoftext|><|prompter|>Find the highest rank of losers in all matches.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"loser_rank","aggregation":"min"}]}}<|endoftext|><|prompter|>What is the best rank of losers across all matches?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"loser_rank","aggregation":"min"}]}}<|endoftext|><|prompter|>Find the number of distinct name of losers.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"loser_name","aggregation":"count"}]}}<|endoftext|><|prompter|>How many different loser names are there?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"loser_name","aggregation":"count"}]}}<|endoftext|><|prompter|>Find the name of the winner who has the highest rank points and participated in the Australian Open tourney.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"tourney_name","operation":"=","value":"Australian Open"},{"actionType":"ChangeTopFilter","column":"winner_rank_points","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>What is the name of the winner with the most rank points who participated in the Australian Open tournament?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"tourney_name","operation":"=","value":"Australian Open"},{"actionType":"ChangeTopFilter","column":"winner_rank_points","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>find the names of loser and winner who played in the match with greatest number of minutes.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"minutes","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>What are the names of the winner and loser who played in the longest match?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"minutes","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>Find the number of matches happened in each year.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"YEAR"}]}}<|endoftext|><|prompter|>How many matches occurred in each year?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"YEAR"}]}}<|endoftext|><|prompter|>Find the name and rank of the 3 youngest winners across all matches.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"winner_age","limit":3,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>What are the names and ranks of the three youngest winners across all matches?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"winner_age","limit":3,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>How many different winners both participated in the WTA Championships and were left handed?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"winner_name","aggregation":"count"},{"actionType":"ChangeCondition","column":"tourney_name","operation":"=","value":"WTA Championships"},{"actionType":"ChangeCondition","column":"winner_hand","operation":"=","value":"L"}]}}<|endoftext|><|prompter|>Find the number of left handed winners who participated in the WTA Championships.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"winner_name","aggregation":"count"},{"actionType":"ChangeCondition","column":"tourney_name","operation":"=","value":"WTA Championships"},{"actionType":"ChangeCondition","column":"winner_hand","operation":"=","value":"L"}]}}<|endoftext|>
SPIDER
<|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|>Find the average age of losers and winners of all matches.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"loser_age","aggregation":"avg"},{"actionType":"ChangeAggregations","column":"winner_age","aggregation":"avg"}]}}<|endoftext|><|prompter|>What are the average ages of losers and winners across matches?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"loser_age","aggregation":"avg"},{"actionType":"ChangeAggregations","column":"winner_age","aggregation":"avg"}]}}<|endoftext|><|prompter|>Find the average rank of winners in all matches.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"winner_rank","aggregation":"avg"}]}}<|endoftext|><|prompter|>What is the average rank for winners in all matches?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"winner_rank","aggregation":"avg"}]}}<|endoftext|><|prompter|>Find the highest rank of losers in all matches.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"loser_rank","aggregation":"min"}]}}<|endoftext|><|prompter|>What is the best rank of losers across all matches?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"loser_rank","aggregation":"min"}]}}<|endoftext|><|prompter|>Find the number of distinct name of losers.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"loser_name","aggregation":"count"}]}}<|endoftext|><|prompter|>How many different loser names are there?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"loser_name","aggregation":"count"}]}}<|endoftext|><|prompter|>Find the name of the winner who has the highest rank points and participated in the Australian Open tourney.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"tourney_name","operation":"=","value":"Australian Open"},{"actionType":"ChangeTopFilter","column":"winner_rank_points","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>What is the name of the winner with the most rank points who participated in the Australian Open tournament?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"tourney_name","operation":"=","value":"Australian Open"},{"actionType":"ChangeTopFilter","column":"winner_rank_points","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>find the names of loser and winner who played in the match with greatest number of minutes.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"minutes","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>What are the names of the winner and loser who played in the longest match?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"minutes","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>Find the number of matches happened in each year.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"YEAR"}]}}<|endoftext|><|prompter|>Show the number of products with each type code.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"YEAR"}]}}<|endoftext|><|prompter|>Find the name and rank of the 3 youngest winners across all matches.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"winner_age","limit":3,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>What are the names and ranks of the three youngest winners across all matches?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"winner_age","limit":3,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>How many different winners both participated in the WTA Championships and were left handed?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"winner_name","aggregation":"count"},{"actionType":"ChangeCondition","column":"tourney_name","operation":"=","value":"WTA Championships"},{"actionType":"ChangeCondition","column":"winner_hand","operation":"=","value":"L"}]}}<|endoftext|><|prompter|>Find the number of left handed winners who participated in the WTA Championships.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"winner_name","aggregation":"count"},{"actionType":"ChangeCondition","column":"tourney_name","operation":"=","value":"WTA Championships"},{"actionType":"ChangeCondition","column":"winner_hand","operation":"=","value":"L"}]}}<|endoftext|>
SPIDER
<|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|>Find the average age of losers and winners of all matches.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"loser_age","aggregation":"avg"},{"actionType":"ChangeAggregations","column":"winner_age","aggregation":"avg"}]}}<|endoftext|><|prompter|>What are the average ages of losers and winners across matches?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"loser_age","aggregation":"avg"},{"actionType":"ChangeAggregations","column":"winner_age","aggregation":"avg"}]}}<|endoftext|><|prompter|>Find the average rank of winners in all matches.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"winner_rank","aggregation":"avg"}]}}<|endoftext|><|prompter|>What is the average rank for winners in all matches?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"winner_rank","aggregation":"avg"}]}}<|endoftext|><|prompter|>Find the highest rank of losers in all matches.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"loser_rank","aggregation":"min"}]}}<|endoftext|><|prompter|>What is the best rank of losers across all matches?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"loser_rank","aggregation":"min"}]}}<|endoftext|><|prompter|>Find the number of distinct name of losers.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"loser_name","aggregation":"count"}]}}<|endoftext|><|prompter|>How many different loser names are there?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"loser_name","aggregation":"count"}]}}<|endoftext|><|prompter|>Find the name of the winner who has the highest rank points and participated in the Australian Open tourney.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"tourney_name","operation":"=","value":"Australian Open"},{"actionType":"ChangeTopFilter","column":"winner_rank_points","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>What is the name of the winner with the most rank points who participated in the Australian Open tournament?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"tourney_name","operation":"=","value":"Australian Open"},{"actionType":"ChangeTopFilter","column":"winner_rank_points","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>find the names of loser and winner who played in the match with greatest number of minutes.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"minutes","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>What are the names of the winner and loser who played in the longest match?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"minutes","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>Find the number of matches happened in each year.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"YEAR"}]}}<|endoftext|><|prompter|>How many matches were played in each year?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"YEAR"}]}}<|endoftext|><|prompter|>Find the name and rank of the 3 youngest winners across all matches.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"winner_age","limit":3,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>What are the names and ranks of the three youngest winners across all matches?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"winner_age","limit":3,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>How many different winners both participated in the WTA Championships and were left handed?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"winner_name","aggregation":"count"},{"actionType":"ChangeCondition","column":"tourney_name","operation":"=","value":"WTA Championships"},{"actionType":"ChangeCondition","column":"winner_hand","operation":"=","value":"L"}]}}<|endoftext|><|prompter|>Find the number of left handed winners who participated in the WTA Championships.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"winner_name","aggregation":"count"},{"actionType":"ChangeCondition","column":"tourney_name","operation":"=","value":"WTA Championships"},{"actionType":"ChangeCondition","column":"winner_hand","operation":"=","value":"L"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["CountryCode","Language","IsOfficial","Percentage"],"name":"countrylanguage","type":"grid"}]<|endoftext|><|prompter|>how many population in the country table<|endoftext|><|assistant|>{"text":"Do you mean the total population in the country table ?","dsl":{}}<|endoftext|><|prompter|>how many country code in the city table<|endoftext|><|assistant|>{"text":"Do you want to know the distinct country code?","dsl":{}}<|endoftext|><|prompter|>how many language in the countrylanguage table<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Language","aggregation":"count"}]}}<|endoftext|><|prompter|>what the highest percentage in the countrylanguage table<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Percentage","aggregation":"max"}]}}<|endoftext|><|prompter|>thanks<|endoftext|><|assistant|>{"text":"Welcome and goodbye","dsl":{}}<|endoftext|>
COSQL
<|context|>[{"columns":["branch_ID","bname","no_of_customers","city","state"],"name":"bank","type":"grid"}]<|endoftext|><|prompter|>hello. Can you tell me the number of states in which there are customers?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"state","aggregation":"count"},{"actionType":"ChangeCondition","column":"no_of_customers","operation":">","value":0}]}}<|endoftext|><|prompter|>and what states are they, please?<|endoftext|><|assistant|>{"text":"Do you mean the states of all the branches?","dsl":{}}<|endoftext|><|prompter|>what are the four states in which there are customers ?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"no_of_customers","operation":">","value":0}]}}<|endoftext|><|prompter|>and which of those states has the most number of customers?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"state"},{"actionType":"ChangeTopFilter","column":"no_of_customers","limit":1,"aggregation":"sum","direction":"desk"}]}}<|endoftext|><|prompter|>Thanks!<|endoftext|><|assistant|>{"text":"You are welcome.","dsl":{}}<|endoftext|>
COSQL
<|context|>[{"columns":["Book_ID","Title","Issues","Writer"],"name":"book","type":"grid"}]<|endoftext|><|prompter|>List the writers of the books in ascending alphabetical order.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"Writer","direction":"ask"}]}}<|endoftext|><|prompter|>List the titles of the books in ascending order of issues.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"Issues","direction":"ask"}]}}<|endoftext|><|prompter|>What are the titles of the books whose writer is not "Elaine Lee"?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Writer","operation":"!=","value":"'Elaine Lee'"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["cust_ID","cust_name","acc_type","acc_bal","no_of_loans","credit_score","branch_ID","state"],"name":"customer","type":"grid"}]<|endoftext|><|prompter|>can you show me average of credit scores?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"credit_score","aggregation":"AVG"}]}}<|endoftext|><|prompter|>what is the highest credit score?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"credit_score","aggregation":"MAX"}]}}<|endoftext|><|prompter|>what is the highest account balance?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"acc_bal","aggregation":"MAX"}]}}<|endoftext|><|prompter|>thanks!<|endoftext|><|assistant|>{"text":"You are welcome. Good bye!","dsl":{}}<|endoftext|>
COSQL
<|context|>[{"columns":["city_name","population","country_name","state_name"],"name":"city","type":"grid"}]<|endoftext|><|prompter|>give me the cities in texas<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"state_name","operation":"=","value":"'texas'"}]}}<|endoftext|><|prompter|>tell me what cities are in texas<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"state_name","operation":"=","value":"'texas'"}]}}<|endoftext|><|prompter|>what cities are located in texas<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"state_name","operation":"=","value":"'texas'"}]}}<|endoftext|><|prompter|>what are the cities in texas<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"state_name","operation":"=","value":"'texas'"}]}}<|endoftext|><|prompter|>what cities in texas<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"state_name","operation":"=","value":"'texas'"}]}}<|endoftext|><|prompter|>give me the cities which are in texas<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"state_name","operation":"=","value":"'texas'"}]}}<|endoftext|><|prompter|>what state is springfield in<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"city_name","operation":"=","value":"'springfield'"}]}}<|endoftext|><|prompter|>where is springfield<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"city_name","operation":"=","value":"'springfield'"}]}}<|endoftext|><|prompter|>springfield is in what state<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"city_name","operation":"=","value":"'springfield'"}]}}<|endoftext|><|prompter|>what states have cities named springfield<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"city_name","operation":"=","value":"'springfield'"}]}}<|endoftext|><|prompter|>which states have cities named springfield<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"city_name","operation":"=","value":"'springfield'"}]}}<|endoftext|><|prompter|>which state is springfield in<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"city_name","operation":"=","value":"'springfield'"}]}}<|endoftext|><|prompter|>what states have a city named springfield<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"city_name","operation":"=","value":"'springfield'"}]}}<|endoftext|><|prompter|>what state has the city springfield<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"city_name","operation":"=","value":"'springfield'"}]}}<|endoftext|><|prompter|>what states have towns named springfield<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"city_name","operation":"=","value":"'springfield'"}]}}<|endoftext|><|prompter|>what state is springfield located in<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"city_name","operation":"=","value":"'springfield'"}]}}<|endoftext|><|prompter|>in which state is springfield<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"city_name","operation":"=","value":"'springfield'"}]}}<|endoftext|><|prompter|>which state is the city springfield located in<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"city_name","operation":"=","value":"'springfield'"}]}}<|endoftext|><|prompter|>what states in the united states have a city of springfield<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"city_name","operation":"=","value":"'springfield'"}]}}<|endoftext|><|prompter|>how many people live in boulder<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"city_name","operation":"=","value":"'boulder'"}]}}<|endoftext|><|prompter|>what is the population of boulder<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"city_name","operation":"=","value":"'boulder'"}]}}<|endoftext|><|prompter|>how many people lived in boulder<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"city_name","operation":"=","value":"'boulder'"}]}}<|endoftext|><|prompter|>number of people in boulder<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"city_name","operation":"=","value":"'boulder'"}]}}<|endoftext|><|prompter|>what is the population of boulder city<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"city_name","operation":"=","value":"'boulder'"}]}}<|endoftext|><|prompter|>how big is the city of boulder<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"city_name","operation":"=","value":"'boulder'"}]}}<|endoftext|><|prompter|>population of boulder<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"city_name","operation":"=","value":"'boulder'"}]}}<|endoftext|><|prompter|>what is the population in boulder<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"city_name","operation":"=","value":"'boulder'"}]}}<|endoftext|><|prompter|>people in boulder<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"city_name","operation":"=","value":"'boulder'"}]}}<|endoftext|><|prompter|>how many people in boulder<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"city_name","operation":"=","value":"'boulder'"}]}}<|endoftext|><|prompter|>how many inhabitants does boulder have<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"city_name","operation":"=","value":"'boulder'"}]}}<|endoftext|><|prompter|>number of citizens in boulder<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"city_name","operation":"=","value":"'boulder'"}]}}<|endoftext|><|prompter|>how many citizens in boulder<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"city_name","operation":"=","value":"'boulder'"}]}}<|endoftext|><|prompter|>how many cities are there in the united states<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"city_name","aggregation":"COUNT"}]}}<|endoftext|><|prompter|>how many cities does the usa have<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"city_name","aggregation":"COUNT"}]}}<|endoftext|><|prompter|>how many cities are there in the us<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"city_name","aggregation":"COUNT"}]}}<|endoftext|><|prompter|>how many cities are there in usa<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"city_name","aggregation":"COUNT"}]}}<|endoftext|><|prompter|>how many cities are there in us<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"city_name","aggregation":"COUNT"}]}}<|endoftext|><|prompter|>how many major cities are there<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"city_name","aggregation":"COUNT"},{"actionType":"ChangeCondition","column":"population","operation":">","value":150000}]}}<|endoftext|><|prompter|>what is the population of seattle washington<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"city_name","operation":"=","value":"'seattle'"},{"actionType":"ChangeCondition","column":"state_name","operation":"=","value":"'washington'"}]}}<|endoftext|><|prompter|>how many people live in seattle washington<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"city_name","operation":"=","value":"'seattle'"},{"actionType":"ChangeCondition","column":"state_name","operation":"=","value":"'washington'"}]}}<|endoftext|><|prompter|>what are the major cities in kansas<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"population","operation":">","value":150000},{"actionType":"ChangeCondition","column":"state_name","operation":"=","value":"'kansas'"}]}}<|endoftext|><|prompter|>what are the major cities in the state of kansas<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"population","operation":">","value":150000},{"actionType":"ChangeCondition","column":"state_name","operation":"=","value":"'kansas'"}]}}<|endoftext|><|prompter|>what major cities are located in kansas<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"population","operation":">","value":150000},{"actionType":"ChangeCondition","column":"state_name","operation":"=","value":"'kansas'"}]}}<|endoftext|><|prompter|>show major cities in kansas<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"population","operation":">","value":150000},{"actionType":"ChangeCondition","column":"state_name","operation":"=","value":"'kansas'"}]}}<|endoftext|><|prompter|>what are the names of the major cities in kansas<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"population","operation":">","value":150000},{"actionType":"ChangeCondition","column":"state_name","operation":"=","value":"'kansas'"}]}}<|endoftext|><|prompter|>what are the major cities of kansas<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"population","operation":">","value":150000},{"actionType":"ChangeCondition","column":"state_name","operation":"=","value":"'kansas'"}]}}<|endoftext|><|prompter|>what is the major cities in kansas<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"population","operation":">","value":150000},{"actionType":"ChangeCondition","column":"state_name","operation":"=","value":"'kansas'"}]}}<|endoftext|><|prompter|>what are the major cities in the usa<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"population","operation":">","value":150000}]}}<|endoftext|><|prompter|>what are the major cities of the united states<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"population","operation":">","value":150000}]}}<|endoftext|><|prompter|>what are the major cities of the us<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"population","operation":">","value":150000}]}}<|endoftext|><|prompter|>what are the populations of the major cities of wisconsin<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"population","operation":">","value":150000},{"actionType":"ChangeCondition","column":"state_name","operation":"=","value":"'wisconsin'"}]}}<|endoftext|><|prompter|>what are the populations of all the major cities in wisconsin<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"population","operation":">","value":150000},{"actionType":"ChangeCondition","column":"state_name","operation":"=","value":"'wisconsin'"}]}}<|endoftext|><|prompter|>what is the population of the major cities in wisconsin<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"population","operation":">","value":150000},{"actionType":"ChangeCondition","column":"state_name","operation":"=","value":"'wisconsin'"}]}}<|endoftext|><|prompter|>what state has the smallest urban population<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"state_name"},{"actionType":"ChangeTopFilter","column":"population","limit":1,"aggregation":"SUM","direction":"ask"}]}}<|endoftext|><|prompter|>which state has the smallest average urban population<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"state_name"},{"actionType":"ChangeTopFilter","column":"population","limit":1,"aggregation":"AVG","direction":"ask"}]}}<|endoftext|><|prompter|>which states have a major city named austin<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"city_name","operation":"=","value":"'austin'"},{"actionType":"ChangeCondition","column":"population","operation":">","value":150000}]}}<|endoftext|><|prompter|>how many states have a city named springfield<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"state_name","aggregation":"COUNT"},{"actionType":"ChangeCondition","column":"city_name","operation":"=","value":"'springfield'"}]}}<|endoftext|><|prompter|>how many states have a city called springfield<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"state_name","aggregation":"COUNT"},{"actionType":"ChangeCondition","column":"city_name","operation":"=","value":"'springfield'"}]}}<|endoftext|><|prompter|>how many states have cities named springfield<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"state_name","aggregation":"COUNT"},{"actionType":"ChangeCondition","column":"city_name","operation":"=","value":"'springfield'"}]}}<|endoftext|><|prompter|>how many states have cities or towns named springfield<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"state_name","aggregation":"COUNT"},{"actionType":"ChangeCondition","column":"city_name","operation":"=","value":"'springfield'"}]}}<|endoftext|><|prompter|>how many major cities are in texas<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"city_name","aggregation":"COUNT"},{"actionType":"ChangeCondition","column":"population","operation":">","value":150000},{"actionType":"ChangeCondition","column":"state_name","operation":"=","value":"'texas'"}]}}<|endoftext|><|prompter|>how many big cities are in texas<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"city_name","aggregation":"COUNT"},{"actionType":"ChangeCondition","column":"population","operation":">","value":150000},{"actionType":"ChangeCondition","column":"state_name","operation":"=","value":"'texas'"}]}}<|endoftext|><|prompter|>how many major cities are there in texas<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"city_name","aggregation":"COUNT"},{"actionType":"ChangeCondition","column":"population","operation":">","value":150000},{"actionType":"ChangeCondition","column":"state_name","operation":"=","value":"'texas'"}]}}<|endoftext|><|prompter|>how many cities are in texas<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"city_name","aggregation":"COUNT"},{"actionType":"ChangeCondition","column":"state_name","operation":"=","value":"'texas'"}]}}<|endoftext|><|prompter|>how many cities does texas have<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"city_name","aggregation":"COUNT"},{"actionType":"ChangeCondition","column":"state_name","operation":"=","value":"'texas'"}]}}<|endoftext|><|prompter|>what state has the largest urban population<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"state_name"},{"actionType":"ChangeTopFilter","column":"population","limit":1,"aggregation":"SUM","direction":"desk"}]}}<|endoftext|><|prompter|>how many cities named austin are there in the usa<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"city_name","aggregation":"COUNT"},{"actionType":"ChangeCondition","column":"city_name","operation":"=","value":"'austin'"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["City_ID","City","Hanzi","Hanyu_Pinyin","Regional_Population","GDP"],"name":"city","type":"grid"}]<|endoftext|><|prompter|>Hi there! Can you tell me which three cities have the highest regional populations, and list the population totals too?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"regional_population","limit":3,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>Great! Which of these have the highest GDP?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"regional_population","limit":3,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>Great! And what is the average GDP among all of the cities?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"GDP","aggregation":"avg"}]}}<|endoftext|><|prompter|>Thanks!<|endoftext|><|assistant|>{"text":"Thank you! Goodbye.","dsl":{}}<|endoftext|>
COSQL
<|context|>[{"columns":["river_name","length","country_name","traverse"],"name":"river","type":"grid"}]<|endoftext|><|prompter|>which states do ohio river flow through<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"river_name","operation":"=","value":"'ohio'"}]}}<|endoftext|><|prompter|>what states does the ohio river run through<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"river_name","operation":"=","value":"'ohio'"}]}}<|endoftext|><|prompter|>what states border the ohio river<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"river_name","operation":"=","value":"'ohio'"}]}}<|endoftext|><|prompter|>which states border the ohio river<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"river_name","operation":"=","value":"'ohio'"}]}}<|endoftext|><|prompter|>what states does the ohio run through<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"river_name","operation":"=","value":"'ohio'"}]}}<|endoftext|><|prompter|>where is the ohio river<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"river_name","operation":"=","value":"'ohio'"}]}}<|endoftext|><|prompter|>which states does the ohio river run through<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"river_name","operation":"=","value":"'ohio'"}]}}<|endoftext|><|prompter|>which states does the ohio run through<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"river_name","operation":"=","value":"'ohio'"}]}}<|endoftext|><|prompter|>which states does the ohio river pass through<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"river_name","operation":"=","value":"'ohio'"}]}}<|endoftext|><|prompter|>what are the states that the ohio run through<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"river_name","operation":"=","value":"'ohio'"}]}}<|endoftext|><|prompter|>which state has the ohio river<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"river_name","operation":"=","value":"'ohio'"}]}}<|endoftext|><|prompter|>what states have rivers named ohio<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"river_name","operation":"=","value":"'ohio'"}]}}<|endoftext|><|prompter|>through which states does the ohio flow<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"river_name","operation":"=","value":"'ohio'"}]}}<|endoftext|><|prompter|>what states are next to the ohio<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"river_name","operation":"=","value":"'ohio'"}]}}<|endoftext|><|prompter|>through which states does the ohio run<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"river_name","operation":"=","value":"'ohio'"}]}}<|endoftext|><|prompter|>what states does the ohio river go through<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"river_name","operation":"=","value":"'ohio'"}]}}<|endoftext|><|prompter|>how many rivers are in idaho<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"river_name","aggregation":"COUNT"},{"actionType":"ChangeCondition","column":"traverse","operation":"=","value":"'idaho'"}]}}<|endoftext|><|prompter|>give me the number of rivers in idaho<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"river_name","aggregation":"COUNT"},{"actionType":"ChangeCondition","column":"traverse","operation":"=","value":"'idaho'"}]}}<|endoftext|><|prompter|>how many rivers does idaho have<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"river_name","aggregation":"COUNT"},{"actionType":"ChangeCondition","column":"traverse","operation":"=","value":"'idaho'"}]}}<|endoftext|><|prompter|>how many rivers are there in idaho<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"river_name","aggregation":"COUNT"},{"actionType":"ChangeCondition","column":"traverse","operation":"=","value":"'idaho'"}]}}<|endoftext|><|prompter|>how many rivers run through idaho<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"river_name","aggregation":"COUNT"},{"actionType":"ChangeCondition","column":"traverse","operation":"=","value":"'idaho'"}]}}<|endoftext|><|prompter|>how many rivers are found in idaho<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"river_name","aggregation":"COUNT"},{"actionType":"ChangeCondition","column":"traverse","operation":"=","value":"'idaho'"}]}}<|endoftext|><|prompter|>how many rivers in idaho<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"river_name","aggregation":"COUNT"},{"actionType":"ChangeCondition","column":"traverse","operation":"=","value":"'idaho'"}]}}<|endoftext|><|prompter|>name all the rivers in illinois<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"traverse","operation":"=","value":"'illinois'"}]}}<|endoftext|><|prompter|>rivers in illinois<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"traverse","operation":"=","value":"'illinois'"}]}}<|endoftext|><|prompter|>what are all the rivers in illinois<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"traverse","operation":"=","value":"'illinois'"}]}}<|endoftext|><|prompter|>what are the rivers in illinois<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"traverse","operation":"=","value":"'illinois'"}]}}<|endoftext|><|prompter|>what rivers are in illinois<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"traverse","operation":"=","value":"'illinois'"}]}}<|endoftext|><|prompter|>what rivers are there in illinois<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"traverse","operation":"=","value":"'illinois'"}]}}<|endoftext|><|prompter|>what rivers run through illinois<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"traverse","operation":"=","value":"'illinois'"}]}}<|endoftext|><|prompter|>what rivers flow through illinois<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"traverse","operation":"=","value":"'illinois'"}]}}<|endoftext|><|prompter|>what river flows through illinois<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"traverse","operation":"=","value":"'illinois'"}]}}<|endoftext|><|prompter|>what are the rivers in the state of illinois<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"traverse","operation":"=","value":"'illinois'"}]}}<|endoftext|><|prompter|>name the rivers in illinois<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"traverse","operation":"=","value":"'illinois'"}]}}<|endoftext|><|prompter|>what are the rivers of illinois<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"traverse","operation":"=","value":"'illinois'"}]}}<|endoftext|><|prompter|>which rivers are in illinois<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"traverse","operation":"=","value":"'illinois'"}]}}<|endoftext|><|prompter|>which rivers flow through illinois<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"traverse","operation":"=","value":"'illinois'"}]}}<|endoftext|><|prompter|>what is the river that cross over illinois<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"traverse","operation":"=","value":"'illinois'"}]}}<|endoftext|><|prompter|>what river runs through illinois<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"traverse","operation":"=","value":"'illinois'"}]}}<|endoftext|><|prompter|>how long is the rio grande river<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"river_name","operation":"=","value":"'rio grande'"}]}}<|endoftext|><|prompter|>what is the length of the rio grande river<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"river_name","operation":"=","value":"'rio grande'"}]}}<|endoftext|><|prompter|>what length is the rio grande<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"river_name","operation":"=","value":"'rio grande'"}]}}<|endoftext|><|prompter|>how long is the rio grande<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"river_name","operation":"=","value":"'rio grande'"}]}}<|endoftext|><|prompter|>how long is the rio grande river in miles<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"river_name","operation":"=","value":"'rio grande'"}]}}<|endoftext|><|prompter|>how long is rio grande<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"river_name","operation":"=","value":"'rio grande'"}]}}<|endoftext|><|prompter|>how many colorado rivers are there<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"river_name","aggregation":"COUNT"},{"actionType":"ChangeCondition","column":"river_name","operation":"=","value":"'colorado'"}]}}<|endoftext|><|prompter|>how many rivers are called colorado<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"river_name","aggregation":"COUNT"},{"actionType":"ChangeCondition","column":"river_name","operation":"=","value":"'colorado'"}]}}<|endoftext|><|prompter|>name the major rivers in illinois<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"LENGTH","operation":">","value":750},{"actionType":"ChangeCondition","column":"traverse","operation":"=","value":"'illinois'"}]}}<|endoftext|><|prompter|>what are the major rivers in illinois<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"LENGTH","operation":">","value":750},{"actionType":"ChangeCondition","column":"traverse","operation":"=","value":"'illinois'"}]}}<|endoftext|><|prompter|>what are major rivers in illinois<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"LENGTH","operation":">","value":750},{"actionType":"ChangeCondition","column":"traverse","operation":"=","value":"'illinois'"}]}}<|endoftext|><|prompter|>what major rivers run through illinois<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"LENGTH","operation":">","value":750},{"actionType":"ChangeCondition","column":"traverse","operation":"=","value":"'illinois'"}]}}<|endoftext|><|prompter|>what is the total length of all rivers in the usa<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"LENGTH","aggregation":"SUM"}]}}<|endoftext|><|prompter|>what states contain at least one major rivers<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"LENGTH","operation":">","value":750}]}}<|endoftext|><|prompter|>which rivers do not run through usa<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"country_name","operation":"!=","value":"'usa'"}]}}<|endoftext|><|prompter|>how many rivers are there in us<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"river_name","aggregation":"COUNT"}]}}<|endoftext|><|prompter|>how many states does the missouri run through<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"traverse","aggregation":"COUNT"},{"actionType":"ChangeCondition","column":"river_name","operation":"=","value":"'missouri'"}]}}<|endoftext|><|prompter|>how many states does the missouri river flow through<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"traverse","aggregation":"COUNT"},{"actionType":"ChangeCondition","column":"river_name","operation":"=","value":"'missouri'"}]}}<|endoftext|><|prompter|>how many states does the missouri river run through<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"traverse","aggregation":"COUNT"},{"actionType":"ChangeCondition","column":"river_name","operation":"=","value":"'missouri'"}]}}<|endoftext|><|prompter|>how many major rivers cross ohio<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"river_name","aggregation":"COUNT"},{"actionType":"ChangeCondition","column":"LENGTH","operation":">","value":750},{"actionType":"ChangeCondition","column":"traverse","operation":"=","value":"'ohio'"}]}}<|endoftext|><|prompter|>how many states are next to major rivers<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"traverse","aggregation":"COUNT"},{"actionType":"ChangeCondition","column":"LENGTH","operation":">","value":750}]}}<|endoftext|><|prompter|>how many states have major rivers<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"traverse","aggregation":"COUNT"},{"actionType":"ChangeCondition","column":"LENGTH","operation":">","value":750}]}}<|endoftext|><|prompter|>what is the length of the colorado river in texas<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"river_name","operation":"=","value":"'colorado'"},{"actionType":"ChangeCondition","column":"traverse","operation":"=","value":"'texas'"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["date","max_temperature_f","mean_temperature_f","min_temperature_f","max_dew_point_f","mean_dew_point_f","min_dew_point_f","max_humidity","mean_humidity","min_humidity","max_sea_level_pressure_inches","mean_sea_level_pressure_inches","min_sea_level_pressure_inches","max_visibility_miles","mean_visibility_miles","min_visibility_miles","max_wind_Speed_mph","mean_wind_speed_mph","max_gust_speed_mph","precipitation_inches","cloud_cover","events","wind_dir_degrees","zip_code"],"name":"weather","type":"grid"}]<|endoftext|><|prompter|>Give me the dates when the max temperature was higher than 85.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"max_temperature_f","operation":">","value":85}]}}<|endoftext|><|prompter|>What are the dates with a maximum temperature higher than 85?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"max_temperature_f","operation":">","value":85}]}}<|endoftext|><|prompter|>How many days had both mean humidity above 50 and mean visibility above 8?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"mean_humidity","operation":">","value":50},{"actionType":"ChangeCondition","column":"mean_visibility_miles","operation":">","value":8}]}}<|endoftext|><|prompter|>What is the number of days that had an average humity above 50 and an average visibility above 8?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"mean_humidity","operation":">","value":50},{"actionType":"ChangeCondition","column":"mean_visibility_miles","operation":">","value":8}]}}<|endoftext|><|prompter|>What is the zip code in which the average mean sea level pressure is the lowest?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"zip_code"},{"actionType":"ChangeTopFilter","column":"mean_sea_level_pressure_inches","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>What is the zip code that has the lowest average mean sea level pressure?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"zip_code"},{"actionType":"ChangeTopFilter","column":"mean_sea_level_pressure_inches","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>When and in what zip code did max temperature reach 80?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"max_temperature_f","operation":">=","value":80}]}}<|endoftext|><|prompter|>What zip codes have a station with a max temperature greater than or equal to 80 and when did it reach that temperature?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"max_temperature_f","operation":">=","value":80}]}}<|endoftext|><|prompter|>For every zip code, count occurrences of max wind speeds reaching 25.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"max_wind_Speed_mph","operation":">=","value":25},{"actionType":"ChangeGrouping","column":"zip_code"}]}}<|endoftext|><|prompter|>For each zip code, how many times has the maximum wind speed reached 25 mph?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"max_wind_Speed_mph","operation":">=","value":25},{"actionType":"ChangeGrouping","column":"zip_code"}]}}<|endoftext|><|prompter|>In zip code 94107, on which day neither Fog nor Rain was not observed?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"zip_code","operation":"=","value":94107},{"actionType":"ChangeCondition","column":"EVENTS","operation":"!=","value":"'Fog'"},{"actionType":"ChangeCondition","column":"EVENTS","operation":"!=","value":"'Rain'"}]}}<|endoftext|><|prompter|>On which day has it neither been foggy nor rained in the zip code of 94107?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"zip_code","operation":"=","value":94107},{"actionType":"ChangeCondition","column":"EVENTS","operation":"!=","value":"'Fog'"},{"actionType":"ChangeCondition","column":"EVENTS","operation":"!=","value":"'Rain'"}]}}<|endoftext|><|prompter|>What are the date, mean temperature and mean humidity for the top 3 days with the largest max gust speeds?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"max_gust_speed_mph","limit":3,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>What is the date, average temperature and mean humidity for the days with the 3 largest maximum gust speeds?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"max_gust_speed_mph","limit":3,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>What are the dates that had the top 5 cloud cover rates? Also tell me the cloud cover rate.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"cloud_cover","limit":5,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>What are the dates that have the 5 highest cloud cover rates and what are the rates?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"cloud_cover","limit":5,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>What are the dates in which the mean sea level pressure was between 30.3 and 31?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"mean_sea_level_pressure_inches","operation":">=","value":30.3},{"actionType":"ChangeCondition","column":"mean_sea_level_pressure_inches","operation":"<=","value":31}]}}<|endoftext|><|prompter|>What are the dates that have an average sea level pressure between 30.3 and 31?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"mean_sea_level_pressure_inches","operation":">=","value":30.3},{"actionType":"ChangeCondition","column":"mean_sea_level_pressure_inches","operation":"<=","value":31}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["date","max_temperature_f","mean_temperature_f","min_temperature_f","max_dew_point_f","mean_dew_point_f","min_dew_point_f","max_humidity","mean_humidity","min_humidity","max_sea_level_pressure_inches","mean_sea_level_pressure_inches","min_sea_level_pressure_inches","max_visibility_miles","mean_visibility_miles","min_visibility_miles","max_wind_Speed_mph","mean_wind_speed_mph","max_gust_speed_mph","precipitation_inches","cloud_cover","events","wind_dir_degrees","zip_code"],"name":"weather","type":"grid"}]<|endoftext|><|prompter|>Give me the dates when the max temperature was higher than 85.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"max_temperature_f","operation":">","value":85}]}}<|endoftext|><|prompter|>What are the dates with a maximum temperature higher than 85?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"max_temperature_f","operation":">","value":85}]}}<|endoftext|><|prompter|>How many days had both mean humidity above 50 and mean visibility above 8?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"mean_humidity","operation":">","value":50},{"actionType":"ChangeCondition","column":"mean_visibility_miles","operation":">","value":8}]}}<|endoftext|><|prompter|>What is the number of days that had an average humity above 50 and an average visibility above 8?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"mean_humidity","operation":">","value":50},{"actionType":"ChangeCondition","column":"mean_visibility_miles","operation":">","value":8}]}}<|endoftext|><|prompter|>What is the zip code in which the average mean sea level pressure is the lowest?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"zip_code"},{"actionType":"ChangeTopFilter","column":"mean_sea_level_pressure_inches","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>What is the zip code that has the lowest average mean sea level pressure?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"zip_code"},{"actionType":"ChangeTopFilter","column":"mean_sea_level_pressure_inches","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>When and in what zip code did max temperature reach 80?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"max_temperature_f","operation":">=","value":80}]}}<|endoftext|><|prompter|>What zip codes have a station with a max temperature greater than or equal to 80 and when did it reach that temperature?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"max_temperature_f","operation":">=","value":80}]}}<|endoftext|><|prompter|>Show the number of ships of each type.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"max_wind_Speed_mph","operation":">=","value":25},{"actionType":"ChangeGrouping","column":"zip_code"}]}}<|endoftext|><|prompter|>For each zip code, how many times has the maximum wind speed reached 25 mph?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"max_wind_Speed_mph","operation":">=","value":25},{"actionType":"ChangeGrouping","column":"zip_code"}]}}<|endoftext|><|prompter|>In zip code 94107, on which day neither Fog nor Rain was not observed?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"zip_code","operation":"=","value":94107},{"actionType":"ChangeCondition","column":"EVENTS","operation":"!=","value":"'Fog'"},{"actionType":"ChangeCondition","column":"EVENTS","operation":"!=","value":"'Rain'"}]}}<|endoftext|><|prompter|>On which day has it neither been foggy nor rained in the zip code of 94107?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"zip_code","operation":"=","value":94107},{"actionType":"ChangeCondition","column":"EVENTS","operation":"!=","value":"'Fog'"},{"actionType":"ChangeCondition","column":"EVENTS","operation":"!=","value":"'Rain'"}]}}<|endoftext|><|prompter|>What are the date, mean temperature and mean humidity for the top 3 days with the largest max gust speeds?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"max_gust_speed_mph","limit":3,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>What is the date, average temperature and mean humidity for the days with the 3 largest maximum gust speeds?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"max_gust_speed_mph","limit":3,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>What are the dates that had the top 5 cloud cover rates? Also tell me the cloud cover rate.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"cloud_cover","limit":5,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>What are the dates that have the 5 highest cloud cover rates and what are the rates?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"cloud_cover","limit":5,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>What are the dates in which the mean sea level pressure was between 30.3 and 31?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"mean_sea_level_pressure_inches","operation":">=","value":30.3},{"actionType":"ChangeCondition","column":"mean_sea_level_pressure_inches","operation":"<=","value":31}]}}<|endoftext|><|prompter|>What are the dates that have an average sea level pressure between 30.3 and 31?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"mean_sea_level_pressure_inches","operation":">=","value":30.3},{"actionType":"ChangeCondition","column":"mean_sea_level_pressure_inches","operation":"<=","value":31}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["date","max_temperature_f","mean_temperature_f","min_temperature_f","max_dew_point_f","mean_dew_point_f","min_dew_point_f","max_humidity","mean_humidity","min_humidity","max_sea_level_pressure_inches","mean_sea_level_pressure_inches","min_sea_level_pressure_inches","max_visibility_miles","mean_visibility_miles","min_visibility_miles","max_wind_Speed_mph","mean_wind_speed_mph","max_gust_speed_mph","precipitation_inches","cloud_cover","events","wind_dir_degrees","zip_code"],"name":"weather","type":"grid"}]<|endoftext|><|prompter|>Give me the dates when the max temperature was higher than 85.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"max_temperature_f","operation":">","value":85}]}}<|endoftext|><|prompter|>What are the dates with a maximum temperature higher than 85?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"max_temperature_f","operation":">","value":85}]}}<|endoftext|><|prompter|>How many days had both mean humidity above 50 and mean visibility above 8?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"mean_humidity","operation":">","value":50},{"actionType":"ChangeCondition","column":"mean_visibility_miles","operation":">","value":8}]}}<|endoftext|><|prompter|>What is the number of days that had an average humity above 50 and an average visibility above 8?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"mean_humidity","operation":">","value":50},{"actionType":"ChangeCondition","column":"mean_visibility_miles","operation":">","value":8}]}}<|endoftext|><|prompter|>What is the zip code in which the average mean sea level pressure is the lowest?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"zip_code"},{"actionType":"ChangeTopFilter","column":"mean_sea_level_pressure_inches","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>What is the zip code that has the lowest average mean sea level pressure?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"zip_code"},{"actionType":"ChangeTopFilter","column":"mean_sea_level_pressure_inches","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>When and in what zip code did max temperature reach 80?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"max_temperature_f","operation":">=","value":80}]}}<|endoftext|><|prompter|>What zip codes have a station with a max temperature greater than or equal to 80 and when did it reach that temperature?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"max_temperature_f","operation":">=","value":80}]}}<|endoftext|><|prompter|>For each zip code, return how many times max wind speed reached 25?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"max_wind_Speed_mph","operation":">=","value":25},{"actionType":"ChangeGrouping","column":"zip_code"}]}}<|endoftext|><|prompter|>For every zip code, determine instances where maximum wind speed reached 25 mph.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"max_wind_Speed_mph","operation":">=","value":25},{"actionType":"ChangeGrouping","column":"zip_code"}]}}<|endoftext|><|prompter|>In zip code 94107, on which day neither Fog nor Rain was not observed?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"zip_code","operation":"=","value":94107},{"actionType":"ChangeCondition","column":"EVENTS","operation":"!=","value":"'Fog'"},{"actionType":"ChangeCondition","column":"EVENTS","operation":"!=","value":"'Rain'"}]}}<|endoftext|><|prompter|>On which day has it neither been foggy nor rained in the zip code of 94107?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"zip_code","operation":"=","value":94107},{"actionType":"ChangeCondition","column":"EVENTS","operation":"!=","value":"'Fog'"},{"actionType":"ChangeCondition","column":"EVENTS","operation":"!=","value":"'Rain'"}]}}<|endoftext|><|prompter|>What are the date, mean temperature and mean humidity for the top 3 days with the largest max gust speeds?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"max_gust_speed_mph","limit":3,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>What is the date, average temperature and mean humidity for the days with the 3 largest maximum gust speeds?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"max_gust_speed_mph","limit":3,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>What are the dates that had the top 5 cloud cover rates? Also tell me the cloud cover rate.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"cloud_cover","limit":5,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>What are the dates that have the 5 highest cloud cover rates and what are the rates?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"cloud_cover","limit":5,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>What are the dates in which the mean sea level pressure was between 30.3 and 31?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"mean_sea_level_pressure_inches","operation":">=","value":30.3},{"actionType":"ChangeCondition","column":"mean_sea_level_pressure_inches","operation":"<=","value":31}]}}<|endoftext|><|prompter|>What are the dates that have an average sea level pressure between 30.3 and 31?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"mean_sea_level_pressure_inches","operation":">=","value":30.3},{"actionType":"ChangeCondition","column":"mean_sea_level_pressure_inches","operation":"<=","value":31}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["date","max_temperature_f","mean_temperature_f","min_temperature_f","max_dew_point_f","mean_dew_point_f","min_dew_point_f","max_humidity","mean_humidity","min_humidity","max_sea_level_pressure_inches","mean_sea_level_pressure_inches","min_sea_level_pressure_inches","max_visibility_miles","mean_visibility_miles","min_visibility_miles","max_wind_Speed_mph","mean_wind_speed_mph","max_gust_speed_mph","precipitation_inches","cloud_cover","events","wind_dir_degrees","zip_code"],"name":"weather","type":"grid"}]<|endoftext|><|prompter|>Give me the dates when the max temperature was higher than 85.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"max_temperature_f","operation":">","value":85}]}}<|endoftext|><|prompter|>What are the dates with a maximum temperature higher than 85?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"max_temperature_f","operation":">","value":85}]}}<|endoftext|><|prompter|>How many days had both mean humidity above 50 and mean visibility above 8?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"mean_humidity","operation":">","value":50},{"actionType":"ChangeCondition","column":"mean_visibility_miles","operation":">","value":8}]}}<|endoftext|><|prompter|>What is the number of days that had an average humity above 50 and an average visibility above 8?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"mean_humidity","operation":">","value":50},{"actionType":"ChangeCondition","column":"mean_visibility_miles","operation":">","value":8}]}}<|endoftext|><|prompter|>What is the zip code in which the average mean sea level pressure is the lowest?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"zip_code"},{"actionType":"ChangeTopFilter","column":"mean_sea_level_pressure_inches","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>What is the zip code that has the lowest average mean sea level pressure?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"zip_code"},{"actionType":"ChangeTopFilter","column":"mean_sea_level_pressure_inches","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>When and in what zip code did max temperature reach 80?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"max_temperature_f","operation":">=","value":80}]}}<|endoftext|><|prompter|>What zip codes have a station with a max temperature greater than or equal to 80 and when did it reach that temperature?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"max_temperature_f","operation":">=","value":80}]}}<|endoftext|><|prompter|>For each zip code, return how many times max wind speed reached 25?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"max_wind_Speed_mph","operation":">=","value":25},{"actionType":"ChangeGrouping","column":"zip_code"}]}}<|endoftext|><|prompter|>For each zip code, determine the number of times the maximum wind speed has reached 25 mph.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"max_wind_Speed_mph","operation":">=","value":25},{"actionType":"ChangeGrouping","column":"zip_code"}]}}<|endoftext|><|prompter|>In zip code 94107, on which day neither Fog nor Rain was not observed?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"zip_code","operation":"=","value":94107},{"actionType":"ChangeCondition","column":"EVENTS","operation":"!=","value":"'Fog'"},{"actionType":"ChangeCondition","column":"EVENTS","operation":"!=","value":"'Rain'"}]}}<|endoftext|><|prompter|>On which day has it neither been foggy nor rained in the zip code of 94107?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"zip_code","operation":"=","value":94107},{"actionType":"ChangeCondition","column":"EVENTS","operation":"!=","value":"'Fog'"},{"actionType":"ChangeCondition","column":"EVENTS","operation":"!=","value":"'Rain'"}]}}<|endoftext|><|prompter|>What are the date, mean temperature and mean humidity for the top 3 days with the largest max gust speeds?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"max_gust_speed_mph","limit":3,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>What is the date, average temperature and mean humidity for the days with the 3 largest maximum gust speeds?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"max_gust_speed_mph","limit":3,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>What are the dates that had the top 5 cloud cover rates? Also tell me the cloud cover rate.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"cloud_cover","limit":5,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>What are the dates that have the 5 highest cloud cover rates and what are the rates?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"cloud_cover","limit":5,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>What are the dates in which the mean sea level pressure was between 30.3 and 31?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"mean_sea_level_pressure_inches","operation":">=","value":30.3},{"actionType":"ChangeCondition","column":"mean_sea_level_pressure_inches","operation":"<=","value":31}]}}<|endoftext|><|prompter|>What are the dates that have an average sea level pressure between 30.3 and 31?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"mean_sea_level_pressure_inches","operation":">=","value":30.3},{"actionType":"ChangeCondition","column":"mean_sea_level_pressure_inches","operation":"<=","value":31}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["date","max_temperature_f","mean_temperature_f","min_temperature_f","max_dew_point_f","mean_dew_point_f","min_dew_point_f","max_humidity","mean_humidity","min_humidity","max_sea_level_pressure_inches","mean_sea_level_pressure_inches","min_sea_level_pressure_inches","max_visibility_miles","mean_visibility_miles","min_visibility_miles","max_wind_Speed_mph","mean_wind_speed_mph","max_gust_speed_mph","precipitation_inches","cloud_cover","events","wind_dir_degrees","zip_code"],"name":"weather","type":"grid"}]<|endoftext|><|prompter|>Give me the dates when the max temperature was higher than 85.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"max_temperature_f","operation":">","value":85}]}}<|endoftext|><|prompter|>What are the dates with a maximum temperature higher than 85?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"max_temperature_f","operation":">","value":85}]}}<|endoftext|><|prompter|>How many days had both mean humidity above 50 and mean visibility above 8?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"mean_humidity","operation":">","value":50},{"actionType":"ChangeCondition","column":"mean_visibility_miles","operation":">","value":8}]}}<|endoftext|><|prompter|>What is the number of days that had an average humity above 50 and an average visibility above 8?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"mean_humidity","operation":">","value":50},{"actionType":"ChangeCondition","column":"mean_visibility_miles","operation":">","value":8}]}}<|endoftext|><|prompter|>What is the zip code in which the average mean sea level pressure is the lowest?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"zip_code"},{"actionType":"ChangeTopFilter","column":"mean_sea_level_pressure_inches","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>What is the zip code that has the lowest average mean sea level pressure?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"zip_code"},{"actionType":"ChangeTopFilter","column":"mean_sea_level_pressure_inches","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>When and in what zip code did max temperature reach 80?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"max_temperature_f","operation":">=","value":80}]}}<|endoftext|><|prompter|>What zip codes have a station with a max temperature greater than or equal to 80 and when did it reach that temperature?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"max_temperature_f","operation":">=","value":80}]}}<|endoftext|><|prompter|>For each zip code, return how many times max wind speed reached 25?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"max_wind_Speed_mph","operation":">=","value":25},{"actionType":"ChangeGrouping","column":"zip_code"}]}}<|endoftext|><|prompter|>For each zip code, how many times has the maximum wind speed reached 25 mph?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"max_wind_Speed_mph","operation":">=","value":25},{"actionType":"ChangeGrouping","column":"zip_code"}]}}<|endoftext|><|prompter|>In zip code 94107, on which day neither Fog nor Rain was not observed?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"zip_code","operation":"=","value":94107},{"actionType":"ChangeCondition","column":"EVENTS","operation":"!=","value":"'Fog'"},{"actionType":"ChangeCondition","column":"EVENTS","operation":"!=","value":"'Rain'"}]}}<|endoftext|><|prompter|>On which day has it neither been foggy nor rained in the zip code of 94107?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"zip_code","operation":"=","value":94107},{"actionType":"ChangeCondition","column":"EVENTS","operation":"!=","value":"'Fog'"},{"actionType":"ChangeCondition","column":"EVENTS","operation":"!=","value":"'Rain'"}]}}<|endoftext|><|prompter|>What are the date, mean temperature and mean humidity for the top 3 days with the largest max gust speeds?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"max_gust_speed_mph","limit":3,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>What is the date, average temperature and mean humidity for the days with the 3 largest maximum gust speeds?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"max_gust_speed_mph","limit":3,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>What are the dates that had the top 5 cloud cover rates? Also tell me the cloud cover rate.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"cloud_cover","limit":5,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>What are the dates that have the 5 highest cloud cover rates and what are the rates?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"cloud_cover","limit":5,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>What are the dates in which the mean sea level pressure was between 30.3 and 31?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"mean_sea_level_pressure_inches","operation":">=","value":30.3},{"actionType":"ChangeCondition","column":"mean_sea_level_pressure_inches","operation":"<=","value":31}]}}<|endoftext|><|prompter|>What are the dates that have an average sea level pressure between 30.3 and 31?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"mean_sea_level_pressure_inches","operation":">=","value":30.3},{"actionType":"ChangeCondition","column":"mean_sea_level_pressure_inches","operation":"<=","value":31}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["id","name","Headquarters","Industry","Sales_billion","Profits_billion","Assets_billion","Market_Value_billion"],"name":"Companies","type":"grid"}]<|endoftext|><|prompter|>List the names of companies in descending order of market value.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"Market_Value_billion","direction":"desk"}]}}<|endoftext|><|prompter|>Sort the company names in descending order of the company's market value.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"Market_Value_billion","direction":"desk"}]}}<|endoftext|><|prompter|>What are the names of companies whose headquarters are not "USA"?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Headquarters","operation":"!=","value":"USA"}]}}<|endoftext|><|prompter|>Find the names of the companies whose headquarters are not located in "USA".<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Headquarters","operation":"!=","value":"USA"}]}}<|endoftext|><|prompter|>What are the name and assets of each company, sorted in ascending order of company name?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"name","direction":"ask"}]}}<|endoftext|><|prompter|>List the name and assets of each company in ascending order of company name.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"name","direction":"ask"}]}}<|endoftext|><|prompter|>What are the average profits of companies?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Profits_billion","aggregation":"avg"}]}}<|endoftext|><|prompter|>Compute the average profits companies make.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Profits_billion","aggregation":"avg"}]}}<|endoftext|><|prompter|>How many different industries are the companies in?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Industry","aggregation":"count"}]}}<|endoftext|><|prompter|>Count the number of distinct company industries.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Industry","aggregation":"count"}]}}<|endoftext|><|prompter|>Present each industry and the associated number of companies.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"Industry"}]}}<|endoftext|><|prompter|>Whah are the name of each industry and the number of companies in that industry?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"Industry"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["id","name","Headquarters","Industry","Sales_billion","Profits_billion","Assets_billion","Market_Value_billion"],"name":"Companies","type":"grid"}]<|endoftext|><|prompter|>List the names of companies in descending order of market value.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"Market_Value_billion","direction":"desk"}]}}<|endoftext|><|prompter|>Sort the company names in descending order of the company's market value.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"Market_Value_billion","direction":"desk"}]}}<|endoftext|><|prompter|>What are the names of companies whose headquarters are not "USA"?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Headquarters","operation":"!=","value":"USA"}]}}<|endoftext|><|prompter|>Find the names of the companies whose headquarters are not located in "USA".<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Headquarters","operation":"!=","value":"USA"}]}}<|endoftext|><|prompter|>What are the name and assets of each company, sorted in ascending order of company name?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"name","direction":"ask"}]}}<|endoftext|><|prompter|>List the name and assets of each company in ascending order of company name.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"name","direction":"ask"}]}}<|endoftext|><|prompter|>What are the average profits of companies?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Profits_billion","aggregation":"avg"}]}}<|endoftext|><|prompter|>Compute the average profits companies make.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Profits_billion","aggregation":"avg"}]}}<|endoftext|><|prompter|>How many different industries are the companies in?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Industry","aggregation":"count"}]}}<|endoftext|><|prompter|>Count the number of distinct company industries.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Industry","aggregation":"count"}]}}<|endoftext|><|prompter|>Show each industry and the corresponding number of companies in that industry.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"Industry"}]}}<|endoftext|><|prompter|>Whah are the name of each industry and the number of companies in that industry?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"Industry"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["id","name","Headquarters","Industry","Sales_billion","Profits_billion","Assets_billion","Market_Value_billion"],"name":"Companies","type":"grid"}]<|endoftext|><|prompter|>List the names of companies in descending order of market value.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"Market_Value_billion","direction":"desk"}]}}<|endoftext|><|prompter|>Sort the company names in descending order of the company's market value.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"Market_Value_billion","direction":"desk"}]}}<|endoftext|><|prompter|>What are the names of companies whose headquarters are not "USA"?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Headquarters","operation":"!=","value":"USA"}]}}<|endoftext|><|prompter|>Find the names of the companies whose headquarters are not located in "USA".<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Headquarters","operation":"!=","value":"USA"}]}}<|endoftext|><|prompter|>What are the name and assets of each company, sorted in ascending order of company name?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"name","direction":"ask"}]}}<|endoftext|><|prompter|>List the name and assets of each company in ascending order of company name.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"name","direction":"ask"}]}}<|endoftext|><|prompter|>What are the average profits of companies?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Profits_billion","aggregation":"avg"}]}}<|endoftext|><|prompter|>Compute the average profits companies make.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Profits_billion","aggregation":"avg"}]}}<|endoftext|><|prompter|>How many different industries are the companies in?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Industry","aggregation":"count"}]}}<|endoftext|><|prompter|>Count the number of distinct company industries.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Industry","aggregation":"count"}]}}<|endoftext|><|prompter|>Please show each industry and the corresponding number of companies in that industry.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"Industry"}]}}<|endoftext|><|prompter|>What are the industry names and the company counts in each industry?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"Industry"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["id","name","Headquarters","Industry","Sales_billion","Profits_billion","Assets_billion","Market_Value_billion"],"name":"Companies","type":"grid"}]<|endoftext|><|prompter|>List the names of companies in descending order of market value.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"Market_Value_billion","direction":"desk"}]}}<|endoftext|><|prompter|>Sort the company names in descending order of the company's market value.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"Market_Value_billion","direction":"desk"}]}}<|endoftext|><|prompter|>What are the names of companies whose headquarters are not "USA"?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Headquarters","operation":"!=","value":"USA"}]}}<|endoftext|><|prompter|>Find the names of the companies whose headquarters are not located in "USA".<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Headquarters","operation":"!=","value":"USA"}]}}<|endoftext|><|prompter|>What are the name and assets of each company, sorted in ascending order of company name?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"name","direction":"ask"}]}}<|endoftext|><|prompter|>List the name and assets of each company in ascending order of company name.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"name","direction":"ask"}]}}<|endoftext|><|prompter|>What are the average profits of companies?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Profits_billion","aggregation":"avg"}]}}<|endoftext|><|prompter|>Compute the average profits companies make.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Profits_billion","aggregation":"avg"}]}}<|endoftext|><|prompter|>How many different industries are the companies in?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Industry","aggregation":"count"}]}}<|endoftext|><|prompter|>Count the number of distinct company industries.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Industry","aggregation":"count"}]}}<|endoftext|><|prompter|>Please show each industry and the corresponding number of companies in that industry.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"Industry"}]}}<|endoftext|><|prompter|>What are the names of each industry and the number of companies in each industry?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"Industry"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["id","name","Headquarters","Industry","Sales_billion","Profits_billion","Assets_billion","Market_Value_billion"],"name":"Companies","type":"grid"}]<|endoftext|><|prompter|>List the names of companies in descending order of market value.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"Market_Value_billion","direction":"desk"}]}}<|endoftext|><|prompter|>Sort the company names in descending order of the company's market value.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"Market_Value_billion","direction":"desk"}]}}<|endoftext|><|prompter|>What are the names of companies whose headquarters are not "USA"?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Headquarters","operation":"!=","value":"USA"}]}}<|endoftext|><|prompter|>Find the names of the companies whose headquarters are not located in "USA".<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Headquarters","operation":"!=","value":"USA"}]}}<|endoftext|><|prompter|>What are the name and assets of each company, sorted in ascending order of company name?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"name","direction":"ask"}]}}<|endoftext|><|prompter|>List the name and assets of each company in ascending order of company name.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"name","direction":"ask"}]}}<|endoftext|><|prompter|>What are the average profits of companies?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Profits_billion","aggregation":"avg"}]}}<|endoftext|><|prompter|>Compute the average profits companies make.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Profits_billion","aggregation":"avg"}]}}<|endoftext|><|prompter|>How many different industries are the companies in?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Industry","aggregation":"count"}]}}<|endoftext|><|prompter|>Count the number of distinct company industries.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Industry","aggregation":"count"}]}}<|endoftext|><|prompter|>Please show each industry and the corresponding number of companies in that industry.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"Industry"}]}}<|endoftext|><|prompter|>Whah are the name of each industry and the number of companies in that industry?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"Industry"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["Campus","Year","Faculty"],"name":"faculty","type":"grid"}]<|endoftext|><|prompter|>How many faculty is there in total in the year of 2002?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"faculty","aggregation":"sum"},{"actionType":"ChangeCondition","column":"YEAR","operation":"=","value":2002}]}}<|endoftext|><|prompter|>How many faculty, in total, are there in the year 2002?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"faculty","aggregation":"sum"},{"actionType":"ChangeCondition","column":"YEAR","operation":"=","value":2002}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["ID","name","dept_name","salary"],"name":"instructor","type":"grid"}]<|endoftext|><|prompter|>Show the average salary of all departments.<|endoftext|><|assistant|>{"text":"Would you like to the know the average salary grouped over each department name?","dsl":{}}<|endoftext|><|prompter|>Yes show average salary grouped over each department name.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"salary","aggregation":"avg"},{"actionType":"ChangeGrouping","column":"dept_name"}]}}<|endoftext|><|prompter|>Show the department with the lowest average salary. <|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"dept_name"},{"actionType":"ChangeTopFilter","column":"salary","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>Who is the instructor of the department with the lowest average salary. <|endoftext|><|assistant|>{"text":"Would you like to know the name corresponding to the department with the lowest average salary?","dsl":{}}<|endoftext|><|prompter|>Yes.<|endoftext|><|assistant|>{"text":"Ok. Ullman is the name corresponding to the department with the lowest average salary.","dsl":{}}<|endoftext|><|prompter|>Thanks!<|endoftext|><|assistant|>{"text":"Thank you! Goodbye.","dsl":{}}<|endoftext|>
COSQL
<|context|>[{"columns":["Station_ID","Name","Annual_entry_exit","Annual_interchanges","Total_Passengers","Location","Main_Services","Number_of_Platforms"],"name":"station","type":"grid"}]<|endoftext|><|prompter|>what is the Number_of_Platforms does Main_Services South Western Main Line West of England Main Line have?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Main_services","operation":"=","value":"'South Western Main Line West of England Main Line'"}]}}<|endoftext|><|prompter|>how many passengers are in the London Waterloo?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"name","operation":"=","value":"'London Waterloo'"}]}}<|endoftext|><|prompter|>can you help me with the Annual interchanges for London Bridge<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"name","operation":"=","value":"'London Bridge'"}]}}<|endoftext|><|prompter|>Thnaks<|endoftext|><|assistant|>{"text":"Thanks! Bye!","dsl":{}}<|endoftext|>
COSQL
<|context|>[{"columns":["Mountain_ID","Name","Height","Prominence","Range","Country"],"name":"mountain","type":"grid"}]<|endoftext|><|prompter|>What are the names of mountains in ascending alphabetical order?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"Name","direction":"ask"}]}}<|endoftext|><|prompter|>Give the names of mountains in alphabetical order.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"Name","direction":"ask"}]}}<|endoftext|><|prompter|>What are the countries of mountains with height bigger than 5000?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Height","operation":">","value":5000}]}}<|endoftext|><|prompter|>Return the countries of the mountains that have a height larger than 5000.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Height","operation":">","value":5000}]}}<|endoftext|><|prompter|>What is the name of the highest mountain?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"Height","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>Return the name of the mountain with the greatest height.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"Height","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>List the distinct ranges of the mountains with the top 3 prominence.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"Prominence","limit":3,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>What are the different ranges of the 3 mountains with the highest prominence?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"Prominence","limit":3,"aggregation":"avg","direction":"desk"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["id","customer_id","invoice_date","billing_address","billing_city","billing_state","billing_country","billing_postal_code","total"],"name":"invoices","type":"grid"}]<|endoftext|><|prompter|>A list of the top 8 countries by gross/total invoice size. List country name and gross invoice size.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"total","aggregation":"SUM"},{"actionType":"ChangeGrouping","column":"billing_country"},{"actionType":"ChangeTopFilter","column":"total","limit":8,"aggregation":"SUM","direction":"desk"}]}}<|endoftext|><|prompter|>What are the names of the top 8 countries by total invoice size and what are those sizes?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"total","aggregation":"SUM"},{"actionType":"ChangeGrouping","column":"billing_country"},{"actionType":"ChangeTopFilter","column":"total","limit":8,"aggregation":"SUM","direction":"desk"}]}}<|endoftext|><|prompter|>A list of the top 10 countries by average invoice size. List country name and average invoice size.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"total","aggregation":"AVG"},{"actionType":"ChangeGrouping","column":"billing_country"},{"actionType":"ChangeTopFilter","column":"total","limit":10,"aggregation":"AVG","direction":"desk"}]}}<|endoftext|><|prompter|>What are the names of the countries and average invoice size of the top countries by size?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"total","aggregation":"AVG"},{"actionType":"ChangeGrouping","column":"billing_country"},{"actionType":"ChangeTopFilter","column":"total","limit":10,"aggregation":"AVG","direction":"desk"}]}}<|endoftext|><|prompter|>List total amount of invoice from Chicago, IL.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"total","aggregation":"sum"},{"actionType":"ChangeCondition","column":"billing_city","operation":"=","value":"'Chicago'"},{"actionType":"ChangeCondition","column":"billing_state","operation":"=","value":"'IL'"}]}}<|endoftext|><|prompter|>What are the total amount of money in the invoices billed from Chicago, Illinois?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"total","aggregation":"sum"},{"actionType":"ChangeCondition","column":"billing_city","operation":"=","value":"'Chicago'"},{"actionType":"ChangeCondition","column":"billing_state","operation":"=","value":"'IL'"}]}}<|endoftext|><|prompter|>List the number of invoices from Chicago, IL.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"billing_city","operation":"=","value":"'Chicago'"},{"actionType":"ChangeCondition","column":"billing_state","operation":"=","value":"'IL'"}]}}<|endoftext|><|prompter|>How many invoices were billed from Chicago, IL?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"billing_city","operation":"=","value":"'Chicago'"},{"actionType":"ChangeCondition","column":"billing_state","operation":"=","value":"'IL'"}]}}<|endoftext|><|prompter|>List the invoice count from the US, grouped by state.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"billing_country","operation":"=","value":"'USA'"},{"actionType":"ChangeGrouping","column":"billing_state"}]}}<|endoftext|><|prompter|>How many invoices were billed from each state?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"billing_country","operation":"=","value":"'USA'"},{"actionType":"ChangeGrouping","column":"billing_state"}]}}<|endoftext|><|prompter|>List the number of invoices and the invoice total from California.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"total","aggregation":"SUM"},{"actionType":"ChangeCondition","column":"billing_state","operation":"=","value":"'CA'"}]}}<|endoftext|><|prompter|>What is the number of invoices and total money billed in them from CA?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"total","aggregation":"SUM"},{"actionType":"ChangeCondition","column":"billing_state","operation":"=","value":"'CA'"}]}}<|endoftext|>
SPIDER