instruction
stringlengths
241
15.9k
source
stringclasses
2 values
<|context|>[{"columns":["RoomId","roomName","beds","bedType","maxOccupancy","basePrice","decor"],"name":"Rooms","type":"grid"}]<|endoftext|><|prompter|>Find the names of all modern rooms with a base price below $160 and two beds.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"basePrice","operation":"<","value":160},{"actionType":"ChangeCondition","column":"beds","operation":"=","value":2},{"actionType":"ChangeCondition","column":"decor","operation":"=","value":"modern"}]}}<|endoftext|><|prompter|>What are the names of modern rooms that have a base price lower than $160 and two beds.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"basePrice","operation":"<","value":160},{"actionType":"ChangeCondition","column":"beds","operation":"=","value":2},{"actionType":"ChangeCondition","column":"decor","operation":"=","value":"modern"}]}}<|endoftext|><|prompter|>Find all the rooms that have a price higher than 160 and can accommodate more than 2 people. Report room names and ids.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"basePrice","operation":">","value":160},{"actionType":"ChangeCondition","column":"maxOccupancy","operation":">","value":2}]}}<|endoftext|><|prompter|>What are the room names and ids of all the rooms that cost more than 160 and can accommodate more than two people.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"basePrice","operation":">","value":160},{"actionType":"ChangeCondition","column":"maxOccupancy","operation":">","value":2}]}}<|endoftext|><|prompter|>How many king beds are there?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"beds","aggregation":"sum"},{"actionType":"ChangeCondition","column":"bedtype","operation":"=","value":"King"}]}}<|endoftext|><|prompter|>Find the total number of king beds available.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"beds","aggregation":"sum"},{"actionType":"ChangeCondition","column":"bedtype","operation":"=","value":"King"}]}}<|endoftext|><|prompter|>List the names and decor of rooms that have a king bed. Sort the list by their price.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"bedtype","operation":"=","value":"King"},{"actionType":"ChangeSorting","column":"basePrice","direction":"ask"}]}}<|endoftext|><|prompter|>What are the names and decor of rooms with a king bed? Sort them by their price<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"bedtype","operation":"=","value":"King"},{"actionType":"ChangeSorting","column":"basePrice","direction":"ask"}]}}<|endoftext|><|prompter|>Which room has cheapest base price? List the room's name and the base price.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"basePrice","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>What are the room name and base price of the room with the lowest base price?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"basePrice","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>What is the decor of room Recluse and defiance?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"roomName","operation":"=","value":"'Recluse and defiance'"}]}}<|endoftext|><|prompter|>Return the decor of the room named "Recluse and defiance".<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"roomName","operation":"=","value":"'Recluse and defiance'"}]}}<|endoftext|><|prompter|>What is the average base price of different bed type? List bed type and average base price.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"basePrice","aggregation":"avg"},{"actionType":"ChangeGrouping","column":"bedType"}]}}<|endoftext|><|prompter|>For each bed type, find the average base price of different bed type.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"basePrice","aggregation":"avg"},{"actionType":"ChangeGrouping","column":"bedType"}]}}<|endoftext|><|prompter|>What is the total number of people who could stay in the modern rooms in this inn?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"maxOccupancy","aggregation":"sum"},{"actionType":"ChangeCondition","column":"decor","operation":"=","value":"modern"}]}}<|endoftext|><|prompter|>How many people in total can stay in the modern rooms of this inn?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"maxOccupancy","aggregation":"sum"},{"actionType":"ChangeCondition","column":"decor","operation":"=","value":"modern"}]}}<|endoftext|><|prompter|>Find the number of rooms with a king bed.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"bedType","operation":"=","value":"'King'"}]}}<|endoftext|><|prompter|>How many rooms have a king bed?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"bedType","operation":"=","value":"'King'"}]}}<|endoftext|><|prompter|>Find the number of rooms for each bed type.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"bedType"}]}}<|endoftext|><|prompter|>What are the number of rooms for each bed type?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"bedType"}]}}<|endoftext|><|prompter|>Find the name of the room with the maximum occupancy.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"maxOccupancy","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>What is the name of the room that can accommodate the most people?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"maxOccupancy","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>Find the id and name of the most expensive base price room.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"basePrice","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>Which room has the highest base price?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"basePrice","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>List the type of bed and name of all traditional rooms.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"decor","operation":"=","value":"'traditional'"}]}}<|endoftext|><|prompter|>What are the bed type and name of all the rooms with traditional decor?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"decor","operation":"=","value":"'traditional'"}]}}<|endoftext|><|prompter|>Find the number of rooms with king bed for each decor type.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"bedType","operation":"=","value":"'King'"},{"actionType":"ChangeGrouping","column":"decor"}]}}<|endoftext|><|prompter|>How many rooms have king beds? Report the number for each decor type.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"bedType","operation":"=","value":"'King'"},{"actionType":"ChangeGrouping","column":"decor"}]}}<|endoftext|><|prompter|>List the name of all rooms sorted by their prices.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"basePrice","direction":"ask"}]}}<|endoftext|><|prompter|>Sort all the rooms according to the price. Just report the room names.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"basePrice","direction":"ask"}]}}<|endoftext|><|prompter|>Find the number of rooms with price higher than 120 for different decor.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"basePrice","operation":">","value":120},{"actionType":"ChangeGrouping","column":"decor"}]}}<|endoftext|><|prompter|>How many rooms cost more than 120, for each different decor?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"basePrice","operation":">","value":120},{"actionType":"ChangeGrouping","column":"decor"}]}}<|endoftext|><|prompter|>For each bed type, find the average room price.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"basePrice","aggregation":"avg"},{"actionType":"ChangeGrouping","column":"bedType"}]}}<|endoftext|><|prompter|>What is the average base price of rooms, for each bed type?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"basePrice","aggregation":"avg"},{"actionType":"ChangeGrouping","column":"bedType"}]}}<|endoftext|><|prompter|>How many different types of beds are there?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"bedType","aggregation":"count"}]}}<|endoftext|><|prompter|>Find the number of distinct bed types available in this inn.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"bedType","aggregation":"count"}]}}<|endoftext|><|prompter|>Find the name and id of the top 3 expensive rooms.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"basePrice","limit":3,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>What are the name and id of the three highest priced rooms?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"basePrice","limit":3,"aggregation":"avg","direction":"desk"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["RoomId","roomName","beds","bedType","maxOccupancy","basePrice","decor"],"name":"Rooms","type":"grid"}]<|endoftext|><|prompter|>Find the names of all modern rooms with a base price below $160 and two beds.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"basePrice","operation":"<","value":160},{"actionType":"ChangeCondition","column":"beds","operation":"=","value":2},{"actionType":"ChangeCondition","column":"decor","operation":"=","value":"modern"}]}}<|endoftext|><|prompter|>What are the names of modern rooms that have a base price lower than $160 and two beds.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"basePrice","operation":"<","value":160},{"actionType":"ChangeCondition","column":"beds","operation":"=","value":2},{"actionType":"ChangeCondition","column":"decor","operation":"=","value":"modern"}]}}<|endoftext|><|prompter|>Find all the rooms that have a price higher than 160 and can accommodate more than 2 people. Report room names and ids.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"basePrice","operation":">","value":160},{"actionType":"ChangeCondition","column":"maxOccupancy","operation":">","value":2}]}}<|endoftext|><|prompter|>What are the room names and ids of all the rooms that cost more than 160 and can accommodate more than two people.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"basePrice","operation":">","value":160},{"actionType":"ChangeCondition","column":"maxOccupancy","operation":">","value":2}]}}<|endoftext|><|prompter|>How many king beds are there?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"beds","aggregation":"sum"},{"actionType":"ChangeCondition","column":"bedtype","operation":"=","value":"King"}]}}<|endoftext|><|prompter|>Find the total number of king beds available.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"beds","aggregation":"sum"},{"actionType":"ChangeCondition","column":"bedtype","operation":"=","value":"King"}]}}<|endoftext|><|prompter|>List the names and decor of rooms that have a king bed. Sort the list by their price.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"bedtype","operation":"=","value":"King"},{"actionType":"ChangeSorting","column":"basePrice","direction":"ask"}]}}<|endoftext|><|prompter|>What are the names and decor of rooms with a king bed? Sort them by their price<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"bedtype","operation":"=","value":"King"},{"actionType":"ChangeSorting","column":"basePrice","direction":"ask"}]}}<|endoftext|><|prompter|>Which room has cheapest base price? List the room's name and the base price.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"basePrice","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>What are the room name and base price of the room with the lowest base price?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"basePrice","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>What is the decor of room Recluse and defiance?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"roomName","operation":"=","value":"'Recluse and defiance'"}]}}<|endoftext|><|prompter|>Return the decor of the room named "Recluse and defiance".<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"roomName","operation":"=","value":"'Recluse and defiance'"}]}}<|endoftext|><|prompter|>What is the average base price of different bed type? List bed type and average base price.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"basePrice","aggregation":"avg"},{"actionType":"ChangeGrouping","column":"bedType"}]}}<|endoftext|><|prompter|>For each bed type, find the average base price of different bed type.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"basePrice","aggregation":"avg"},{"actionType":"ChangeGrouping","column":"bedType"}]}}<|endoftext|><|prompter|>What is the total number of people who could stay in the modern rooms in this inn?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"maxOccupancy","aggregation":"sum"},{"actionType":"ChangeCondition","column":"decor","operation":"=","value":"modern"}]}}<|endoftext|><|prompter|>How many people in total can stay in the modern rooms of this inn?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"maxOccupancy","aggregation":"sum"},{"actionType":"ChangeCondition","column":"decor","operation":"=","value":"modern"}]}}<|endoftext|><|prompter|>Find the number of rooms with a king bed.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"bedType","operation":"=","value":"'King'"}]}}<|endoftext|><|prompter|>How many rooms have a king bed?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"bedType","operation":"=","value":"'King'"}]}}<|endoftext|><|prompter|>Find the number of rooms for each bed type.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"bedType"}]}}<|endoftext|><|prompter|>Determine the number of rooms for each bed type.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"bedType"}]}}<|endoftext|><|prompter|>Find the name of the room with the maximum occupancy.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"maxOccupancy","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>What is the name of the room that can accommodate the most people?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"maxOccupancy","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>Find the id and name of the most expensive base price room.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"basePrice","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>Which room has the highest base price?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"basePrice","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>List the type of bed and name of all traditional rooms.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"decor","operation":"=","value":"'traditional'"}]}}<|endoftext|><|prompter|>What are the bed type and name of all the rooms with traditional decor?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"decor","operation":"=","value":"'traditional'"}]}}<|endoftext|><|prompter|>Find the number of rooms with king bed for each decor type.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"bedType","operation":"=","value":"'King'"},{"actionType":"ChangeGrouping","column":"decor"}]}}<|endoftext|><|prompter|>How many rooms have king beds? Report the number for each decor type.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"bedType","operation":"=","value":"'King'"},{"actionType":"ChangeGrouping","column":"decor"}]}}<|endoftext|><|prompter|>List the name of all rooms sorted by their prices.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"basePrice","direction":"ask"}]}}<|endoftext|><|prompter|>Sort all the rooms according to the price. Just report the room names.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"basePrice","direction":"ask"}]}}<|endoftext|><|prompter|>Find the number of rooms with price higher than 120 for different decor.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"basePrice","operation":">","value":120},{"actionType":"ChangeGrouping","column":"decor"}]}}<|endoftext|><|prompter|>How many rooms cost more than 120, for each different decor?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"basePrice","operation":">","value":120},{"actionType":"ChangeGrouping","column":"decor"}]}}<|endoftext|><|prompter|>For each bed type, find the average room price.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"basePrice","aggregation":"avg"},{"actionType":"ChangeGrouping","column":"bedType"}]}}<|endoftext|><|prompter|>What is the average base price of rooms, for each bed type?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"basePrice","aggregation":"avg"},{"actionType":"ChangeGrouping","column":"bedType"}]}}<|endoftext|><|prompter|>How many different types of beds are there?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"bedType","aggregation":"count"}]}}<|endoftext|><|prompter|>Find the number of distinct bed types available in this inn.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"bedType","aggregation":"count"}]}}<|endoftext|><|prompter|>Find the name and id of the top 3 expensive rooms.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"basePrice","limit":3,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>What are the name and id of the three highest priced rooms?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"basePrice","limit":3,"aggregation":"avg","direction":"desk"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["RoomId","roomName","beds","bedType","maxOccupancy","basePrice","decor"],"name":"Rooms","type":"grid"}]<|endoftext|><|prompter|>Find the names of all modern rooms with a base price below $160 and two beds.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"basePrice","operation":"<","value":160},{"actionType":"ChangeCondition","column":"beds","operation":"=","value":2},{"actionType":"ChangeCondition","column":"decor","operation":"=","value":"modern"}]}}<|endoftext|><|prompter|>What are the names of modern rooms that have a base price lower than $160 and two beds.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"basePrice","operation":"<","value":160},{"actionType":"ChangeCondition","column":"beds","operation":"=","value":2},{"actionType":"ChangeCondition","column":"decor","operation":"=","value":"modern"}]}}<|endoftext|><|prompter|>Find all the rooms that have a price higher than 160 and can accommodate more than 2 people. Report room names and ids.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"basePrice","operation":">","value":160},{"actionType":"ChangeCondition","column":"maxOccupancy","operation":">","value":2}]}}<|endoftext|><|prompter|>What are the room names and ids of all the rooms that cost more than 160 and can accommodate more than two people.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"basePrice","operation":">","value":160},{"actionType":"ChangeCondition","column":"maxOccupancy","operation":">","value":2}]}}<|endoftext|><|prompter|>How many king beds are there?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"beds","aggregation":"sum"},{"actionType":"ChangeCondition","column":"bedtype","operation":"=","value":"King"}]}}<|endoftext|><|prompter|>Find the total number of king beds available.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"beds","aggregation":"sum"},{"actionType":"ChangeCondition","column":"bedtype","operation":"=","value":"King"}]}}<|endoftext|><|prompter|>List the names and decor of rooms that have a king bed. Sort the list by their price.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"bedtype","operation":"=","value":"King"},{"actionType":"ChangeSorting","column":"basePrice","direction":"ask"}]}}<|endoftext|><|prompter|>What are the names and decor of rooms with a king bed? Sort them by their price<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"bedtype","operation":"=","value":"King"},{"actionType":"ChangeSorting","column":"basePrice","direction":"ask"}]}}<|endoftext|><|prompter|>Which room has cheapest base price? List the room's name and the base price.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"basePrice","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>What are the room name and base price of the room with the lowest base price?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"basePrice","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>What is the decor of room Recluse and defiance?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"roomName","operation":"=","value":"'Recluse and defiance'"}]}}<|endoftext|><|prompter|>Return the decor of the room named "Recluse and defiance".<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"roomName","operation":"=","value":"'Recluse and defiance'"}]}}<|endoftext|><|prompter|>What is the average base price of different bed type? List bed type and average base price.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"basePrice","aggregation":"avg"},{"actionType":"ChangeGrouping","column":"bedType"}]}}<|endoftext|><|prompter|>For each bed type, find the average base price of different bed type.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"basePrice","aggregation":"avg"},{"actionType":"ChangeGrouping","column":"bedType"}]}}<|endoftext|><|prompter|>What is the total number of people who could stay in the modern rooms in this inn?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"maxOccupancy","aggregation":"sum"},{"actionType":"ChangeCondition","column":"decor","operation":"=","value":"modern"}]}}<|endoftext|><|prompter|>How many people in total can stay in the modern rooms of this inn?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"maxOccupancy","aggregation":"sum"},{"actionType":"ChangeCondition","column":"decor","operation":"=","value":"modern"}]}}<|endoftext|><|prompter|>Find the number of rooms with a king bed.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"bedType","operation":"=","value":"'King'"}]}}<|endoftext|><|prompter|>How many rooms have a king bed?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"bedType","operation":"=","value":"'King'"}]}}<|endoftext|><|prompter|>Find the number of rooms for each bed type.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"bedType"}]}}<|endoftext|><|prompter|>What is the number of rooms available for each type of bed?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"bedType"}]}}<|endoftext|><|prompter|>Find the name of the room with the maximum occupancy.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"maxOccupancy","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>What is the name of the room that can accommodate the most people?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"maxOccupancy","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>Find the id and name of the most expensive base price room.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"basePrice","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>Which room has the highest base price?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"basePrice","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>List the type of bed and name of all traditional rooms.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"decor","operation":"=","value":"'traditional'"}]}}<|endoftext|><|prompter|>What are the bed type and name of all the rooms with traditional decor?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"decor","operation":"=","value":"'traditional'"}]}}<|endoftext|><|prompter|>Find the number of rooms with king bed for each decor type.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"bedType","operation":"=","value":"'King'"},{"actionType":"ChangeGrouping","column":"decor"}]}}<|endoftext|><|prompter|>How many rooms have king beds? Report the number for each decor type.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"bedType","operation":"=","value":"'King'"},{"actionType":"ChangeGrouping","column":"decor"}]}}<|endoftext|><|prompter|>List the name of all rooms sorted by their prices.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"basePrice","direction":"ask"}]}}<|endoftext|><|prompter|>Sort all the rooms according to the price. Just report the room names.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"basePrice","direction":"ask"}]}}<|endoftext|><|prompter|>Find the number of rooms with price higher than 120 for different decor.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"basePrice","operation":">","value":120},{"actionType":"ChangeGrouping","column":"decor"}]}}<|endoftext|><|prompter|>How many rooms cost more than 120, for each different decor?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"basePrice","operation":">","value":120},{"actionType":"ChangeGrouping","column":"decor"}]}}<|endoftext|><|prompter|>For each bed type, find the average room price.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"basePrice","aggregation":"avg"},{"actionType":"ChangeGrouping","column":"bedType"}]}}<|endoftext|><|prompter|>What is the average base price of rooms, for each bed type?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"basePrice","aggregation":"avg"},{"actionType":"ChangeGrouping","column":"bedType"}]}}<|endoftext|><|prompter|>How many different types of beds are there?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"bedType","aggregation":"count"}]}}<|endoftext|><|prompter|>Find the number of distinct bed types available in this inn.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"bedType","aggregation":"count"}]}}<|endoftext|><|prompter|>Find the name and id of the top 3 expensive rooms.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"basePrice","limit":3,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>What are the name and id of the three highest priced rooms?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"basePrice","limit":3,"aggregation":"avg","direction":"desk"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["RoomId","roomName","beds","bedType","maxOccupancy","basePrice","decor"],"name":"Rooms","type":"grid"}]<|endoftext|><|prompter|>Find the names of all modern rooms with a base price below $160 and two beds.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"basePrice","operation":"<","value":160},{"actionType":"ChangeCondition","column":"beds","operation":"=","value":2},{"actionType":"ChangeCondition","column":"decor","operation":"=","value":"modern"}]}}<|endoftext|><|prompter|>What are the names of modern rooms that have a base price lower than $160 and two beds.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"basePrice","operation":"<","value":160},{"actionType":"ChangeCondition","column":"beds","operation":"=","value":2},{"actionType":"ChangeCondition","column":"decor","operation":"=","value":"modern"}]}}<|endoftext|><|prompter|>Find all the rooms that have a price higher than 160 and can accommodate more than 2 people. Report room names and ids.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"basePrice","operation":">","value":160},{"actionType":"ChangeCondition","column":"maxOccupancy","operation":">","value":2}]}}<|endoftext|><|prompter|>What are the room names and ids of all the rooms that cost more than 160 and can accommodate more than two people.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"basePrice","operation":">","value":160},{"actionType":"ChangeCondition","column":"maxOccupancy","operation":">","value":2}]}}<|endoftext|><|prompter|>How many king beds are there?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"beds","aggregation":"sum"},{"actionType":"ChangeCondition","column":"bedtype","operation":"=","value":"King"}]}}<|endoftext|><|prompter|>Find the total number of king beds available.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"beds","aggregation":"sum"},{"actionType":"ChangeCondition","column":"bedtype","operation":"=","value":"King"}]}}<|endoftext|><|prompter|>List the names and decor of rooms that have a king bed. Sort the list by their price.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"bedtype","operation":"=","value":"King"},{"actionType":"ChangeSorting","column":"basePrice","direction":"ask"}]}}<|endoftext|><|prompter|>What are the names and decor of rooms with a king bed? Sort them by their price<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"bedtype","operation":"=","value":"King"},{"actionType":"ChangeSorting","column":"basePrice","direction":"ask"}]}}<|endoftext|><|prompter|>Which room has cheapest base price? List the room's name and the base price.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"basePrice","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>What are the room name and base price of the room with the lowest base price?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"basePrice","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>What is the decor of room Recluse and defiance?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"roomName","operation":"=","value":"'Recluse and defiance'"}]}}<|endoftext|><|prompter|>Return the decor of the room named "Recluse and defiance".<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"roomName","operation":"=","value":"'Recluse and defiance'"}]}}<|endoftext|><|prompter|>What is the average base price of different bed type? List bed type and average base price.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"basePrice","aggregation":"avg"},{"actionType":"ChangeGrouping","column":"bedType"}]}}<|endoftext|><|prompter|>For each bed type, find the average base price of different bed type.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"basePrice","aggregation":"avg"},{"actionType":"ChangeGrouping","column":"bedType"}]}}<|endoftext|><|prompter|>What is the total number of people who could stay in the modern rooms in this inn?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"maxOccupancy","aggregation":"sum"},{"actionType":"ChangeCondition","column":"decor","operation":"=","value":"modern"}]}}<|endoftext|><|prompter|>How many people in total can stay in the modern rooms of this inn?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"maxOccupancy","aggregation":"sum"},{"actionType":"ChangeCondition","column":"decor","operation":"=","value":"modern"}]}}<|endoftext|><|prompter|>Find the number of rooms with a king bed.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"bedType","operation":"=","value":"'King'"}]}}<|endoftext|><|prompter|>How many rooms have a king bed?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"bedType","operation":"=","value":"'King'"}]}}<|endoftext|><|prompter|>Find the number of rooms for each bed type.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"bedType"}]}}<|endoftext|><|prompter|>What are the number of rooms for each bed type?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"bedType"}]}}<|endoftext|><|prompter|>Find the name of the room with the maximum occupancy.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"maxOccupancy","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>What is the name of the room that can accommodate the most people?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"maxOccupancy","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>Find the id and name of the most expensive base price room.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"basePrice","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>Which room has the highest base price?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"basePrice","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>List the type of bed and name of all traditional rooms.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"decor","operation":"=","value":"'traditional'"}]}}<|endoftext|><|prompter|>What are the bed type and name of all the rooms with traditional decor?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"decor","operation":"=","value":"'traditional'"}]}}<|endoftext|><|prompter|>How many artists are there for each gender?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"bedType","operation":"=","value":"'King'"},{"actionType":"ChangeGrouping","column":"decor"}]}}<|endoftext|><|prompter|>How many rooms have king beds? Report the number for each decor type.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"bedType","operation":"=","value":"'King'"},{"actionType":"ChangeGrouping","column":"decor"}]}}<|endoftext|><|prompter|>List the name of all rooms sorted by their prices.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"basePrice","direction":"ask"}]}}<|endoftext|><|prompter|>Sort all the rooms according to the price. Just report the room names.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"basePrice","direction":"ask"}]}}<|endoftext|><|prompter|>Find the number of rooms with price higher than 120 for different decor.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"basePrice","operation":">","value":120},{"actionType":"ChangeGrouping","column":"decor"}]}}<|endoftext|><|prompter|>How many rooms cost more than 120, for each different decor?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"basePrice","operation":">","value":120},{"actionType":"ChangeGrouping","column":"decor"}]}}<|endoftext|><|prompter|>For each bed type, find the average room price.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"basePrice","aggregation":"avg"},{"actionType":"ChangeGrouping","column":"bedType"}]}}<|endoftext|><|prompter|>What is the average base price of rooms, for each bed type?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"basePrice","aggregation":"avg"},{"actionType":"ChangeGrouping","column":"bedType"}]}}<|endoftext|><|prompter|>How many different types of beds are there?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"bedType","aggregation":"count"}]}}<|endoftext|><|prompter|>Find the number of distinct bed types available in this inn.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"bedType","aggregation":"count"}]}}<|endoftext|><|prompter|>Find the name and id of the top 3 expensive rooms.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"basePrice","limit":3,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>What are the name and id of the three highest priced rooms?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"basePrice","limit":3,"aggregation":"avg","direction":"desk"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["RoomId","roomName","beds","bedType","maxOccupancy","basePrice","decor"],"name":"Rooms","type":"grid"}]<|endoftext|><|prompter|>Find the names of all modern rooms with a base price below $160 and two beds.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"basePrice","operation":"<","value":160},{"actionType":"ChangeCondition","column":"beds","operation":"=","value":2},{"actionType":"ChangeCondition","column":"decor","operation":"=","value":"modern"}]}}<|endoftext|><|prompter|>What are the names of modern rooms that have a base price lower than $160 and two beds.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"basePrice","operation":"<","value":160},{"actionType":"ChangeCondition","column":"beds","operation":"=","value":2},{"actionType":"ChangeCondition","column":"decor","operation":"=","value":"modern"}]}}<|endoftext|><|prompter|>Find all the rooms that have a price higher than 160 and can accommodate more than 2 people. Report room names and ids.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"basePrice","operation":">","value":160},{"actionType":"ChangeCondition","column":"maxOccupancy","operation":">","value":2}]}}<|endoftext|><|prompter|>What are the room names and ids of all the rooms that cost more than 160 and can accommodate more than two people.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"basePrice","operation":">","value":160},{"actionType":"ChangeCondition","column":"maxOccupancy","operation":">","value":2}]}}<|endoftext|><|prompter|>How many king beds are there?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"beds","aggregation":"sum"},{"actionType":"ChangeCondition","column":"bedtype","operation":"=","value":"King"}]}}<|endoftext|><|prompter|>Find the total number of king beds available.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"beds","aggregation":"sum"},{"actionType":"ChangeCondition","column":"bedtype","operation":"=","value":"King"}]}}<|endoftext|><|prompter|>List the names and decor of rooms that have a king bed. Sort the list by their price.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"bedtype","operation":"=","value":"King"},{"actionType":"ChangeSorting","column":"basePrice","direction":"ask"}]}}<|endoftext|><|prompter|>What are the names and decor of rooms with a king bed? Sort them by their price<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"bedtype","operation":"=","value":"King"},{"actionType":"ChangeSorting","column":"basePrice","direction":"ask"}]}}<|endoftext|><|prompter|>Which room has cheapest base price? List the room's name and the base price.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"basePrice","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>What are the room name and base price of the room with the lowest base price?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"basePrice","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>What is the decor of room Recluse and defiance?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"roomName","operation":"=","value":"'Recluse and defiance'"}]}}<|endoftext|><|prompter|>Return the decor of the room named "Recluse and defiance".<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"roomName","operation":"=","value":"'Recluse and defiance'"}]}}<|endoftext|><|prompter|>What is the average base price of different bed type? List bed type and average base price.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"basePrice","aggregation":"avg"},{"actionType":"ChangeGrouping","column":"bedType"}]}}<|endoftext|><|prompter|>For each bed type, find the average base price of different bed type.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"basePrice","aggregation":"avg"},{"actionType":"ChangeGrouping","column":"bedType"}]}}<|endoftext|><|prompter|>What is the total number of people who could stay in the modern rooms in this inn?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"maxOccupancy","aggregation":"sum"},{"actionType":"ChangeCondition","column":"decor","operation":"=","value":"modern"}]}}<|endoftext|><|prompter|>How many people in total can stay in the modern rooms of this inn?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"maxOccupancy","aggregation":"sum"},{"actionType":"ChangeCondition","column":"decor","operation":"=","value":"modern"}]}}<|endoftext|><|prompter|>Find the number of rooms with a king bed.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"bedType","operation":"=","value":"'King'"}]}}<|endoftext|><|prompter|>How many rooms have a king bed?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"bedType","operation":"=","value":"'King'"}]}}<|endoftext|><|prompter|>Find the number of rooms for each bed type.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"bedType"}]}}<|endoftext|><|prompter|>What are the number of rooms for each bed type?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"bedType"}]}}<|endoftext|><|prompter|>Find the name of the room with the maximum occupancy.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"maxOccupancy","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>What is the name of the room that can accommodate the most people?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"maxOccupancy","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>Find the id and name of the most expensive base price room.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"basePrice","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>Which room has the highest base price?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"basePrice","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>List the type of bed and name of all traditional rooms.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"decor","operation":"=","value":"'traditional'"}]}}<|endoftext|><|prompter|>What are the bed type and name of all the rooms with traditional decor?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"decor","operation":"=","value":"'traditional'"}]}}<|endoftext|><|prompter|>How many rooms with king beds are there for each decor type?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"bedType","operation":"=","value":"'King'"},{"actionType":"ChangeGrouping","column":"decor"}]}}<|endoftext|><|prompter|>How many rooms have king beds? Report the number for each decor type.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"bedType","operation":"=","value":"'King'"},{"actionType":"ChangeGrouping","column":"decor"}]}}<|endoftext|><|prompter|>List the name of all rooms sorted by their prices.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"basePrice","direction":"ask"}]}}<|endoftext|><|prompter|>Sort all the rooms according to the price. Just report the room names.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"basePrice","direction":"ask"}]}}<|endoftext|><|prompter|>Find the number of rooms with price higher than 120 for different decor.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"basePrice","operation":">","value":120},{"actionType":"ChangeGrouping","column":"decor"}]}}<|endoftext|><|prompter|>How many rooms cost more than 120, for each different decor?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"basePrice","operation":">","value":120},{"actionType":"ChangeGrouping","column":"decor"}]}}<|endoftext|><|prompter|>For each bed type, find the average room price.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"basePrice","aggregation":"avg"},{"actionType":"ChangeGrouping","column":"bedType"}]}}<|endoftext|><|prompter|>What is the average base price of rooms, for each bed type?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"basePrice","aggregation":"avg"},{"actionType":"ChangeGrouping","column":"bedType"}]}}<|endoftext|><|prompter|>How many different types of beds are there?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"bedType","aggregation":"count"}]}}<|endoftext|><|prompter|>Find the number of distinct bed types available in this inn.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"bedType","aggregation":"count"}]}}<|endoftext|><|prompter|>Find the name and id of the top 3 expensive rooms.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"basePrice","limit":3,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>What are the name and id of the three highest priced rooms?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"basePrice","limit":3,"aggregation":"avg","direction":"desk"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["RoomId","roomName","beds","bedType","maxOccupancy","basePrice","decor"],"name":"Rooms","type":"grid"}]<|endoftext|><|prompter|>Find the names of all modern rooms with a base price below $160 and two beds.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"basePrice","operation":"<","value":160},{"actionType":"ChangeCondition","column":"beds","operation":"=","value":2},{"actionType":"ChangeCondition","column":"decor","operation":"=","value":"modern"}]}}<|endoftext|><|prompter|>What are the names of modern rooms that have a base price lower than $160 and two beds.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"basePrice","operation":"<","value":160},{"actionType":"ChangeCondition","column":"beds","operation":"=","value":2},{"actionType":"ChangeCondition","column":"decor","operation":"=","value":"modern"}]}}<|endoftext|><|prompter|>Find all the rooms that have a price higher than 160 and can accommodate more than 2 people. Report room names and ids.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"basePrice","operation":">","value":160},{"actionType":"ChangeCondition","column":"maxOccupancy","operation":">","value":2}]}}<|endoftext|><|prompter|>What are the room names and ids of all the rooms that cost more than 160 and can accommodate more than two people.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"basePrice","operation":">","value":160},{"actionType":"ChangeCondition","column":"maxOccupancy","operation":">","value":2}]}}<|endoftext|><|prompter|>How many king beds are there?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"beds","aggregation":"sum"},{"actionType":"ChangeCondition","column":"bedtype","operation":"=","value":"King"}]}}<|endoftext|><|prompter|>Find the total number of king beds available.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"beds","aggregation":"sum"},{"actionType":"ChangeCondition","column":"bedtype","operation":"=","value":"King"}]}}<|endoftext|><|prompter|>List the names and decor of rooms that have a king bed. Sort the list by their price.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"bedtype","operation":"=","value":"King"},{"actionType":"ChangeSorting","column":"basePrice","direction":"ask"}]}}<|endoftext|><|prompter|>What are the names and decor of rooms with a king bed? Sort them by their price<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"bedtype","operation":"=","value":"King"},{"actionType":"ChangeSorting","column":"basePrice","direction":"ask"}]}}<|endoftext|><|prompter|>Which room has cheapest base price? List the room's name and the base price.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"basePrice","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>What are the room name and base price of the room with the lowest base price?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"basePrice","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>What is the decor of room Recluse and defiance?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"roomName","operation":"=","value":"'Recluse and defiance'"}]}}<|endoftext|><|prompter|>Return the decor of the room named "Recluse and defiance".<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"roomName","operation":"=","value":"'Recluse and defiance'"}]}}<|endoftext|><|prompter|>What is the average base price of different bed type? List bed type and average base price.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"basePrice","aggregation":"avg"},{"actionType":"ChangeGrouping","column":"bedType"}]}}<|endoftext|><|prompter|>For each bed type, find the average base price of different bed type.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"basePrice","aggregation":"avg"},{"actionType":"ChangeGrouping","column":"bedType"}]}}<|endoftext|><|prompter|>What is the total number of people who could stay in the modern rooms in this inn?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"maxOccupancy","aggregation":"sum"},{"actionType":"ChangeCondition","column":"decor","operation":"=","value":"modern"}]}}<|endoftext|><|prompter|>How many people in total can stay in the modern rooms of this inn?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"maxOccupancy","aggregation":"sum"},{"actionType":"ChangeCondition","column":"decor","operation":"=","value":"modern"}]}}<|endoftext|><|prompter|>Find the number of rooms with a king bed.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"bedType","operation":"=","value":"'King'"}]}}<|endoftext|><|prompter|>How many rooms have a king bed?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"bedType","operation":"=","value":"'King'"}]}}<|endoftext|><|prompter|>Find the number of rooms for each bed type.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"bedType"}]}}<|endoftext|><|prompter|>What are the number of rooms for each bed type?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"bedType"}]}}<|endoftext|><|prompter|>Find the name of the room with the maximum occupancy.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"maxOccupancy","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>What is the name of the room that can accommodate the most people?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"maxOccupancy","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>Find the id and name of the most expensive base price room.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"basePrice","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>Which room has the highest base price?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"basePrice","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>List the type of bed and name of all traditional rooms.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"decor","operation":"=","value":"'traditional'"}]}}<|endoftext|><|prompter|>What are the bed type and name of all the rooms with traditional decor?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"decor","operation":"=","value":"'traditional'"}]}}<|endoftext|><|prompter|>Find the number of rooms with king bed for each decor type.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"bedType","operation":"=","value":"'King'"},{"actionType":"ChangeGrouping","column":"decor"}]}}<|endoftext|><|prompter|>How many captains under 50 years old are in each rank?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"bedType","operation":"=","value":"'King'"},{"actionType":"ChangeGrouping","column":"decor"}]}}<|endoftext|><|prompter|>List the name of all rooms sorted by their prices.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"basePrice","direction":"ask"}]}}<|endoftext|><|prompter|>Sort all the rooms according to the price. Just report the room names.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"basePrice","direction":"ask"}]}}<|endoftext|><|prompter|>Find the number of rooms with price higher than 120 for different decor.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"basePrice","operation":">","value":120},{"actionType":"ChangeGrouping","column":"decor"}]}}<|endoftext|><|prompter|>How many rooms cost more than 120, for each different decor?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"basePrice","operation":">","value":120},{"actionType":"ChangeGrouping","column":"decor"}]}}<|endoftext|><|prompter|>For each bed type, find the average room price.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"basePrice","aggregation":"avg"},{"actionType":"ChangeGrouping","column":"bedType"}]}}<|endoftext|><|prompter|>What is the average base price of rooms, for each bed type?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"basePrice","aggregation":"avg"},{"actionType":"ChangeGrouping","column":"bedType"}]}}<|endoftext|><|prompter|>How many different types of beds are there?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"bedType","aggregation":"count"}]}}<|endoftext|><|prompter|>Find the number of distinct bed types available in this inn.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"bedType","aggregation":"count"}]}}<|endoftext|><|prompter|>Find the name and id of the top 3 expensive rooms.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"basePrice","limit":3,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>What are the name and id of the three highest priced rooms?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"basePrice","limit":3,"aggregation":"avg","direction":"desk"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["RoomId","roomName","beds","bedType","maxOccupancy","basePrice","decor"],"name":"Rooms","type":"grid"}]<|endoftext|><|prompter|>Find the names of all modern rooms with a base price below $160 and two beds.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"basePrice","operation":"<","value":160},{"actionType":"ChangeCondition","column":"beds","operation":"=","value":2},{"actionType":"ChangeCondition","column":"decor","operation":"=","value":"modern"}]}}<|endoftext|><|prompter|>What are the names of modern rooms that have a base price lower than $160 and two beds.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"basePrice","operation":"<","value":160},{"actionType":"ChangeCondition","column":"beds","operation":"=","value":2},{"actionType":"ChangeCondition","column":"decor","operation":"=","value":"modern"}]}}<|endoftext|><|prompter|>Find all the rooms that have a price higher than 160 and can accommodate more than 2 people. Report room names and ids.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"basePrice","operation":">","value":160},{"actionType":"ChangeCondition","column":"maxOccupancy","operation":">","value":2}]}}<|endoftext|><|prompter|>What are the room names and ids of all the rooms that cost more than 160 and can accommodate more than two people.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"basePrice","operation":">","value":160},{"actionType":"ChangeCondition","column":"maxOccupancy","operation":">","value":2}]}}<|endoftext|><|prompter|>How many king beds are there?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"beds","aggregation":"sum"},{"actionType":"ChangeCondition","column":"bedtype","operation":"=","value":"King"}]}}<|endoftext|><|prompter|>Find the total number of king beds available.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"beds","aggregation":"sum"},{"actionType":"ChangeCondition","column":"bedtype","operation":"=","value":"King"}]}}<|endoftext|><|prompter|>List the names and decor of rooms that have a king bed. Sort the list by their price.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"bedtype","operation":"=","value":"King"},{"actionType":"ChangeSorting","column":"basePrice","direction":"ask"}]}}<|endoftext|><|prompter|>What are the names and decor of rooms with a king bed? Sort them by their price<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"bedtype","operation":"=","value":"King"},{"actionType":"ChangeSorting","column":"basePrice","direction":"ask"}]}}<|endoftext|><|prompter|>Which room has cheapest base price? List the room's name and the base price.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"basePrice","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>What are the room name and base price of the room with the lowest base price?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"basePrice","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>What is the decor of room Recluse and defiance?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"roomName","operation":"=","value":"'Recluse and defiance'"}]}}<|endoftext|><|prompter|>Return the decor of the room named "Recluse and defiance".<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"roomName","operation":"=","value":"'Recluse and defiance'"}]}}<|endoftext|><|prompter|>What is the average base price of different bed type? List bed type and average base price.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"basePrice","aggregation":"avg"},{"actionType":"ChangeGrouping","column":"bedType"}]}}<|endoftext|><|prompter|>For each bed type, find the average base price of different bed type.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"basePrice","aggregation":"avg"},{"actionType":"ChangeGrouping","column":"bedType"}]}}<|endoftext|><|prompter|>What is the total number of people who could stay in the modern rooms in this inn?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"maxOccupancy","aggregation":"sum"},{"actionType":"ChangeCondition","column":"decor","operation":"=","value":"modern"}]}}<|endoftext|><|prompter|>How many people in total can stay in the modern rooms of this inn?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"maxOccupancy","aggregation":"sum"},{"actionType":"ChangeCondition","column":"decor","operation":"=","value":"modern"}]}}<|endoftext|><|prompter|>Find the number of rooms with a king bed.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"bedType","operation":"=","value":"'King'"}]}}<|endoftext|><|prompter|>How many rooms have a king bed?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"bedType","operation":"=","value":"'King'"}]}}<|endoftext|><|prompter|>Find the number of rooms for each bed type.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"bedType"}]}}<|endoftext|><|prompter|>What are the number of rooms for each bed type?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"bedType"}]}}<|endoftext|><|prompter|>Find the name of the room with the maximum occupancy.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"maxOccupancy","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>What is the name of the room that can accommodate the most people?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"maxOccupancy","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>Find the id and name of the most expensive base price room.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"basePrice","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>Which room has the highest base price?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"basePrice","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>List the type of bed and name of all traditional rooms.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"decor","operation":"=","value":"'traditional'"}]}}<|endoftext|><|prompter|>What are the bed type and name of all the rooms with traditional decor?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"decor","operation":"=","value":"'traditional'"}]}}<|endoftext|><|prompter|>Find the number of rooms with king bed for each decor type.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"bedType","operation":"=","value":"'King'"},{"actionType":"ChangeGrouping","column":"decor"}]}}<|endoftext|><|prompter|>How many rooms have king beds, categorized by decor type?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"bedType","operation":"=","value":"'King'"},{"actionType":"ChangeGrouping","column":"decor"}]}}<|endoftext|><|prompter|>List the name of all rooms sorted by their prices.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"basePrice","direction":"ask"}]}}<|endoftext|><|prompter|>Sort all the rooms according to the price. Just report the room names.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"basePrice","direction":"ask"}]}}<|endoftext|><|prompter|>Find the number of rooms with price higher than 120 for different decor.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"basePrice","operation":">","value":120},{"actionType":"ChangeGrouping","column":"decor"}]}}<|endoftext|><|prompter|>How many rooms cost more than 120, for each different decor?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"basePrice","operation":">","value":120},{"actionType":"ChangeGrouping","column":"decor"}]}}<|endoftext|><|prompter|>For each bed type, find the average room price.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"basePrice","aggregation":"avg"},{"actionType":"ChangeGrouping","column":"bedType"}]}}<|endoftext|><|prompter|>What is the average base price of rooms, for each bed type?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"basePrice","aggregation":"avg"},{"actionType":"ChangeGrouping","column":"bedType"}]}}<|endoftext|><|prompter|>How many different types of beds are there?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"bedType","aggregation":"count"}]}}<|endoftext|><|prompter|>Find the number of distinct bed types available in this inn.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"bedType","aggregation":"count"}]}}<|endoftext|><|prompter|>Find the name and id of the top 3 expensive rooms.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"basePrice","limit":3,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>What are the name and id of the three highest priced rooms?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"basePrice","limit":3,"aggregation":"avg","direction":"desk"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["RoomId","roomName","beds","bedType","maxOccupancy","basePrice","decor"],"name":"Rooms","type":"grid"}]<|endoftext|><|prompter|>Find the names of all modern rooms with a base price below $160 and two beds.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"basePrice","operation":"<","value":160},{"actionType":"ChangeCondition","column":"beds","operation":"=","value":2},{"actionType":"ChangeCondition","column":"decor","operation":"=","value":"modern"}]}}<|endoftext|><|prompter|>What are the names of modern rooms that have a base price lower than $160 and two beds.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"basePrice","operation":"<","value":160},{"actionType":"ChangeCondition","column":"beds","operation":"=","value":2},{"actionType":"ChangeCondition","column":"decor","operation":"=","value":"modern"}]}}<|endoftext|><|prompter|>Find all the rooms that have a price higher than 160 and can accommodate more than 2 people. Report room names and ids.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"basePrice","operation":">","value":160},{"actionType":"ChangeCondition","column":"maxOccupancy","operation":">","value":2}]}}<|endoftext|><|prompter|>What are the room names and ids of all the rooms that cost more than 160 and can accommodate more than two people.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"basePrice","operation":">","value":160},{"actionType":"ChangeCondition","column":"maxOccupancy","operation":">","value":2}]}}<|endoftext|><|prompter|>How many king beds are there?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"beds","aggregation":"sum"},{"actionType":"ChangeCondition","column":"bedtype","operation":"=","value":"King"}]}}<|endoftext|><|prompter|>Find the total number of king beds available.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"beds","aggregation":"sum"},{"actionType":"ChangeCondition","column":"bedtype","operation":"=","value":"King"}]}}<|endoftext|><|prompter|>List the names and decor of rooms that have a king bed. Sort the list by their price.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"bedtype","operation":"=","value":"King"},{"actionType":"ChangeSorting","column":"basePrice","direction":"ask"}]}}<|endoftext|><|prompter|>What are the names and decor of rooms with a king bed? Sort them by their price<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"bedtype","operation":"=","value":"King"},{"actionType":"ChangeSorting","column":"basePrice","direction":"ask"}]}}<|endoftext|><|prompter|>Which room has cheapest base price? List the room's name and the base price.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"basePrice","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>What are the room name and base price of the room with the lowest base price?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"basePrice","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>What is the decor of room Recluse and defiance?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"roomName","operation":"=","value":"'Recluse and defiance'"}]}}<|endoftext|><|prompter|>Return the decor of the room named "Recluse and defiance".<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"roomName","operation":"=","value":"'Recluse and defiance'"}]}}<|endoftext|><|prompter|>What is the average base price of different bed type? List bed type and average base price.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"basePrice","aggregation":"avg"},{"actionType":"ChangeGrouping","column":"bedType"}]}}<|endoftext|><|prompter|>For each bed type, find the average base price of different bed type.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"basePrice","aggregation":"avg"},{"actionType":"ChangeGrouping","column":"bedType"}]}}<|endoftext|><|prompter|>What is the total number of people who could stay in the modern rooms in this inn?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"maxOccupancy","aggregation":"sum"},{"actionType":"ChangeCondition","column":"decor","operation":"=","value":"modern"}]}}<|endoftext|><|prompter|>How many people in total can stay in the modern rooms of this inn?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"maxOccupancy","aggregation":"sum"},{"actionType":"ChangeCondition","column":"decor","operation":"=","value":"modern"}]}}<|endoftext|><|prompter|>Find the number of rooms with a king bed.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"bedType","operation":"=","value":"'King'"}]}}<|endoftext|><|prompter|>How many rooms have a king bed?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"bedType","operation":"=","value":"'King'"}]}}<|endoftext|><|prompter|>Find the number of rooms for each bed type.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"bedType"}]}}<|endoftext|><|prompter|>What are the number of rooms for each bed type?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"bedType"}]}}<|endoftext|><|prompter|>Find the name of the room with the maximum occupancy.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"maxOccupancy","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>What is the name of the room that can accommodate the most people?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"maxOccupancy","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>Find the id and name of the most expensive base price room.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"basePrice","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>Which room has the highest base price?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"basePrice","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>List the type of bed and name of all traditional rooms.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"decor","operation":"=","value":"'traditional'"}]}}<|endoftext|><|prompter|>What are the bed type and name of all the rooms with traditional decor?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"decor","operation":"=","value":"'traditional'"}]}}<|endoftext|><|prompter|>Find the number of rooms with king bed for each decor type.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"bedType","operation":"=","value":"'King'"},{"actionType":"ChangeGrouping","column":"decor"}]}}<|endoftext|><|prompter|>How many rooms have king beds? Report the number for each decor type.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"bedType","operation":"=","value":"'King'"},{"actionType":"ChangeGrouping","column":"decor"}]}}<|endoftext|><|prompter|>List the name of all rooms sorted by their prices.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"basePrice","direction":"ask"}]}}<|endoftext|><|prompter|>Sort all the rooms according to the price. Just report the room names.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"basePrice","direction":"ask"}]}}<|endoftext|><|prompter|>Count the number of rooms with prices above 120 for different decors.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"basePrice","operation":">","value":120},{"actionType":"ChangeGrouping","column":"decor"}]}}<|endoftext|><|prompter|>How many rooms cost more than 120, for each different decor?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"basePrice","operation":">","value":120},{"actionType":"ChangeGrouping","column":"decor"}]}}<|endoftext|><|prompter|>For each bed type, find the average room price.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"basePrice","aggregation":"avg"},{"actionType":"ChangeGrouping","column":"bedType"}]}}<|endoftext|><|prompter|>What is the average base price of rooms, for each bed type?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"basePrice","aggregation":"avg"},{"actionType":"ChangeGrouping","column":"bedType"}]}}<|endoftext|><|prompter|>How many different types of beds are there?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"bedType","aggregation":"count"}]}}<|endoftext|><|prompter|>Find the number of distinct bed types available in this inn.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"bedType","aggregation":"count"}]}}<|endoftext|><|prompter|>Find the name and id of the top 3 expensive rooms.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"basePrice","limit":3,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>What are the name and id of the three highest priced rooms?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"basePrice","limit":3,"aggregation":"avg","direction":"desk"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["RoomId","roomName","beds","bedType","maxOccupancy","basePrice","decor"],"name":"Rooms","type":"grid"}]<|endoftext|><|prompter|>Find the names of all modern rooms with a base price below $160 and two beds.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"basePrice","operation":"<","value":160},{"actionType":"ChangeCondition","column":"beds","operation":"=","value":2},{"actionType":"ChangeCondition","column":"decor","operation":"=","value":"modern"}]}}<|endoftext|><|prompter|>What are the names of modern rooms that have a base price lower than $160 and two beds.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"basePrice","operation":"<","value":160},{"actionType":"ChangeCondition","column":"beds","operation":"=","value":2},{"actionType":"ChangeCondition","column":"decor","operation":"=","value":"modern"}]}}<|endoftext|><|prompter|>Find all the rooms that have a price higher than 160 and can accommodate more than 2 people. Report room names and ids.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"basePrice","operation":">","value":160},{"actionType":"ChangeCondition","column":"maxOccupancy","operation":">","value":2}]}}<|endoftext|><|prompter|>What are the room names and ids of all the rooms that cost more than 160 and can accommodate more than two people.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"basePrice","operation":">","value":160},{"actionType":"ChangeCondition","column":"maxOccupancy","operation":">","value":2}]}}<|endoftext|><|prompter|>How many king beds are there?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"beds","aggregation":"sum"},{"actionType":"ChangeCondition","column":"bedtype","operation":"=","value":"King"}]}}<|endoftext|><|prompter|>Find the total number of king beds available.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"beds","aggregation":"sum"},{"actionType":"ChangeCondition","column":"bedtype","operation":"=","value":"King"}]}}<|endoftext|><|prompter|>List the names and decor of rooms that have a king bed. Sort the list by their price.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"bedtype","operation":"=","value":"King"},{"actionType":"ChangeSorting","column":"basePrice","direction":"ask"}]}}<|endoftext|><|prompter|>What are the names and decor of rooms with a king bed? Sort them by their price<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"bedtype","operation":"=","value":"King"},{"actionType":"ChangeSorting","column":"basePrice","direction":"ask"}]}}<|endoftext|><|prompter|>Which room has cheapest base price? List the room's name and the base price.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"basePrice","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>What are the room name and base price of the room with the lowest base price?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"basePrice","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>What is the decor of room Recluse and defiance?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"roomName","operation":"=","value":"'Recluse and defiance'"}]}}<|endoftext|><|prompter|>Return the decor of the room named "Recluse and defiance".<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"roomName","operation":"=","value":"'Recluse and defiance'"}]}}<|endoftext|><|prompter|>What is the average base price of different bed type? List bed type and average base price.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"basePrice","aggregation":"avg"},{"actionType":"ChangeGrouping","column":"bedType"}]}}<|endoftext|><|prompter|>For each bed type, find the average base price of different bed type.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"basePrice","aggregation":"avg"},{"actionType":"ChangeGrouping","column":"bedType"}]}}<|endoftext|><|prompter|>What is the total number of people who could stay in the modern rooms in this inn?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"maxOccupancy","aggregation":"sum"},{"actionType":"ChangeCondition","column":"decor","operation":"=","value":"modern"}]}}<|endoftext|><|prompter|>How many people in total can stay in the modern rooms of this inn?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"maxOccupancy","aggregation":"sum"},{"actionType":"ChangeCondition","column":"decor","operation":"=","value":"modern"}]}}<|endoftext|><|prompter|>Find the number of rooms with a king bed.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"bedType","operation":"=","value":"'King'"}]}}<|endoftext|><|prompter|>How many rooms have a king bed?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"bedType","operation":"=","value":"'King'"}]}}<|endoftext|><|prompter|>Find the number of rooms for each bed type.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"bedType"}]}}<|endoftext|><|prompter|>What are the number of rooms for each bed type?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"bedType"}]}}<|endoftext|><|prompter|>Find the name of the room with the maximum occupancy.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"maxOccupancy","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>What is the name of the room that can accommodate the most people?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"maxOccupancy","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>Find the id and name of the most expensive base price room.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"basePrice","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>Which room has the highest base price?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"basePrice","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>List the type of bed and name of all traditional rooms.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"decor","operation":"=","value":"'traditional'"}]}}<|endoftext|><|prompter|>What are the bed type and name of all the rooms with traditional decor?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"decor","operation":"=","value":"'traditional'"}]}}<|endoftext|><|prompter|>Find the number of rooms with king bed for each decor type.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"bedType","operation":"=","value":"'King'"},{"actionType":"ChangeGrouping","column":"decor"}]}}<|endoftext|><|prompter|>How many rooms have king beds? Report the number for each decor type.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"bedType","operation":"=","value":"'King'"},{"actionType":"ChangeGrouping","column":"decor"}]}}<|endoftext|><|prompter|>List the name of all rooms sorted by their prices.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"basePrice","direction":"ask"}]}}<|endoftext|><|prompter|>Sort all the rooms according to the price. Just report the room names.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"basePrice","direction":"ask"}]}}<|endoftext|><|prompter|>Find the number of rooms with a price higher than 120 for each type of decor.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"basePrice","operation":">","value":120},{"actionType":"ChangeGrouping","column":"decor"}]}}<|endoftext|><|prompter|>How many rooms cost more than 120, for each different decor?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"basePrice","operation":">","value":120},{"actionType":"ChangeGrouping","column":"decor"}]}}<|endoftext|><|prompter|>For each bed type, find the average room price.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"basePrice","aggregation":"avg"},{"actionType":"ChangeGrouping","column":"bedType"}]}}<|endoftext|><|prompter|>What is the average base price of rooms, for each bed type?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"basePrice","aggregation":"avg"},{"actionType":"ChangeGrouping","column":"bedType"}]}}<|endoftext|><|prompter|>How many different types of beds are there?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"bedType","aggregation":"count"}]}}<|endoftext|><|prompter|>Find the number of distinct bed types available in this inn.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"bedType","aggregation":"count"}]}}<|endoftext|><|prompter|>Find the name and id of the top 3 expensive rooms.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"basePrice","limit":3,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>What are the name and id of the three highest priced rooms?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"basePrice","limit":3,"aggregation":"avg","direction":"desk"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["RoomId","roomName","beds","bedType","maxOccupancy","basePrice","decor"],"name":"Rooms","type":"grid"}]<|endoftext|><|prompter|>Find the names of all modern rooms with a base price below $160 and two beds.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"basePrice","operation":"<","value":160},{"actionType":"ChangeCondition","column":"beds","operation":"=","value":2},{"actionType":"ChangeCondition","column":"decor","operation":"=","value":"modern"}]}}<|endoftext|><|prompter|>What are the names of modern rooms that have a base price lower than $160 and two beds.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"basePrice","operation":"<","value":160},{"actionType":"ChangeCondition","column":"beds","operation":"=","value":2},{"actionType":"ChangeCondition","column":"decor","operation":"=","value":"modern"}]}}<|endoftext|><|prompter|>Find all the rooms that have a price higher than 160 and can accommodate more than 2 people. Report room names and ids.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"basePrice","operation":">","value":160},{"actionType":"ChangeCondition","column":"maxOccupancy","operation":">","value":2}]}}<|endoftext|><|prompter|>What are the room names and ids of all the rooms that cost more than 160 and can accommodate more than two people.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"basePrice","operation":">","value":160},{"actionType":"ChangeCondition","column":"maxOccupancy","operation":">","value":2}]}}<|endoftext|><|prompter|>How many king beds are there?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"beds","aggregation":"sum"},{"actionType":"ChangeCondition","column":"bedtype","operation":"=","value":"King"}]}}<|endoftext|><|prompter|>Find the total number of king beds available.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"beds","aggregation":"sum"},{"actionType":"ChangeCondition","column":"bedtype","operation":"=","value":"King"}]}}<|endoftext|><|prompter|>List the names and decor of rooms that have a king bed. Sort the list by their price.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"bedtype","operation":"=","value":"King"},{"actionType":"ChangeSorting","column":"basePrice","direction":"ask"}]}}<|endoftext|><|prompter|>What are the names and decor of rooms with a king bed? Sort them by their price<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"bedtype","operation":"=","value":"King"},{"actionType":"ChangeSorting","column":"basePrice","direction":"ask"}]}}<|endoftext|><|prompter|>Which room has cheapest base price? List the room's name and the base price.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"basePrice","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>What are the room name and base price of the room with the lowest base price?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"basePrice","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>What is the decor of room Recluse and defiance?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"roomName","operation":"=","value":"'Recluse and defiance'"}]}}<|endoftext|><|prompter|>Return the decor of the room named "Recluse and defiance".<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"roomName","operation":"=","value":"'Recluse and defiance'"}]}}<|endoftext|><|prompter|>What is the average base price of different bed type? List bed type and average base price.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"basePrice","aggregation":"avg"},{"actionType":"ChangeGrouping","column":"bedType"}]}}<|endoftext|><|prompter|>For each bed type, find the average base price of different bed type.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"basePrice","aggregation":"avg"},{"actionType":"ChangeGrouping","column":"bedType"}]}}<|endoftext|><|prompter|>What is the total number of people who could stay in the modern rooms in this inn?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"maxOccupancy","aggregation":"sum"},{"actionType":"ChangeCondition","column":"decor","operation":"=","value":"modern"}]}}<|endoftext|><|prompter|>How many people in total can stay in the modern rooms of this inn?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"maxOccupancy","aggregation":"sum"},{"actionType":"ChangeCondition","column":"decor","operation":"=","value":"modern"}]}}<|endoftext|><|prompter|>Find the number of rooms with a king bed.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"bedType","operation":"=","value":"'King'"}]}}<|endoftext|><|prompter|>How many rooms have a king bed?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"bedType","operation":"=","value":"'King'"}]}}<|endoftext|><|prompter|>Find the number of rooms for each bed type.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"bedType"}]}}<|endoftext|><|prompter|>What are the number of rooms for each bed type?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"bedType"}]}}<|endoftext|><|prompter|>Find the name of the room with the maximum occupancy.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"maxOccupancy","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>What is the name of the room that can accommodate the most people?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"maxOccupancy","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>Find the id and name of the most expensive base price room.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"basePrice","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>Which room has the highest base price?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"basePrice","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>List the type of bed and name of all traditional rooms.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"decor","operation":"=","value":"'traditional'"}]}}<|endoftext|><|prompter|>What are the bed type and name of all the rooms with traditional decor?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"decor","operation":"=","value":"'traditional'"}]}}<|endoftext|><|prompter|>Find the number of rooms with king bed for each decor type.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"bedType","operation":"=","value":"'King'"},{"actionType":"ChangeGrouping","column":"decor"}]}}<|endoftext|><|prompter|>How many rooms have king beds? Report the number for each decor type.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"bedType","operation":"=","value":"'King'"},{"actionType":"ChangeGrouping","column":"decor"}]}}<|endoftext|><|prompter|>List the name of all rooms sorted by their prices.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"basePrice","direction":"ask"}]}}<|endoftext|><|prompter|>Sort all the rooms according to the price. Just report the room names.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"basePrice","direction":"ask"}]}}<|endoftext|><|prompter|>Find the number of rooms with price higher than 120 for different decor.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"basePrice","operation":">","value":120},{"actionType":"ChangeGrouping","column":"decor"}]}}<|endoftext|><|prompter|>For each decor type, how many rooms cost more than $120?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"basePrice","operation":">","value":120},{"actionType":"ChangeGrouping","column":"decor"}]}}<|endoftext|><|prompter|>For each bed type, find the average room price.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"basePrice","aggregation":"avg"},{"actionType":"ChangeGrouping","column":"bedType"}]}}<|endoftext|><|prompter|>What is the average base price of rooms, for each bed type?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"basePrice","aggregation":"avg"},{"actionType":"ChangeGrouping","column":"bedType"}]}}<|endoftext|><|prompter|>How many different types of beds are there?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"bedType","aggregation":"count"}]}}<|endoftext|><|prompter|>Find the number of distinct bed types available in this inn.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"bedType","aggregation":"count"}]}}<|endoftext|><|prompter|>Find the name and id of the top 3 expensive rooms.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"basePrice","limit":3,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>What are the name and id of the three highest priced rooms?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"basePrice","limit":3,"aggregation":"avg","direction":"desk"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["RoomId","roomName","beds","bedType","maxOccupancy","basePrice","decor"],"name":"Rooms","type":"grid"}]<|endoftext|><|prompter|>Find the names of all modern rooms with a base price below $160 and two beds.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"basePrice","operation":"<","value":160},{"actionType":"ChangeCondition","column":"beds","operation":"=","value":2},{"actionType":"ChangeCondition","column":"decor","operation":"=","value":"modern"}]}}<|endoftext|><|prompter|>What are the names of modern rooms that have a base price lower than $160 and two beds.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"basePrice","operation":"<","value":160},{"actionType":"ChangeCondition","column":"beds","operation":"=","value":2},{"actionType":"ChangeCondition","column":"decor","operation":"=","value":"modern"}]}}<|endoftext|><|prompter|>Find all the rooms that have a price higher than 160 and can accommodate more than 2 people. Report room names and ids.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"basePrice","operation":">","value":160},{"actionType":"ChangeCondition","column":"maxOccupancy","operation":">","value":2}]}}<|endoftext|><|prompter|>What are the room names and ids of all the rooms that cost more than 160 and can accommodate more than two people.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"basePrice","operation":">","value":160},{"actionType":"ChangeCondition","column":"maxOccupancy","operation":">","value":2}]}}<|endoftext|><|prompter|>How many king beds are there?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"beds","aggregation":"sum"},{"actionType":"ChangeCondition","column":"bedtype","operation":"=","value":"King"}]}}<|endoftext|><|prompter|>Find the total number of king beds available.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"beds","aggregation":"sum"},{"actionType":"ChangeCondition","column":"bedtype","operation":"=","value":"King"}]}}<|endoftext|><|prompter|>List the names and decor of rooms that have a king bed. Sort the list by their price.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"bedtype","operation":"=","value":"King"},{"actionType":"ChangeSorting","column":"basePrice","direction":"ask"}]}}<|endoftext|><|prompter|>What are the names and decor of rooms with a king bed? Sort them by their price<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"bedtype","operation":"=","value":"King"},{"actionType":"ChangeSorting","column":"basePrice","direction":"ask"}]}}<|endoftext|><|prompter|>Which room has cheapest base price? List the room's name and the base price.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"basePrice","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>What are the room name and base price of the room with the lowest base price?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"basePrice","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>What is the decor of room Recluse and defiance?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"roomName","operation":"=","value":"'Recluse and defiance'"}]}}<|endoftext|><|prompter|>Return the decor of the room named "Recluse and defiance".<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"roomName","operation":"=","value":"'Recluse and defiance'"}]}}<|endoftext|><|prompter|>What is the average base price of different bed type? List bed type and average base price.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"basePrice","aggregation":"avg"},{"actionType":"ChangeGrouping","column":"bedType"}]}}<|endoftext|><|prompter|>For each bed type, find the average base price of different bed type.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"basePrice","aggregation":"avg"},{"actionType":"ChangeGrouping","column":"bedType"}]}}<|endoftext|><|prompter|>What is the total number of people who could stay in the modern rooms in this inn?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"maxOccupancy","aggregation":"sum"},{"actionType":"ChangeCondition","column":"decor","operation":"=","value":"modern"}]}}<|endoftext|><|prompter|>How many people in total can stay in the modern rooms of this inn?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"maxOccupancy","aggregation":"sum"},{"actionType":"ChangeCondition","column":"decor","operation":"=","value":"modern"}]}}<|endoftext|><|prompter|>Find the number of rooms with a king bed.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"bedType","operation":"=","value":"'King'"}]}}<|endoftext|><|prompter|>How many rooms have a king bed?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"bedType","operation":"=","value":"'King'"}]}}<|endoftext|><|prompter|>Find the number of rooms for each bed type.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"bedType"}]}}<|endoftext|><|prompter|>What are the number of rooms for each bed type?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"bedType"}]}}<|endoftext|><|prompter|>Find the name of the room with the maximum occupancy.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"maxOccupancy","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>What is the name of the room that can accommodate the most people?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"maxOccupancy","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>Find the id and name of the most expensive base price room.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"basePrice","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>Which room has the highest base price?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"basePrice","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>List the type of bed and name of all traditional rooms.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"decor","operation":"=","value":"'traditional'"}]}}<|endoftext|><|prompter|>What are the bed type and name of all the rooms with traditional decor?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"decor","operation":"=","value":"'traditional'"}]}}<|endoftext|><|prompter|>Find the number of rooms with king bed for each decor type.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"bedType","operation":"=","value":"'King'"},{"actionType":"ChangeGrouping","column":"decor"}]}}<|endoftext|><|prompter|>How many rooms have king beds? Report the number for each decor type.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"bedType","operation":"=","value":"'King'"},{"actionType":"ChangeGrouping","column":"decor"}]}}<|endoftext|><|prompter|>List the name of all rooms sorted by their prices.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"basePrice","direction":"ask"}]}}<|endoftext|><|prompter|>Sort all the rooms according to the price. Just report the room names.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"basePrice","direction":"ask"}]}}<|endoftext|><|prompter|>Find the number of rooms with price higher than 120 for different decor.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"basePrice","operation":">","value":120},{"actionType":"ChangeGrouping","column":"decor"}]}}<|endoftext|><|prompter|>How many rooms cost more than 120, categorized by decor type?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"basePrice","operation":">","value":120},{"actionType":"ChangeGrouping","column":"decor"}]}}<|endoftext|><|prompter|>For each bed type, find the average room price.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"basePrice","aggregation":"avg"},{"actionType":"ChangeGrouping","column":"bedType"}]}}<|endoftext|><|prompter|>What is the average base price of rooms, for each bed type?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"basePrice","aggregation":"avg"},{"actionType":"ChangeGrouping","column":"bedType"}]}}<|endoftext|><|prompter|>How many different types of beds are there?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"bedType","aggregation":"count"}]}}<|endoftext|><|prompter|>Find the number of distinct bed types available in this inn.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"bedType","aggregation":"count"}]}}<|endoftext|><|prompter|>Find the name and id of the top 3 expensive rooms.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"basePrice","limit":3,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>What are the name and id of the three highest priced rooms?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"basePrice","limit":3,"aggregation":"avg","direction":"desk"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["RoomId","roomName","beds","bedType","maxOccupancy","basePrice","decor"],"name":"Rooms","type":"grid"}]<|endoftext|><|prompter|>Find the names of all modern rooms with a base price below $160 and two beds.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"basePrice","operation":"<","value":160},{"actionType":"ChangeCondition","column":"beds","operation":"=","value":2},{"actionType":"ChangeCondition","column":"decor","operation":"=","value":"modern"}]}}<|endoftext|><|prompter|>What are the names of modern rooms that have a base price lower than $160 and two beds.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"basePrice","operation":"<","value":160},{"actionType":"ChangeCondition","column":"beds","operation":"=","value":2},{"actionType":"ChangeCondition","column":"decor","operation":"=","value":"modern"}]}}<|endoftext|><|prompter|>Find all the rooms that have a price higher than 160 and can accommodate more than 2 people. Report room names and ids.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"basePrice","operation":">","value":160},{"actionType":"ChangeCondition","column":"maxOccupancy","operation":">","value":2}]}}<|endoftext|><|prompter|>What are the room names and ids of all the rooms that cost more than 160 and can accommodate more than two people.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"basePrice","operation":">","value":160},{"actionType":"ChangeCondition","column":"maxOccupancy","operation":">","value":2}]}}<|endoftext|><|prompter|>How many king beds are there?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"beds","aggregation":"sum"},{"actionType":"ChangeCondition","column":"bedtype","operation":"=","value":"King"}]}}<|endoftext|><|prompter|>Find the total number of king beds available.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"beds","aggregation":"sum"},{"actionType":"ChangeCondition","column":"bedtype","operation":"=","value":"King"}]}}<|endoftext|><|prompter|>List the names and decor of rooms that have a king bed. Sort the list by their price.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"bedtype","operation":"=","value":"King"},{"actionType":"ChangeSorting","column":"basePrice","direction":"ask"}]}}<|endoftext|><|prompter|>What are the names and decor of rooms with a king bed? Sort them by their price<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"bedtype","operation":"=","value":"King"},{"actionType":"ChangeSorting","column":"basePrice","direction":"ask"}]}}<|endoftext|><|prompter|>Which room has cheapest base price? List the room's name and the base price.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"basePrice","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>What are the room name and base price of the room with the lowest base price?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"basePrice","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>What is the decor of room Recluse and defiance?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"roomName","operation":"=","value":"'Recluse and defiance'"}]}}<|endoftext|><|prompter|>Return the decor of the room named "Recluse and defiance".<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"roomName","operation":"=","value":"'Recluse and defiance'"}]}}<|endoftext|><|prompter|>What is the average base price of different bed type? List bed type and average base price.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"basePrice","aggregation":"avg"},{"actionType":"ChangeGrouping","column":"bedType"}]}}<|endoftext|><|prompter|>For each bed type, find the average base price of different bed type.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"basePrice","aggregation":"avg"},{"actionType":"ChangeGrouping","column":"bedType"}]}}<|endoftext|><|prompter|>What is the total number of people who could stay in the modern rooms in this inn?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"maxOccupancy","aggregation":"sum"},{"actionType":"ChangeCondition","column":"decor","operation":"=","value":"modern"}]}}<|endoftext|><|prompter|>How many people in total can stay in the modern rooms of this inn?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"maxOccupancy","aggregation":"sum"},{"actionType":"ChangeCondition","column":"decor","operation":"=","value":"modern"}]}}<|endoftext|><|prompter|>Find the number of rooms with a king bed.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"bedType","operation":"=","value":"'King'"}]}}<|endoftext|><|prompter|>How many rooms have a king bed?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"bedType","operation":"=","value":"'King'"}]}}<|endoftext|><|prompter|>Find the number of rooms for each bed type.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"bedType"}]}}<|endoftext|><|prompter|>What are the number of rooms for each bed type?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"bedType"}]}}<|endoftext|><|prompter|>Find the name of the room with the maximum occupancy.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"maxOccupancy","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>What is the name of the room that can accommodate the most people?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"maxOccupancy","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>Find the id and name of the most expensive base price room.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"basePrice","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>Which room has the highest base price?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"basePrice","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>List the type of bed and name of all traditional rooms.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"decor","operation":"=","value":"'traditional'"}]}}<|endoftext|><|prompter|>What are the bed type and name of all the rooms with traditional decor?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"decor","operation":"=","value":"'traditional'"}]}}<|endoftext|><|prompter|>Find the number of rooms with king bed for each decor type.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"bedType","operation":"=","value":"'King'"},{"actionType":"ChangeGrouping","column":"decor"}]}}<|endoftext|><|prompter|>How many rooms have king beds? Report the number for each decor type.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"bedType","operation":"=","value":"'King'"},{"actionType":"ChangeGrouping","column":"decor"}]}}<|endoftext|><|prompter|>List the name of all rooms sorted by their prices.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"basePrice","direction":"ask"}]}}<|endoftext|><|prompter|>Sort all the rooms according to the price. Just report the room names.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"basePrice","direction":"ask"}]}}<|endoftext|><|prompter|>Find the number of rooms with price higher than 120 for different decor.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"basePrice","operation":">","value":120},{"actionType":"ChangeGrouping","column":"decor"}]}}<|endoftext|><|prompter|>How many rooms cost more than 120, for each different decor?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"basePrice","operation":">","value":120},{"actionType":"ChangeGrouping","column":"decor"}]}}<|endoftext|><|prompter|>Calculate the average room cost for each bed type.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"basePrice","aggregation":"avg"},{"actionType":"ChangeGrouping","column":"bedType"}]}}<|endoftext|><|prompter|>What is the average base price of rooms, for each bed type?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"basePrice","aggregation":"avg"},{"actionType":"ChangeGrouping","column":"bedType"}]}}<|endoftext|><|prompter|>How many different types of beds are there?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"bedType","aggregation":"count"}]}}<|endoftext|><|prompter|>Find the number of distinct bed types available in this inn.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"bedType","aggregation":"count"}]}}<|endoftext|><|prompter|>Find the name and id of the top 3 expensive rooms.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"basePrice","limit":3,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>What are the name and id of the three highest priced rooms?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"basePrice","limit":3,"aggregation":"avg","direction":"desk"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["RoomId","roomName","beds","bedType","maxOccupancy","basePrice","decor"],"name":"Rooms","type":"grid"}]<|endoftext|><|prompter|>Find the names of all modern rooms with a base price below $160 and two beds.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"basePrice","operation":"<","value":160},{"actionType":"ChangeCondition","column":"beds","operation":"=","value":2},{"actionType":"ChangeCondition","column":"decor","operation":"=","value":"modern"}]}}<|endoftext|><|prompter|>What are the names of modern rooms that have a base price lower than $160 and two beds.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"basePrice","operation":"<","value":160},{"actionType":"ChangeCondition","column":"beds","operation":"=","value":2},{"actionType":"ChangeCondition","column":"decor","operation":"=","value":"modern"}]}}<|endoftext|><|prompter|>Find all the rooms that have a price higher than 160 and can accommodate more than 2 people. Report room names and ids.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"basePrice","operation":">","value":160},{"actionType":"ChangeCondition","column":"maxOccupancy","operation":">","value":2}]}}<|endoftext|><|prompter|>What are the room names and ids of all the rooms that cost more than 160 and can accommodate more than two people.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"basePrice","operation":">","value":160},{"actionType":"ChangeCondition","column":"maxOccupancy","operation":">","value":2}]}}<|endoftext|><|prompter|>How many king beds are there?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"beds","aggregation":"sum"},{"actionType":"ChangeCondition","column":"bedtype","operation":"=","value":"King"}]}}<|endoftext|><|prompter|>Find the total number of king beds available.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"beds","aggregation":"sum"},{"actionType":"ChangeCondition","column":"bedtype","operation":"=","value":"King"}]}}<|endoftext|><|prompter|>List the names and decor of rooms that have a king bed. Sort the list by their price.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"bedtype","operation":"=","value":"King"},{"actionType":"ChangeSorting","column":"basePrice","direction":"ask"}]}}<|endoftext|><|prompter|>What are the names and decor of rooms with a king bed? Sort them by their price<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"bedtype","operation":"=","value":"King"},{"actionType":"ChangeSorting","column":"basePrice","direction":"ask"}]}}<|endoftext|><|prompter|>Which room has cheapest base price? List the room's name and the base price.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"basePrice","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>What are the room name and base price of the room with the lowest base price?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"basePrice","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>What is the decor of room Recluse and defiance?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"roomName","operation":"=","value":"'Recluse and defiance'"}]}}<|endoftext|><|prompter|>Return the decor of the room named "Recluse and defiance".<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"roomName","operation":"=","value":"'Recluse and defiance'"}]}}<|endoftext|><|prompter|>What is the average base price of different bed type? List bed type and average base price.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"basePrice","aggregation":"avg"},{"actionType":"ChangeGrouping","column":"bedType"}]}}<|endoftext|><|prompter|>For each bed type, find the average base price of different bed type.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"basePrice","aggregation":"avg"},{"actionType":"ChangeGrouping","column":"bedType"}]}}<|endoftext|><|prompter|>What is the total number of people who could stay in the modern rooms in this inn?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"maxOccupancy","aggregation":"sum"},{"actionType":"ChangeCondition","column":"decor","operation":"=","value":"modern"}]}}<|endoftext|><|prompter|>How many people in total can stay in the modern rooms of this inn?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"maxOccupancy","aggregation":"sum"},{"actionType":"ChangeCondition","column":"decor","operation":"=","value":"modern"}]}}<|endoftext|><|prompter|>Find the number of rooms with a king bed.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"bedType","operation":"=","value":"'King'"}]}}<|endoftext|><|prompter|>How many rooms have a king bed?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"bedType","operation":"=","value":"'King'"}]}}<|endoftext|><|prompter|>Find the number of rooms for each bed type.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"bedType"}]}}<|endoftext|><|prompter|>What are the number of rooms for each bed type?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"bedType"}]}}<|endoftext|><|prompter|>Find the name of the room with the maximum occupancy.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"maxOccupancy","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>What is the name of the room that can accommodate the most people?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"maxOccupancy","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>Find the id and name of the most expensive base price room.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"basePrice","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>Which room has the highest base price?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"basePrice","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>List the type of bed and name of all traditional rooms.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"decor","operation":"=","value":"'traditional'"}]}}<|endoftext|><|prompter|>What are the bed type and name of all the rooms with traditional decor?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"decor","operation":"=","value":"'traditional'"}]}}<|endoftext|><|prompter|>Find the number of rooms with king bed for each decor type.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"bedType","operation":"=","value":"'King'"},{"actionType":"ChangeGrouping","column":"decor"}]}}<|endoftext|><|prompter|>How many rooms have king beds? Report the number for each decor type.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"bedType","operation":"=","value":"'King'"},{"actionType":"ChangeGrouping","column":"decor"}]}}<|endoftext|><|prompter|>List the name of all rooms sorted by their prices.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"basePrice","direction":"ask"}]}}<|endoftext|><|prompter|>Sort all the rooms according to the price. Just report the room names.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"basePrice","direction":"ask"}]}}<|endoftext|><|prompter|>Find the number of rooms with price higher than 120 for different decor.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"basePrice","operation":">","value":120},{"actionType":"ChangeGrouping","column":"decor"}]}}<|endoftext|><|prompter|>How many rooms cost more than 120, for each different decor?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"basePrice","operation":">","value":120},{"actionType":"ChangeGrouping","column":"decor"}]}}<|endoftext|><|prompter|>Calculate the average room price for each bed type.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"basePrice","aggregation":"avg"},{"actionType":"ChangeGrouping","column":"bedType"}]}}<|endoftext|><|prompter|>What is the average base price of rooms, for each bed type?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"basePrice","aggregation":"avg"},{"actionType":"ChangeGrouping","column":"bedType"}]}}<|endoftext|><|prompter|>How many different types of beds are there?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"bedType","aggregation":"count"}]}}<|endoftext|><|prompter|>Find the number of distinct bed types available in this inn.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"bedType","aggregation":"count"}]}}<|endoftext|><|prompter|>Find the name and id of the top 3 expensive rooms.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"basePrice","limit":3,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>What are the name and id of the three highest priced rooms?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"basePrice","limit":3,"aggregation":"avg","direction":"desk"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["RoomId","roomName","beds","bedType","maxOccupancy","basePrice","decor"],"name":"Rooms","type":"grid"}]<|endoftext|><|prompter|>Find the names of all modern rooms with a base price below $160 and two beds.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"basePrice","operation":"<","value":160},{"actionType":"ChangeCondition","column":"beds","operation":"=","value":2},{"actionType":"ChangeCondition","column":"decor","operation":"=","value":"modern"}]}}<|endoftext|><|prompter|>What are the names of modern rooms that have a base price lower than $160 and two beds.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"basePrice","operation":"<","value":160},{"actionType":"ChangeCondition","column":"beds","operation":"=","value":2},{"actionType":"ChangeCondition","column":"decor","operation":"=","value":"modern"}]}}<|endoftext|><|prompter|>Find all the rooms that have a price higher than 160 and can accommodate more than 2 people. Report room names and ids.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"basePrice","operation":">","value":160},{"actionType":"ChangeCondition","column":"maxOccupancy","operation":">","value":2}]}}<|endoftext|><|prompter|>What are the room names and ids of all the rooms that cost more than 160 and can accommodate more than two people.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"basePrice","operation":">","value":160},{"actionType":"ChangeCondition","column":"maxOccupancy","operation":">","value":2}]}}<|endoftext|><|prompter|>How many king beds are there?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"beds","aggregation":"sum"},{"actionType":"ChangeCondition","column":"bedtype","operation":"=","value":"King"}]}}<|endoftext|><|prompter|>Find the total number of king beds available.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"beds","aggregation":"sum"},{"actionType":"ChangeCondition","column":"bedtype","operation":"=","value":"King"}]}}<|endoftext|><|prompter|>List the names and decor of rooms that have a king bed. Sort the list by their price.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"bedtype","operation":"=","value":"King"},{"actionType":"ChangeSorting","column":"basePrice","direction":"ask"}]}}<|endoftext|><|prompter|>What are the names and decor of rooms with a king bed? Sort them by their price<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"bedtype","operation":"=","value":"King"},{"actionType":"ChangeSorting","column":"basePrice","direction":"ask"}]}}<|endoftext|><|prompter|>Which room has cheapest base price? List the room's name and the base price.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"basePrice","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>What are the room name and base price of the room with the lowest base price?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"basePrice","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>What is the decor of room Recluse and defiance?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"roomName","operation":"=","value":"'Recluse and defiance'"}]}}<|endoftext|><|prompter|>Return the decor of the room named "Recluse and defiance".<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"roomName","operation":"=","value":"'Recluse and defiance'"}]}}<|endoftext|><|prompter|>What is the average base price of different bed type? List bed type and average base price.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"basePrice","aggregation":"avg"},{"actionType":"ChangeGrouping","column":"bedType"}]}}<|endoftext|><|prompter|>For each bed type, find the average base price of different bed type.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"basePrice","aggregation":"avg"},{"actionType":"ChangeGrouping","column":"bedType"}]}}<|endoftext|><|prompter|>What is the total number of people who could stay in the modern rooms in this inn?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"maxOccupancy","aggregation":"sum"},{"actionType":"ChangeCondition","column":"decor","operation":"=","value":"modern"}]}}<|endoftext|><|prompter|>How many people in total can stay in the modern rooms of this inn?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"maxOccupancy","aggregation":"sum"},{"actionType":"ChangeCondition","column":"decor","operation":"=","value":"modern"}]}}<|endoftext|><|prompter|>Find the number of rooms with a king bed.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"bedType","operation":"=","value":"'King'"}]}}<|endoftext|><|prompter|>How many rooms have a king bed?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"bedType","operation":"=","value":"'King'"}]}}<|endoftext|><|prompter|>Find the number of rooms for each bed type.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"bedType"}]}}<|endoftext|><|prompter|>What are the number of rooms for each bed type?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"bedType"}]}}<|endoftext|><|prompter|>Find the name of the room with the maximum occupancy.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"maxOccupancy","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>What is the name of the room that can accommodate the most people?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"maxOccupancy","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>Find the id and name of the most expensive base price room.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"basePrice","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>Which room has the highest base price?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"basePrice","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>List the type of bed and name of all traditional rooms.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"decor","operation":"=","value":"'traditional'"}]}}<|endoftext|><|prompter|>What are the bed type and name of all the rooms with traditional decor?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"decor","operation":"=","value":"'traditional'"}]}}<|endoftext|><|prompter|>Find the number of rooms with king bed for each decor type.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"bedType","operation":"=","value":"'King'"},{"actionType":"ChangeGrouping","column":"decor"}]}}<|endoftext|><|prompter|>How many rooms have king beds? Report the number for each decor type.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"bedType","operation":"=","value":"'King'"},{"actionType":"ChangeGrouping","column":"decor"}]}}<|endoftext|><|prompter|>List the name of all rooms sorted by their prices.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"basePrice","direction":"ask"}]}}<|endoftext|><|prompter|>Sort all the rooms according to the price. Just report the room names.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"basePrice","direction":"ask"}]}}<|endoftext|><|prompter|>Find the number of rooms with price higher than 120 for different decor.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"basePrice","operation":">","value":120},{"actionType":"ChangeGrouping","column":"decor"}]}}<|endoftext|><|prompter|>How many rooms cost more than 120, for each different decor?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"basePrice","operation":">","value":120},{"actionType":"ChangeGrouping","column":"decor"}]}}<|endoftext|><|prompter|>For each bed type, find the average room price.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"basePrice","aggregation":"avg"},{"actionType":"ChangeGrouping","column":"bedType"}]}}<|endoftext|><|prompter|>Determine the average base price of rooms, grouped by bed type.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"basePrice","aggregation":"avg"},{"actionType":"ChangeGrouping","column":"bedType"}]}}<|endoftext|><|prompter|>How many different types of beds are there?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"bedType","aggregation":"count"}]}}<|endoftext|><|prompter|>Find the number of distinct bed types available in this inn.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"bedType","aggregation":"count"}]}}<|endoftext|><|prompter|>Find the name and id of the top 3 expensive rooms.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"basePrice","limit":3,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>What are the name and id of the three highest priced rooms?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"basePrice","limit":3,"aggregation":"avg","direction":"desk"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["RoomId","roomName","beds","bedType","maxOccupancy","basePrice","decor"],"name":"Rooms","type":"grid"}]<|endoftext|><|prompter|>Find the names of all modern rooms with a base price below $160 and two beds.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"basePrice","operation":"<","value":160},{"actionType":"ChangeCondition","column":"beds","operation":"=","value":2},{"actionType":"ChangeCondition","column":"decor","operation":"=","value":"modern"}]}}<|endoftext|><|prompter|>What are the names of modern rooms that have a base price lower than $160 and two beds.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"basePrice","operation":"<","value":160},{"actionType":"ChangeCondition","column":"beds","operation":"=","value":2},{"actionType":"ChangeCondition","column":"decor","operation":"=","value":"modern"}]}}<|endoftext|><|prompter|>Find all the rooms that have a price higher than 160 and can accommodate more than 2 people. Report room names and ids.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"basePrice","operation":">","value":160},{"actionType":"ChangeCondition","column":"maxOccupancy","operation":">","value":2}]}}<|endoftext|><|prompter|>What are the room names and ids of all the rooms that cost more than 160 and can accommodate more than two people.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"basePrice","operation":">","value":160},{"actionType":"ChangeCondition","column":"maxOccupancy","operation":">","value":2}]}}<|endoftext|><|prompter|>How many king beds are there?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"beds","aggregation":"sum"},{"actionType":"ChangeCondition","column":"bedtype","operation":"=","value":"King"}]}}<|endoftext|><|prompter|>Find the total number of king beds available.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"beds","aggregation":"sum"},{"actionType":"ChangeCondition","column":"bedtype","operation":"=","value":"King"}]}}<|endoftext|><|prompter|>List the names and decor of rooms that have a king bed. Sort the list by their price.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"bedtype","operation":"=","value":"King"},{"actionType":"ChangeSorting","column":"basePrice","direction":"ask"}]}}<|endoftext|><|prompter|>What are the names and decor of rooms with a king bed? Sort them by their price<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"bedtype","operation":"=","value":"King"},{"actionType":"ChangeSorting","column":"basePrice","direction":"ask"}]}}<|endoftext|><|prompter|>Which room has cheapest base price? List the room's name and the base price.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"basePrice","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>What are the room name and base price of the room with the lowest base price?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"basePrice","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>What is the decor of room Recluse and defiance?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"roomName","operation":"=","value":"'Recluse and defiance'"}]}}<|endoftext|><|prompter|>Return the decor of the room named "Recluse and defiance".<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"roomName","operation":"=","value":"'Recluse and defiance'"}]}}<|endoftext|><|prompter|>What is the average base price of different bed type? List bed type and average base price.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"basePrice","aggregation":"avg"},{"actionType":"ChangeGrouping","column":"bedType"}]}}<|endoftext|><|prompter|>For each bed type, find the average base price of different bed type.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"basePrice","aggregation":"avg"},{"actionType":"ChangeGrouping","column":"bedType"}]}}<|endoftext|><|prompter|>What is the total number of people who could stay in the modern rooms in this inn?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"maxOccupancy","aggregation":"sum"},{"actionType":"ChangeCondition","column":"decor","operation":"=","value":"modern"}]}}<|endoftext|><|prompter|>How many people in total can stay in the modern rooms of this inn?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"maxOccupancy","aggregation":"sum"},{"actionType":"ChangeCondition","column":"decor","operation":"=","value":"modern"}]}}<|endoftext|><|prompter|>Find the number of rooms with a king bed.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"bedType","operation":"=","value":"'King'"}]}}<|endoftext|><|prompter|>How many rooms have a king bed?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"bedType","operation":"=","value":"'King'"}]}}<|endoftext|><|prompter|>Find the number of rooms for each bed type.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"bedType"}]}}<|endoftext|><|prompter|>What are the number of rooms for each bed type?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"bedType"}]}}<|endoftext|><|prompter|>Find the name of the room with the maximum occupancy.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"maxOccupancy","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>What is the name of the room that can accommodate the most people?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"maxOccupancy","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>Find the id and name of the most expensive base price room.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"basePrice","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>Which room has the highest base price?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"basePrice","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>List the type of bed and name of all traditional rooms.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"decor","operation":"=","value":"'traditional'"}]}}<|endoftext|><|prompter|>What are the bed type and name of all the rooms with traditional decor?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"decor","operation":"=","value":"'traditional'"}]}}<|endoftext|><|prompter|>Find the number of rooms with king bed for each decor type.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"bedType","operation":"=","value":"'King'"},{"actionType":"ChangeGrouping","column":"decor"}]}}<|endoftext|><|prompter|>How many rooms have king beds? Report the number for each decor type.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"bedType","operation":"=","value":"'King'"},{"actionType":"ChangeGrouping","column":"decor"}]}}<|endoftext|><|prompter|>List the name of all rooms sorted by their prices.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"basePrice","direction":"ask"}]}}<|endoftext|><|prompter|>Sort all the rooms according to the price. Just report the room names.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"basePrice","direction":"ask"}]}}<|endoftext|><|prompter|>Find the number of rooms with price higher than 120 for different decor.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"basePrice","operation":">","value":120},{"actionType":"ChangeGrouping","column":"decor"}]}}<|endoftext|><|prompter|>How many rooms cost more than 120, for each different decor?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"basePrice","operation":">","value":120},{"actionType":"ChangeGrouping","column":"decor"}]}}<|endoftext|><|prompter|>For each bed type, find the average room price.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"basePrice","aggregation":"avg"},{"actionType":"ChangeGrouping","column":"bedType"}]}}<|endoftext|><|prompter|>What is the average base price of rooms for each bed type?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"basePrice","aggregation":"avg"},{"actionType":"ChangeGrouping","column":"bedType"}]}}<|endoftext|><|prompter|>How many different types of beds are there?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"bedType","aggregation":"count"}]}}<|endoftext|><|prompter|>Find the number of distinct bed types available in this inn.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"bedType","aggregation":"count"}]}}<|endoftext|><|prompter|>Find the name and id of the top 3 expensive rooms.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"basePrice","limit":3,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>What are the name and id of the three highest priced rooms?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"basePrice","limit":3,"aggregation":"avg","direction":"desk"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["RoomId","roomName","beds","bedType","maxOccupancy","basePrice","decor"],"name":"Rooms","type":"grid"}]<|endoftext|><|prompter|>Find the names of all modern rooms with a base price below $160 and two beds.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"basePrice","operation":"<","value":160},{"actionType":"ChangeCondition","column":"beds","operation":"=","value":2},{"actionType":"ChangeCondition","column":"decor","operation":"=","value":"modern"}]}}<|endoftext|><|prompter|>What are the names of modern rooms that have a base price lower than $160 and two beds.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"basePrice","operation":"<","value":160},{"actionType":"ChangeCondition","column":"beds","operation":"=","value":2},{"actionType":"ChangeCondition","column":"decor","operation":"=","value":"modern"}]}}<|endoftext|><|prompter|>Find all the rooms that have a price higher than 160 and can accommodate more than 2 people. Report room names and ids.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"basePrice","operation":">","value":160},{"actionType":"ChangeCondition","column":"maxOccupancy","operation":">","value":2}]}}<|endoftext|><|prompter|>What are the room names and ids of all the rooms that cost more than 160 and can accommodate more than two people.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"basePrice","operation":">","value":160},{"actionType":"ChangeCondition","column":"maxOccupancy","operation":">","value":2}]}}<|endoftext|><|prompter|>How many king beds are there?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"beds","aggregation":"sum"},{"actionType":"ChangeCondition","column":"bedtype","operation":"=","value":"King"}]}}<|endoftext|><|prompter|>Find the total number of king beds available.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"beds","aggregation":"sum"},{"actionType":"ChangeCondition","column":"bedtype","operation":"=","value":"King"}]}}<|endoftext|><|prompter|>List the names and decor of rooms that have a king bed. Sort the list by their price.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"bedtype","operation":"=","value":"King"},{"actionType":"ChangeSorting","column":"basePrice","direction":"ask"}]}}<|endoftext|><|prompter|>What are the names and decor of rooms with a king bed? Sort them by their price<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"bedtype","operation":"=","value":"King"},{"actionType":"ChangeSorting","column":"basePrice","direction":"ask"}]}}<|endoftext|><|prompter|>Which room has cheapest base price? List the room's name and the base price.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"basePrice","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>What are the room name and base price of the room with the lowest base price?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"basePrice","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>What is the decor of room Recluse and defiance?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"roomName","operation":"=","value":"'Recluse and defiance'"}]}}<|endoftext|><|prompter|>Return the decor of the room named "Recluse and defiance".<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"roomName","operation":"=","value":"'Recluse and defiance'"}]}}<|endoftext|><|prompter|>What is the average base price of different bed type? List bed type and average base price.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"basePrice","aggregation":"avg"},{"actionType":"ChangeGrouping","column":"bedType"}]}}<|endoftext|><|prompter|>For each bed type, find the average base price of different bed type.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"basePrice","aggregation":"avg"},{"actionType":"ChangeGrouping","column":"bedType"}]}}<|endoftext|><|prompter|>What is the total number of people who could stay in the modern rooms in this inn?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"maxOccupancy","aggregation":"sum"},{"actionType":"ChangeCondition","column":"decor","operation":"=","value":"modern"}]}}<|endoftext|><|prompter|>How many people in total can stay in the modern rooms of this inn?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"maxOccupancy","aggregation":"sum"},{"actionType":"ChangeCondition","column":"decor","operation":"=","value":"modern"}]}}<|endoftext|><|prompter|>Find the number of rooms with a king bed.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"bedType","operation":"=","value":"'King'"}]}}<|endoftext|><|prompter|>How many rooms have a king bed?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"bedType","operation":"=","value":"'King'"}]}}<|endoftext|><|prompter|>Find the number of rooms for each bed type.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"bedType"}]}}<|endoftext|><|prompter|>What are the number of rooms for each bed type?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"bedType"}]}}<|endoftext|><|prompter|>Find the name of the room with the maximum occupancy.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"maxOccupancy","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>What is the name of the room that can accommodate the most people?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"maxOccupancy","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>Find the id and name of the most expensive base price room.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"basePrice","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>Which room has the highest base price?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"basePrice","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>List the type of bed and name of all traditional rooms.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"decor","operation":"=","value":"'traditional'"}]}}<|endoftext|><|prompter|>What are the bed type and name of all the rooms with traditional decor?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"decor","operation":"=","value":"'traditional'"}]}}<|endoftext|><|prompter|>Find the number of rooms with king bed for each decor type.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"bedType","operation":"=","value":"'King'"},{"actionType":"ChangeGrouping","column":"decor"}]}}<|endoftext|><|prompter|>How many rooms have king beds? Report the number for each decor type.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"bedType","operation":"=","value":"'King'"},{"actionType":"ChangeGrouping","column":"decor"}]}}<|endoftext|><|prompter|>List the name of all rooms sorted by their prices.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"basePrice","direction":"ask"}]}}<|endoftext|><|prompter|>Sort all the rooms according to the price. Just report the room names.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"basePrice","direction":"ask"}]}}<|endoftext|><|prompter|>Find the number of rooms with price higher than 120 for different decor.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"basePrice","operation":">","value":120},{"actionType":"ChangeGrouping","column":"decor"}]}}<|endoftext|><|prompter|>How many rooms cost more than 120, for each different decor?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"basePrice","operation":">","value":120},{"actionType":"ChangeGrouping","column":"decor"}]}}<|endoftext|><|prompter|>For each bed type, find the average room price.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"basePrice","aggregation":"avg"},{"actionType":"ChangeGrouping","column":"bedType"}]}}<|endoftext|><|prompter|>What is the average base price of rooms, for each bed type?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"basePrice","aggregation":"avg"},{"actionType":"ChangeGrouping","column":"bedType"}]}}<|endoftext|><|prompter|>How many different types of beds are there?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"bedType","aggregation":"count"}]}}<|endoftext|><|prompter|>Find the number of distinct bed types available in this inn.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"bedType","aggregation":"count"}]}}<|endoftext|><|prompter|>Find the name and id of the top 3 expensive rooms.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"basePrice","limit":3,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>What are the name and id of the three highest priced rooms?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"basePrice","limit":3,"aggregation":"avg","direction":"desk"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["park_id","park_name","park_alias","city","state","country"],"name":"park","type":"grid"}]<|endoftext|><|prompter|>How many parks are there in the state of NY?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"state","operation":"=","value":"NY"}]}}<|endoftext|><|prompter|>Show me the number of parks the state of NY has.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"state","operation":"=","value":"NY"}]}}<|endoftext|><|prompter|>How many parks are there in Atlanta city?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"city","operation":"=","value":"Atlanta"}]}}<|endoftext|><|prompter|>How many parks does Atlanta city have?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"city","operation":"=","value":"Atlanta"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["People_ID","Name","Height","Weight","Birth_Date","Birth_Place"],"name":"people","type":"grid"}]<|endoftext|><|prompter|>how many male body builder of there<|endoftext|><|assistant|>{"text":"Sorry the question cannot be answered from the table.","dsl":{}}<|endoftext|><|prompter|>what is the weight of ty conklin<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"name","operation":"=","value":"'Ty Conklin'"}]}}<|endoftext|><|prompter|>what is the height of jack campbell<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"name","operation":"=","value":"'Jack Campbell'"}]}}<|endoftext|><|prompter|>thanks<|endoftext|><|assistant|>{"text":"You are welcome.","dsl":{}}<|endoftext|>
COSQL
<|context|>[{"columns":["People_ID","Name","Country","Is_Male","Age"],"name":"people","type":"grid"}]<|endoftext|><|prompter|>How many women are there?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"is_male","operation":"=","value":"F"}]}}<|endoftext|><|prompter|>And men?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"is_male","operation":"=","value":"T"}]}}<|endoftext|><|prompter|>There are 6 males?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"is_male","operation":"=","value":"T"}]}}<|endoftext|><|prompter|>How many people are there over the age of 30?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"age","operation":">","value":30}]}}<|endoftext|><|prompter|>How many of them are women?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"is_male","operation":"=","value":"F"},{"actionType":"ChangeCondition","column":"age","operation":">","value":30}]}}<|endoftext|><|prompter|>Thanks!<|endoftext|><|assistant|>{"text":"You are welcome!","dsl":{}}<|endoftext|>
COSQL
<|context|>[{"columns":["apid","name","city","country","x","y","elevation","iata","icao"],"name":"airports","type":"grid"}]<|endoftext|><|prompter|>What is the name of airport in the city Goroka?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"city","operation":"=","value":"'Goroka'"}]}}<|endoftext|><|prompter|>Which airport situate in the elevation 5282?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"elevation","operation":"=","value":5282}]}}<|endoftext|><|prompter|>What is the iata of Madang airport?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"name","operation":"=","value":"'Madang Airport'"}]}}<|endoftext|><|prompter|>Thanks!<|endoftext|><|assistant|>{"text":"You are welcome, bye","dsl":{}}<|endoftext|>
COSQL
<|context|>[{"columns":["id","player_api_id","player_name","player_fifa_api_id","birthday","height","weight"],"name":"Player","type":"grid"}]<|endoftext|><|prompter|>What is the average weight of all players?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"weight","aggregation":"avg"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["Estimation_ID","Low_Estimate","High_Estimate","Film_ID","Type","Market_ID","Year"],"name":"film_market_estimation","type":"grid"}]<|endoftext|><|prompter|>What are the types of film market estimations in year 1995?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"YEAR","operation":"=","value":1995}]}}<|endoftext|><|prompter|>Return the types of film market estimations in 1995.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"YEAR","operation":"=","value":1995}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["product_id","product","dimensions","dpi","pages_per_minute_color","max_page_size","interface"],"name":"product","type":"grid"}]<|endoftext|><|prompter|>Could you please find the products with the max page size as "A4"?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"max_page_size","operation":"=","value":"'A4'"}]}}<|endoftext|><|prompter|>Could you please find the products with the pages per minute color smaller than 5?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"pages_per_minute_color","operation":"<","value":5}]}}<|endoftext|><|prompter|>Could you please find the products with the max page size as "A4" and with the pages per minute color smaller than 5?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"max_page_size","operation":"=","value":"'A4'"},{"actionType":"ChangeCondition","column":"pages_per_minute_color","operation":"<","value":5}]}}<|endoftext|><|prompter|>What are the interfaces of those products?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"max_page_size","operation":"=","value":"'A4'"},{"actionType":"ChangeCondition","column":"pages_per_minute_color","operation":"<","value":5}]}}<|endoftext|><|prompter|>What are the dimensions of those products?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"max_page_size","operation":"=","value":"'A4'"},{"actionType":"ChangeCondition","column":"pages_per_minute_color","operation":"<","value":5}]}}<|endoftext|><|prompter|>Could you please find the products with the pages per minute color larger than 5?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"pages_per_minute_color","operation":">","value":5}]}}<|endoftext|><|prompter|>Thanks!<|endoftext|><|assistant|>{"text":"Thanks. bye.","dsl":{}}<|endoftext|>
COSQL
<|context|>[{"columns":["document_status_code","document_status_description"],"name":"Ref_Document_Status","type":"grid"}]<|endoftext|><|prompter|>What is the description of document status code 'working'?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"document_status_code","operation":"=","value":"'working'"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["Cinema_ID","Name","Openning_year","Capacity","Location"],"name":"cinema","type":"grid"}]<|endoftext|><|prompter|>Show all the cinema names and opening years in descending order of opening year.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"openning_year","direction":"desk"}]}}<|endoftext|><|prompter|>What are the name and location of the cinema with the largest capacity?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"capacity","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>For each classroom, show the classroom number and count the number of distinct grades that use the room.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"LOCATION"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["Cinema_ID","Name","Openning_year","Capacity","Location"],"name":"cinema","type":"grid"}]<|endoftext|><|prompter|>Show all the cinema names and opening years in descending order of opening year.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"openning_year","direction":"desk"}]}}<|endoftext|><|prompter|>What are the name and location of the cinema with the largest capacity?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"capacity","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>Display the number of cinemas in each location.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"LOCATION"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["Cinema_ID","Name","Openning_year","Capacity","Location"],"name":"cinema","type":"grid"}]<|endoftext|><|prompter|>Show all the cinema names and opening years in descending order of opening year.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"openning_year","direction":"desk"}]}}<|endoftext|><|prompter|>What are the name and location of the cinema with the largest capacity?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"capacity","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>Show each location and the number of cinemas there.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"LOCATION"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["Company_name","Hardware_Model_name","Accreditation_type","Accreditation_level","Date","chip_model","screen_mode"],"name":"phone","type":"grid"}]<|endoftext|><|prompter|>What are the chip model and screen mode of the phone with hardware model name "LG-P760"?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Hardware_Model_name","operation":"=","value":"'LG-P760'"}]}}<|endoftext|><|prompter|>How many phone hardware models are produced by the company named "Nokia Corporation"?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Company_name","operation":"=","value":"'Nokia Corporation'"}]}}<|endoftext|><|prompter|>Count the phones for every accreditation category.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"Accreditation_type"}]}}<|endoftext|><|prompter|>How many phones belongs to each accreditation type?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"Accreditation_type"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["Company_name","Hardware_Model_name","Accreditation_type","Accreditation_level","Date","chip_model","screen_mode"],"name":"phone","type":"grid"}]<|endoftext|><|prompter|>What are the chip model and screen mode of the phone with hardware model name "LG-P760"?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Hardware_Model_name","operation":"=","value":"'LG-P760'"}]}}<|endoftext|><|prompter|>How many phone hardware models are produced by the company named "Nokia Corporation"?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Company_name","operation":"=","value":"'Nokia Corporation'"}]}}<|endoftext|><|prompter|>Find the number of phones for each accreditation type.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"Accreditation_type"}]}}<|endoftext|><|prompter|>How many phones belongs to each accreditation type?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"Accreditation_type"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["Company_name","Hardware_Model_name","Accreditation_type","Accreditation_level","Date","chip_model","screen_mode"],"name":"phone","type":"grid"}]<|endoftext|><|prompter|>What are the chip model and screen mode of the phone with hardware model name "LG-P760"?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Hardware_Model_name","operation":"=","value":"'LG-P760'"}]}}<|endoftext|><|prompter|>How many phone hardware models are produced by the company named "Nokia Corporation"?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Company_name","operation":"=","value":"'Nokia Corporation'"}]}}<|endoftext|><|prompter|>Find the number of phones for each accreditation type.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"Accreditation_type"}]}}<|endoftext|><|prompter|>How many phones are associated with each accreditation type?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"Accreditation_type"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["Company_name","Hardware_Model_name","Accreditation_type","Accreditation_level","Date","chip_model","screen_mode"],"name":"phone","type":"grid"}]<|endoftext|><|prompter|>What are the chip model and screen mode of the phone with hardware model name "LG-P760"?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Hardware_Model_name","operation":"=","value":"'LG-P760'"}]}}<|endoftext|><|prompter|>How many phone hardware models are produced by the company named "Nokia Corporation"?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Company_name","operation":"=","value":"'Nokia Corporation'"}]}}<|endoftext|><|prompter|>Find the number of phones for each accreditation type.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"Accreditation_type"}]}}<|endoftext|><|prompter|>How many phones belong to each accreditation type?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"Accreditation_type"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["Company_name","Hardware_Model_name","Accreditation_type","Accreditation_level","Date","chip_model","screen_mode"],"name":"phone","type":"grid"}]<|endoftext|><|prompter|>What are the chip model and screen mode of the phone with hardware model name "LG-P760"?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Hardware_Model_name","operation":"=","value":"'LG-P760'"}]}}<|endoftext|><|prompter|>How many phone hardware models are produced by the company named "Nokia Corporation"?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Company_name","operation":"=","value":"'Nokia Corporation'"}]}}<|endoftext|><|prompter|>Find the number of phones for each accreditation type.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"Accreditation_type"}]}}<|endoftext|><|prompter|>How many phones belongs to each accreditation type?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"Accreditation_type"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["apt_id","building_id","apt_type_code","apt_number","bathroom_count","bedroom_count","room_count"],"name":"Apartments","type":"grid"}]<|endoftext|><|prompter|>What is the average number of bedrooms of all apartments?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"bedroom_count","aggregation":"avg"}]}}<|endoftext|><|prompter|>Find the average number of bedrooms of all the apartments.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"bedroom_count","aggregation":"avg"}]}}<|endoftext|><|prompter|>What is the average number of rooms of apartments with type code "Studio"?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"room_count","aggregation":"avg"},{"actionType":"ChangeCondition","column":"apt_type_code","operation":"=","value":"'Studio'"}]}}<|endoftext|><|prompter|>Find the average room count of the apartments that have the "Studio" type code.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"room_count","aggregation":"avg"},{"actionType":"ChangeCondition","column":"apt_type_code","operation":"=","value":"'Studio'"}]}}<|endoftext|><|prompter|>Return the apartment numbers of the apartments with type code "Flat".<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"apt_type_code","operation":"=","value":"'Flat'"}]}}<|endoftext|><|prompter|>Which apartments have type code "Flat"? Give me their apartment numbers.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"apt_type_code","operation":"=","value":"'Flat'"}]}}<|endoftext|><|prompter|>Return all the apartment numbers sorted by the room count in ascending order.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"room_count","direction":"ask"}]}}<|endoftext|><|prompter|>Sort the apartment numbers in ascending order of room count.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"room_count","direction":"ask"}]}}<|endoftext|><|prompter|>Return the apartment number with the largest number of bedrooms.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"bedroom_count","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>What is the apartment number of the apartment with the most beds?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"bedroom_count","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>Show the top 3 apartment type codes sorted by the average number of rooms in descending order.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"apt_type_code"},{"actionType":"ChangeTopFilter","column":"room_count","limit":3,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>What are the top three apartment types in terms of the average room count? Give me the<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"apt_type_code"},{"actionType":"ChangeTopFilter","column":"room_count","limit":3,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>Show the apartment type code that has the largest number of total rooms, together with the number of bathrooms and number of bedrooms.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"apt_type_code"},{"actionType":"ChangeTopFilter","column":"room_count","limit":1,"aggregation":"sum","direction":"desk"}]}}<|endoftext|><|prompter|>Which apartment type has the largest number of total rooms? Return the apartment type code, its number of bathrooms and number of bedrooms.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"apt_type_code"},{"actionType":"ChangeTopFilter","column":"room_count","limit":1,"aggregation":"sum","direction":"desk"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["player_id","first_name","last_name","hand","birth_date","country_code"],"name":"players","type":"grid"}]<|endoftext|><|prompter|>what is the first name of player id 200001?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"player_id","operation":"=","value":200001}]}}<|endoftext|><|prompter|>When is birth date for Martina ?<|endoftext|><|assistant|>{"text":"There are a lot of Martina. Do you mean the Marina with id 200001? ","dsl":{}}<|endoftext|><|prompter|>Martina with id 200001<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"player_id","operation":"=","value":200001}]}}<|endoftext|><|prompter|>* I have left the chat *<|endoftext|><|assistant|>{"text":"The birth date of player_id with \"200001\" is 19800930","dsl":{}}<|endoftext|><|prompter|>what is the country code for player id 200003? <|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"player_id","operation":"=","value":200003}]}}<|endoftext|><|prompter|>what is the last name of Justine of player id 200003?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"player_id","operation":"=","value":200003}]}}<|endoftext|><|prompter|>thanks.<|endoftext|><|assistant|>{"text":"bye.","dsl":{}}<|endoftext|>
COSQL
<|context|>[{"columns":["Document_ID","Template_ID","Document_Name","Document_Description","Other_Details"],"name":"Documents","type":"grid"}]<|endoftext|><|prompter|>What is the document id, template id and description for document named "Robbin CV"?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"document_name","operation":"=","value":"'Robbin CV'"}]}}<|endoftext|><|prompter|>Return the document id, template id, and description for the document with the name Robbin CV.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"document_name","operation":"=","value":"'Robbin CV'"}]}}<|endoftext|><|prompter|>How many different templates do all document use?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"template_id","aggregation":"count"}]}}<|endoftext|><|prompter|>Count the number of different templates used for documents.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"template_id","aggregation":"count"}]}}<|endoftext|><|prompter|>Present template ids and the number of documents using each template.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"template_id"}]}}<|endoftext|><|prompter|>What are all different template ids used for documents, and how many times were each of them used?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"template_id"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["Document_ID","Template_ID","Document_Name","Document_Description","Other_Details"],"name":"Documents","type":"grid"}]<|endoftext|><|prompter|>What is the document id, template id and description for document named "Robbin CV"?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"document_name","operation":"=","value":"'Robbin CV'"}]}}<|endoftext|><|prompter|>Return the document id, template id, and description for the document with the name Robbin CV.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"document_name","operation":"=","value":"'Robbin CV'"}]}}<|endoftext|><|prompter|>How many different templates do all document use?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"template_id","aggregation":"count"}]}}<|endoftext|><|prompter|>Count the number of different templates used for documents.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"template_id","aggregation":"count"}]}}<|endoftext|><|prompter|>Display all template IDs and the number of documents associated with each template.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"template_id"}]}}<|endoftext|><|prompter|>What are all different template ids used for documents, and how many times were each of them used?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"template_id"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["Document_ID","Template_ID","Document_Name","Document_Description","Other_Details"],"name":"Documents","type":"grid"}]<|endoftext|><|prompter|>What is the document id, template id and description for document named "Robbin CV"?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"document_name","operation":"=","value":"'Robbin CV'"}]}}<|endoftext|><|prompter|>Return the document id, template id, and description for the document with the name Robbin CV.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"document_name","operation":"=","value":"'Robbin CV'"}]}}<|endoftext|><|prompter|>How many different templates do all document use?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"template_id","aggregation":"count"}]}}<|endoftext|><|prompter|>Count the number of different templates used for documents.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"template_id","aggregation":"count"}]}}<|endoftext|><|prompter|>Show all template ids and number of documents using each template.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"template_id"}]}}<|endoftext|><|prompter|>Present distinct template ids for documents and their respective usage counts.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"template_id"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["Document_ID","Template_ID","Document_Name","Document_Description","Other_Details"],"name":"Documents","type":"grid"}]<|endoftext|><|prompter|>What is the document id, template id and description for document named "Robbin CV"?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"document_name","operation":"=","value":"'Robbin CV'"}]}}<|endoftext|><|prompter|>Return the document id, template id, and description for the document with the name Robbin CV.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"document_name","operation":"=","value":"'Robbin CV'"}]}}<|endoftext|><|prompter|>How many different templates do all document use?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"template_id","aggregation":"count"}]}}<|endoftext|><|prompter|>Count the number of different templates used for documents.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"template_id","aggregation":"count"}]}}<|endoftext|><|prompter|>Show all template ids and number of documents using each template.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"template_id"}]}}<|endoftext|><|prompter|>What are the different template IDs used for documents, and how many times has each been used?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"template_id"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["Document_ID","Template_ID","Document_Name","Document_Description","Other_Details"],"name":"Documents","type":"grid"}]<|endoftext|><|prompter|>What is the document id, template id and description for document named "Robbin CV"?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"document_name","operation":"=","value":"'Robbin CV'"}]}}<|endoftext|><|prompter|>Return the document id, template id, and description for the document with the name Robbin CV.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"document_name","operation":"=","value":"'Robbin CV'"}]}}<|endoftext|><|prompter|>How many different templates do all document use?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"template_id","aggregation":"count"}]}}<|endoftext|><|prompter|>Count the number of different templates used for documents.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"template_id","aggregation":"count"}]}}<|endoftext|><|prompter|>Show all template ids and number of documents using each template.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"template_id"}]}}<|endoftext|><|prompter|>What are all different template ids used for documents, and how many times were each of them used?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"template_id"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["apid","name","city","country","x","y","elevation","iata","icao"],"name":"airports","type":"grid"}]<|endoftext|><|prompter|>Find the name of the airport in the city of Goroka.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"city","operation":"=","value":"Goroka"}]}}<|endoftext|><|prompter|>What are the names of the airports in the city of Goroka?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"city","operation":"=","value":"Goroka"}]}}<|endoftext|><|prompter|>Find the name, city, country, and altitude (or elevation) of the airports in the city of New York.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"city","operation":"=","value":"New York"}]}}<|endoftext|><|prompter|>What is the name, city, country, and elevation for every airport in the city of New York?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"city","operation":"=","value":"New York"}]}}<|endoftext|><|prompter|>What is the maximum elevation of all airports in the country of Iceland?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"elevation","aggregation":"max"},{"actionType":"ChangeCondition","column":"country","operation":"=","value":"Iceland"}]}}<|endoftext|><|prompter|>What is the highest elevation of an airport in the country of Iceland?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"elevation","aggregation":"max"},{"actionType":"ChangeCondition","column":"country","operation":"=","value":"Iceland"}]}}<|endoftext|><|prompter|>Which country is the airport that has the highest altitude located in?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"elevation","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>What is the country of the airport with the highest elevation?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"elevation","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>How many different cities do have some airport in the country of Greenland?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"city","aggregation":"count"},{"actionType":"ChangeCondition","column":"country","operation":"=","value":"Greenland"}]}}<|endoftext|><|prompter|>In how many cities are there airports in the country of Greenland?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"city","aggregation":"count"},{"actionType":"ChangeCondition","column":"country","operation":"=","value":"Greenland"}]}}<|endoftext|><|prompter|>Find the name, city, and country of the airport that has the lowest altitude.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"elevation","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>What is the name, city, and country of the airport with the lowest altitude?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"elevation","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>Find the name, city, and country of the airport that has the highest latitude.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"elevation","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>What is the name, city, and country of the airport with the highest elevation?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"elevation","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>Find the average elevation of airports in each country.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"elevation","aggregation":"avg"},{"actionType":"ChangeGrouping","column":"country"}]}}<|endoftext|><|prompter|>For each country, what is the average elevation of that country's airports?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"elevation","aggregation":"avg"},{"actionType":"ChangeGrouping","column":"country"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["apid","name","city","country","x","y","elevation","iata","icao"],"name":"airports","type":"grid"}]<|endoftext|><|prompter|>Find the name of the airport in the city of Goroka.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"city","operation":"=","value":"Goroka"}]}}<|endoftext|><|prompter|>What are the names of the airports in the city of Goroka?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"city","operation":"=","value":"Goroka"}]}}<|endoftext|><|prompter|>Find the name, city, country, and altitude (or elevation) of the airports in the city of New York.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"city","operation":"=","value":"New York"}]}}<|endoftext|><|prompter|>What is the name, city, country, and elevation for every airport in the city of New York?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"city","operation":"=","value":"New York"}]}}<|endoftext|><|prompter|>What is the maximum elevation of all airports in the country of Iceland?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"elevation","aggregation":"max"},{"actionType":"ChangeCondition","column":"country","operation":"=","value":"Iceland"}]}}<|endoftext|><|prompter|>What is the highest elevation of an airport in the country of Iceland?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"elevation","aggregation":"max"},{"actionType":"ChangeCondition","column":"country","operation":"=","value":"Iceland"}]}}<|endoftext|><|prompter|>Which country is the airport that has the highest altitude located in?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"elevation","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>What is the country of the airport with the highest elevation?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"elevation","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>How many different cities do have some airport in the country of Greenland?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"city","aggregation":"count"},{"actionType":"ChangeCondition","column":"country","operation":"=","value":"Greenland"}]}}<|endoftext|><|prompter|>In how many cities are there airports in the country of Greenland?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"city","aggregation":"count"},{"actionType":"ChangeCondition","column":"country","operation":"=","value":"Greenland"}]}}<|endoftext|><|prompter|>Find the name, city, and country of the airport that has the lowest altitude.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"elevation","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>What is the name, city, and country of the airport with the lowest altitude?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"elevation","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>Find the name, city, and country of the airport that has the highest latitude.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"elevation","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>What is the name, city, and country of the airport with the highest elevation?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"elevation","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>Find the average elevation of airports in each country.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"elevation","aggregation":"avg"},{"actionType":"ChangeGrouping","column":"country"}]}}<|endoftext|><|prompter|>For each country, what is the average elevation of that country's airports?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"elevation","aggregation":"avg"},{"actionType":"ChangeGrouping","column":"country"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["apid","name","city","country","x","y","elevation","iata","icao"],"name":"airports","type":"grid"}]<|endoftext|><|prompter|>Find the name of the airport in the city of Goroka.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"city","operation":"=","value":"Goroka"}]}}<|endoftext|><|prompter|>What are the names of the airports in the city of Goroka?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"city","operation":"=","value":"Goroka"}]}}<|endoftext|><|prompter|>Find the name, city, country, and altitude (or elevation) of the airports in the city of New York.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"city","operation":"=","value":"New York"}]}}<|endoftext|><|prompter|>What is the name, city, country, and elevation for every airport in the city of New York?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"city","operation":"=","value":"New York"}]}}<|endoftext|><|prompter|>What is the maximum elevation of all airports in the country of Iceland?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"elevation","aggregation":"max"},{"actionType":"ChangeCondition","column":"country","operation":"=","value":"Iceland"}]}}<|endoftext|><|prompter|>What is the highest elevation of an airport in the country of Iceland?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"elevation","aggregation":"max"},{"actionType":"ChangeCondition","column":"country","operation":"=","value":"Iceland"}]}}<|endoftext|><|prompter|>Which country is the airport that has the highest altitude located in?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"elevation","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>What is the country of the airport with the highest elevation?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"elevation","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>How many different cities do have some airport in the country of Greenland?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"city","aggregation":"count"},{"actionType":"ChangeCondition","column":"country","operation":"=","value":"Greenland"}]}}<|endoftext|><|prompter|>In how many cities are there airports in the country of Greenland?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"city","aggregation":"count"},{"actionType":"ChangeCondition","column":"country","operation":"=","value":"Greenland"}]}}<|endoftext|><|prompter|>Find the name, city, and country of the airport that has the lowest altitude.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"elevation","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>What is the name, city, and country of the airport with the lowest altitude?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"elevation","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>Find the name, city, and country of the airport that has the highest latitude.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"elevation","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>What is the name, city, and country of the airport with the highest elevation?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"elevation","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>Find the average elevation of all airports for each country.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"elevation","aggregation":"avg"},{"actionType":"ChangeGrouping","column":"country"}]}}<|endoftext|><|prompter|>What is the average age of all students living in each city?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"elevation","aggregation":"avg"},{"actionType":"ChangeGrouping","column":"country"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["apid","name","city","country","x","y","elevation","iata","icao"],"name":"airports","type":"grid"}]<|endoftext|><|prompter|>Find the name of the airport in the city of Goroka.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"city","operation":"=","value":"Goroka"}]}}<|endoftext|><|prompter|>What are the names of the airports in the city of Goroka?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"city","operation":"=","value":"Goroka"}]}}<|endoftext|><|prompter|>Find the name, city, country, and altitude (or elevation) of the airports in the city of New York.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"city","operation":"=","value":"New York"}]}}<|endoftext|><|prompter|>What is the name, city, country, and elevation for every airport in the city of New York?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"city","operation":"=","value":"New York"}]}}<|endoftext|><|prompter|>What is the maximum elevation of all airports in the country of Iceland?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"elevation","aggregation":"max"},{"actionType":"ChangeCondition","column":"country","operation":"=","value":"Iceland"}]}}<|endoftext|><|prompter|>What is the highest elevation of an airport in the country of Iceland?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"elevation","aggregation":"max"},{"actionType":"ChangeCondition","column":"country","operation":"=","value":"Iceland"}]}}<|endoftext|><|prompter|>Which country is the airport that has the highest altitude located in?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"elevation","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>What is the country of the airport with the highest elevation?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"elevation","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>How many different cities do have some airport in the country of Greenland?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"city","aggregation":"count"},{"actionType":"ChangeCondition","column":"country","operation":"=","value":"Greenland"}]}}<|endoftext|><|prompter|>In how many cities are there airports in the country of Greenland?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"city","aggregation":"count"},{"actionType":"ChangeCondition","column":"country","operation":"=","value":"Greenland"}]}}<|endoftext|><|prompter|>Find the name, city, and country of the airport that has the lowest altitude.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"elevation","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>What is the name, city, and country of the airport with the lowest altitude?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"elevation","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>Find the name, city, and country of the airport that has the highest latitude.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"elevation","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>What is the name, city, and country of the airport with the highest elevation?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"elevation","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>Find the average elevation of all airports for each country.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"elevation","aggregation":"avg"},{"actionType":"ChangeGrouping","column":"country"}]}}<|endoftext|><|prompter|>What is the average elevation of airports in each country?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"elevation","aggregation":"avg"},{"actionType":"ChangeGrouping","column":"country"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["apid","name","city","country","x","y","elevation","iata","icao"],"name":"airports","type":"grid"}]<|endoftext|><|prompter|>Find the name of the airport in the city of Goroka.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"city","operation":"=","value":"Goroka"}]}}<|endoftext|><|prompter|>What are the names of the airports in the city of Goroka?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"city","operation":"=","value":"Goroka"}]}}<|endoftext|><|prompter|>Find the name, city, country, and altitude (or elevation) of the airports in the city of New York.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"city","operation":"=","value":"New York"}]}}<|endoftext|><|prompter|>What is the name, city, country, and elevation for every airport in the city of New York?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"city","operation":"=","value":"New York"}]}}<|endoftext|><|prompter|>What is the maximum elevation of all airports in the country of Iceland?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"elevation","aggregation":"max"},{"actionType":"ChangeCondition","column":"country","operation":"=","value":"Iceland"}]}}<|endoftext|><|prompter|>What is the highest elevation of an airport in the country of Iceland?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"elevation","aggregation":"max"},{"actionType":"ChangeCondition","column":"country","operation":"=","value":"Iceland"}]}}<|endoftext|><|prompter|>Which country is the airport that has the highest altitude located in?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"elevation","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>What is the country of the airport with the highest elevation?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"elevation","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>How many different cities do have some airport in the country of Greenland?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"city","aggregation":"count"},{"actionType":"ChangeCondition","column":"country","operation":"=","value":"Greenland"}]}}<|endoftext|><|prompter|>In how many cities are there airports in the country of Greenland?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"city","aggregation":"count"},{"actionType":"ChangeCondition","column":"country","operation":"=","value":"Greenland"}]}}<|endoftext|><|prompter|>Find the name, city, and country of the airport that has the lowest altitude.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"elevation","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>What is the name, city, and country of the airport with the lowest altitude?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"elevation","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>Find the name, city, and country of the airport that has the highest latitude.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"elevation","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>What is the name, city, and country of the airport with the highest elevation?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"elevation","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>Find the average elevation of all airports for each country.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"elevation","aggregation":"avg"},{"actionType":"ChangeGrouping","column":"country"}]}}<|endoftext|><|prompter|>For each country, what is the average elevation of that country's airports?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"elevation","aggregation":"avg"},{"actionType":"ChangeGrouping","column":"country"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["Settlement_ID","Claim_ID","Date_Claim_Made","Date_Claim_Settled","Amount_Claimed","Amount_Settled","Customer_Policy_ID"],"name":"Settlements","type":"grid"}]<|endoftext|><|prompter|>What is the total amount of settlement made for all the settlements?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Amount_Settled","aggregation":"sum"}]}}<|endoftext|><|prompter|>Compute the total amount of settlement across all the settlements.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Amount_Settled","aggregation":"sum"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["PetID","PetType","pet_age","weight"],"name":"pets","type":"grid"}]<|endoftext|><|prompter|>Hey can you tell me the average age for cats?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"pet_age","aggregation":"avg"},{"actionType":"ChangeCondition","column":"PetType","operation":"=","value":"cat"}]}}<|endoftext|><|prompter|>What about for dogs? <|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"pet_age","aggregation":"avg"},{"actionType":"ChangeCondition","column":"PetType","operation":"=","value":"dog"}]}}<|endoftext|><|prompter|>Thanks! Now what's the maximum age for dogs?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"pet_age","aggregation":"max"},{"actionType":"ChangeCondition","column":"PetType","operation":"=","value":"dog"}]}}<|endoftext|><|prompter|>And the maximum age for cats and dogs? <|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"pet_age","aggregation":"max"},{"actionType":"ChangeGrouping","column":"pettype"}]}}<|endoftext|><|prompter|>So what's the maximum age for just cats? <|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"pet_age","aggregation":"max"},{"actionType":"ChangeCondition","column":"PetType","operation":"=","value":"cat"}]}}<|endoftext|><|prompter|>Thanks!<|endoftext|><|assistant|>{"text":"Thank you! Goodybe.","dsl":{}}<|endoftext|>
COSQL
<|context|>[{"columns":["Company_ID","Name","Headquarters","Industry","Sales_in_Billion","Profits_in_Billion","Assets_in_Billion","Market_Value_in_Billion"],"name":"company","type":"grid"}]<|endoftext|><|prompter|>What are some companies with more than 200 sales?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Sales_in_Billion","operation":">","value":200}]}}<|endoftext|><|prompter|>Can you sort the list in descending order of sales and profits<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Sales_in_Billion","operation":">","value":200},{"actionType":"ChangeSorting","column":"Sales_in_Billion","direction":"ask"},{"actionType":"ChangeSorting","column":"Profits_in_Billion","direction":"desk"}]}}<|endoftext|><|prompter|>How many companies are in the list?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Sales_in_Billion","operation":">","value":200},{"actionType":"ChangeSorting","column":"Sales_in_Billion","direction":"ask"},{"actionType":"ChangeSorting","column":"Profits_in_Billion","direction":"desk"}]}}<|endoftext|><|prompter|>Can you show me the list in descending order of sales and profits again?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Sales_in_Billion","operation":">","value":200},{"actionType":"ChangeSorting","column":"Sales_in_Billion","direction":"ask"},{"actionType":"ChangeSorting","column":"Profits_in_Billion","direction":"desk"}]}}<|endoftext|><|prompter|>Thanks!<|endoftext|><|assistant|>{"text":"Sure! Bye!","dsl":{}}<|endoftext|>
COSQL
<|context|>[{"columns":["id","last_name","first_name","title","reports_to","birth_date","hire_date","address","city","state","country","postal_code","phone","fax","email"],"name":"employees","type":"grid"}]<|endoftext|><|prompter|>What is employee named Nancy Andrews phone number?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"first_name","operation":"=","value":"'Nancy'"},{"actionType":"ChangeCondition","column":"last_name","operation":"=","value":"'Andrews'"}]}}<|endoftext|><|prompter|>OK. What is it for Nancy Edwards?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"first_name","operation":"=","value":"'Nancy'"},{"actionType":"ChangeCondition","column":"last_name","operation":"=","value":"'Edwards'"}]}}<|endoftext|><|prompter|>Great! And her fax number?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"first_name","operation":"=","value":"'Nancy'"},{"actionType":"ChangeCondition","column":"last_name","operation":"=","value":"'Edwards'"}]}}<|endoftext|><|prompter|>Okay. What is her job title?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"first_name","operation":"=","value":"'Nancy'"},{"actionType":"ChangeCondition","column":"last_name","operation":"=","value":"'Edwards'"}]}}<|endoftext|><|prompter|>How many employees have that job title?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"title","operation":"=","value":"'Sales Manager'"}]}}<|endoftext|><|prompter|>OK. I appreciate your help. Thanks!<|endoftext|><|assistant|>{"text":"Thank you! Bye.","dsl":{}}<|endoftext|>
COSQL
<|context|>[{"columns":["Branch_ID","Name","Open_year","Address_road","City","membership_amount"],"name":"branch","type":"grid"}]<|endoftext|><|prompter|>Show the city and the number of branches opened before 2010 for each city<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"open_year","operation":"<","value":2010},{"actionType":"ChangeGrouping","column":"city"}]}}<|endoftext|><|prompter|>Which year were those branches opened?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"open_year","operation":"<","value":2010}]}}<|endoftext|><|prompter|>Give me the membership amount for those cities<|endoftext|><|assistant|>{"text":"Which cities?","dsl":{}}<|endoftext|><|prompter|>Cities that were opened before 2010<|endoftext|><|assistant|>{"text":"Ah, I cannot understand. Do you mean cities that have branches opened before 2010?","dsl":{}}<|endoftext|><|prompter|>Give me names of branches opened before 2010<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"open_year","operation":"<","value":2010}]}}<|endoftext|><|prompter|>Thanks!<|endoftext|><|assistant|>{"text":"You are welcome.","dsl":{}}<|endoftext|>
COSQL
<|context|>[{"columns":["Stadium_ID","Location","Name","Capacity","Highest","Lowest","Average"],"name":"stadium","type":"grid"}]<|endoftext|><|prompter|>How many stadiums can accommodate more than 1000 people in average.?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"average","operation":">","value":1000}]}}<|endoftext|><|prompter|>What is the name of the stadium with the highest average lowest attendance?<|endoftext|><|assistant|>{"text":"Sorry, I don't understand \"highest average lowest attendance\". Could you please clarify?","dsl":{}}<|endoftext|><|prompter|>sorry , What is the name of the stadium with the lowest attendance in average.?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"average","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>What about the one with highest average attendance?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"average","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>Thanks!<|endoftext|><|assistant|>{"text":"bye!","dsl":{}}<|endoftext|>
COSQL
<|context|>[{"columns":["ResID","ResName","Address","Rating"],"name":"Restaurant","type":"grid"}]<|endoftext|><|prompter|>What is the address of the restaurant Subway?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"ResName","operation":"=","value":"'Subway'"}]}}<|endoftext|><|prompter|>What is the rating of the restaurant Subway?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"ResName","operation":"=","value":"'Subway'"}]}}<|endoftext|><|prompter|>Which restaurants have highest rating? List the restaurant name and its rating.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"Rating","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["aid","homepage","name","oid"],"name":"author","type":"grid"}]<|endoftext|><|prompter|>return me the homepage of " H. V. Jagadish " .<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"name","operation":"=","value":"'H. V. Jagadish'"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["Market_ID","Country","Number_cities"],"name":"market","type":"grid"}]<|endoftext|><|prompter|>How many markets have number of cities smaller than 300?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Number_cities","operation":"<","value":300}]}}<|endoftext|><|prompter|>Count the number of markets that have a number of cities lower than 300.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Number_cities","operation":"<","value":300}]}}<|endoftext|><|prompter|>List all countries of markets in ascending alphabetical order.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"Country","direction":"ask"}]}}<|endoftext|><|prompter|>What are the countries for each market, ordered alphabetically?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"Country","direction":"ask"}]}}<|endoftext|><|prompter|>List all countries of markets in descending order of number of cities.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"Number_cities","direction":"desk"}]}}<|endoftext|><|prompter|>What are the countries for each market ordered by decreasing number of cities?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"Number_cities","direction":"desk"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["id","name","lat","long","dock_count","city","installation_date"],"name":"station","type":"grid"}]<|endoftext|><|prompter|>What is the average latitude of stations located in San Jose city?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"lat","aggregation":"avg"},{"actionType":"ChangeCondition","column":"city","operation":"=","value":"'San Jose'"}]}}<|endoftext|><|prompter|>What is the average longitude of stations located in San Jose city?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"long","aggregation":"avg"},{"actionType":"ChangeCondition","column":"city","operation":"=","value":"'San Jose'"}]}}<|endoftext|><|prompter|>What are the installation dates for all stations in San Jose city?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"city","operation":"=","value":"'San Jose'"}]}}<|endoftext|><|prompter|>What are the names of each of those?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"city","operation":"=","value":"'San Jose'"}]}}<|endoftext|><|prompter|>What are the dock counts of each of those?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"city","operation":"=","value":"'San Jose'"}]}}<|endoftext|><|prompter|>Thanks!<|endoftext|><|assistant|>{"text":"You are welcome!","dsl":{}}<|endoftext|>
COSQL
<|context|>[{"columns":["payment_id","customer_id","staff_id","rental_id","amount","payment_date","last_update"],"name":"payment","type":"grid"}]<|endoftext|><|prompter|>Hi there! Whew! That was a long wait to join the chat! Can you please show me what the largest single payment amount is?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"amount","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>Great! Can you provide me with the associated customer ID and payment ID?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"amount","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>Perfect! Could you tell me which payment ID over $5.00 has the most recent payment date?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"amount","operation":">","value":5},{"actionType":"ChangeTopFilter","column":"last_update","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>Thanks!<|endoftext|><|assistant|>{"text":"welcome,goodbye","dsl":{}}<|endoftext|>
COSQL
<|context|>[{"columns":["Party_ID","Minister","Took_office","Left_office","Region_ID","Party_name"],"name":"party","type":"grid"}]<|endoftext|><|prompter|>How many parties do we have?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"party_name","aggregation":"count"}]}}<|endoftext|><|prompter|>Count the number of different parties.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"party_name","aggregation":"count"}]}}<|endoftext|><|prompter|>Show the ministers and the time they took and left office, listed by the time they left office.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"left_office","direction":"ask"}]}}<|endoftext|><|prompter|>Who are the ministers, when did they take office, and when did they leave office, ordered by when they left office?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"left_office","direction":"ask"}]}}<|endoftext|><|prompter|>Show all ministers who do not belong to Progress Party.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"party_name","operation":"!=","value":"Progress Party"}]}}<|endoftext|><|prompter|>Which ministers are not a part of the Progress Party?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"party_name","operation":"!=","value":"Progress Party"}]}}<|endoftext|><|prompter|>Show all ministers and parties they belong to in descending order of the time they took office.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"took_office","direction":"desk"}]}}<|endoftext|><|prompter|>Who are the ministers and what parties do they belong to, listed descending by the times they took office?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"took_office","direction":"desk"}]}}<|endoftext|><|prompter|>Return the minister who left office at the latest time.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"left_office","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>Which minister left office the latest?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"left_office","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["People_ID","Name","Age","Height","Hometown"],"name":"people","type":"grid"}]<|endoftext|><|prompter|>What is the tallest height?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"Height","aggregation":"max"}]}}<|endoftext|><|prompter|>What is that person's name?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"Height","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>How old is he?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"Height","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>Thanks!<|endoftext|><|assistant|>{"text":"You are welcome!","dsl":{}}<|endoftext|>
COSQL
<|context|>[{"columns":["EMP_NUM","DEPT_CODE","PROF_OFFICE","PROF_EXTENSION","PROF_HIGH_DEGREE"],"name":"professor","type":"grid"}]<|endoftext|><|prompter|>Yes, hi, I'd like to know how many professors are in the history department?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"dept_code","operation":"=","value":"'HIST'"}]}}<|endoftext|><|prompter|>Do both of them have doctorates?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"dept_code","operation":"=","value":"'HIST'"},{"actionType":"ChangeCondition","column":"prof_high_degree","operation":"=","value":"'Ph.D.'"}]}}<|endoftext|><|prompter|>How many departments are there total?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"dept_code","aggregation":"count"}]}}<|endoftext|><|prompter|>Is English one of them?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"dept_code","operation":"=","value":"'ENG'"}]}}<|endoftext|><|prompter|>Do any of the English professors have a PhD?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"dept_code","operation":"=","value":"'ENG'"},{"actionType":"ChangeCondition","column":"prof_high_degree","operation":"=","value":"'Ph.D.'"}]}}<|endoftext|><|prompter|>How many of the English professors with PhDs are female?<|endoftext|><|assistant|>{"text":"Sorry, the female information is not available in the table. Please ask something else. ","dsl":{}}<|endoftext|><|prompter|>Can you tell me where the history Doctorate's office is?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"dept_code","operation":"=","value":"'HIST'"},{"actionType":"ChangeCondition","column":"prof_high_degree","operation":"=","value":"'Ph.D.'"}]}}<|endoftext|><|prompter|>What is the total number professors with doctorates employed by the 11 departments?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"prof_high_degree","operation":"=","value":"'Ph.D.'"}]}}<|endoftext|><|prompter|>Of those 18, how many doctorates are employed by the accounting department?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"prof_high_degree","operation":"=","value":"'Ph.D.'"},{"actionType":"ChangeCondition","column":"dept_code","operation":"=","value":"'ACCT'"}]}}<|endoftext|><|prompter|>Can you tell me where their offices are?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"prof_high_degree","operation":"=","value":"'Ph.D.'"},{"actionType":"ChangeCondition","column":"dept_code","operation":"=","value":"'ACCT'"}]}}<|endoftext|><|prompter|>Can you tell me the extension for the professor in office KLR229D, please? <|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"prof_high_degree","operation":"=","value":"'Ph.D.'"},{"actionType":"ChangeCondition","column":"dept_code","operation":"=","value":"'ACCT'"},{"actionType":"ChangeCondition","column":"prof_office","operation":"=","value":"'KLR 229D'"}]}}<|endoftext|><|prompter|>Thanks!<|endoftext|><|assistant|>{"text":"Thank you, good bye. ","dsl":{}}<|endoftext|>
COSQL
<|context|>[{"columns":["best_of","draw_size","loser_age","loser_entry","loser_hand","loser_ht","loser_id","loser_ioc","loser_name","loser_rank","loser_rank_points","loser_seed","match_num","minutes","round","score","surface","tourney_date","tourney_id","tourney_level","tourney_name","winner_age","winner_entry","winner_hand","winner_ht","winner_id","winner_ioc","winner_name","winner_rank","winner_rank_points","winner_seed","year"],"name":"matches","type":"grid"}]<|endoftext|><|prompter|>How many matches played in 2013?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"YEAR","operation":"=","value":2013}]}}<|endoftext|><|prompter|>How many matches played in 2016?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"YEAR","operation":"=","value":2016}]}}<|endoftext|><|prompter|>What is the loser id of petra kvitota?<|endoftext|><|assistant|>{"text":"Do you mean \tloser id","dsl":{}}<|endoftext|><|prompter|>Yes<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"loser_name","operation":"=","value":"'Petra Kvitova'"}]}}<|endoftext|><|prompter|>Thanks!<|endoftext|><|assistant|>{"text":"Welcome and goodbye","dsl":{}}<|endoftext|>
COSQL
<|context|>[{"columns":["Pilot_ID","Pilot_name","Rank","Age","Nationality","Position","Join_Year","Team"],"name":"pilot","type":"grid"}]<|endoftext|><|prompter|>List the names of pilots in ascending order of rank.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"Rank","direction":"ask"}]}}<|endoftext|><|prompter|>List the distinct positions of pilots older than 30.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Age","operation":">","value":30}]}}<|endoftext|><|prompter|>What is the joined year of the pilot of the highest rank?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"Rank","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>What nationalities do the pilots belong to? Please provide the number of pilots for each nationality.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"Nationality"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["Pilot_ID","Pilot_name","Rank","Age","Nationality","Position","Join_Year","Team"],"name":"pilot","type":"grid"}]<|endoftext|><|prompter|>List the names of pilots in ascending order of rank.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"Rank","direction":"ask"}]}}<|endoftext|><|prompter|>List the distinct positions of pilots older than 30.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Age","operation":">","value":30}]}}<|endoftext|><|prompter|>What is the joined year of the pilot of the highest rank?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"Rank","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>Provide a count of pilots from each nationality.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"Nationality"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["Pilot_ID","Pilot_name","Rank","Age","Nationality","Position","Join_Year","Team"],"name":"pilot","type":"grid"}]<|endoftext|><|prompter|>List the names of pilots in ascending order of rank.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"Rank","direction":"ask"}]}}<|endoftext|><|prompter|>List the distinct positions of pilots older than 30.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Age","operation":">","value":30}]}}<|endoftext|><|prompter|>What is the joined year of the pilot of the highest rank?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"Rank","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>What are the different nationalities of pilots? Show each nationality and the number of pilots of each nationality.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"Nationality"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["id","name","lat","long","dock_count","city","installation_date"],"name":"station","type":"grid"}]<|endoftext|><|prompter|>What are the names of station with lowest lattitude?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"lat","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>What is the latitude of the station with the lowest latitude?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"lat","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>Which city is san jose diridon caltrain station located?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"name","operation":"=","value":"'San Jose Diridon Caltrain Station'"}]}}<|endoftext|><|prompter|>Thanks!<|endoftext|><|assistant|>{"text":"No problem. Bye bye!","dsl":{}}<|endoftext|>
COSQL
<|context|>[{"columns":["artist_name","country","gender","preferred_genre"],"name":"artist","type":"grid"}]<|endoftext|><|prompter|>How many artists are from Bangladesh?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"country","operation":"=","value":"'Bangladesh'"}]}}<|endoftext|><|prompter|>How many Bangladeshi artists are listed?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"country","operation":"=","value":"'Bangladesh'"}]}}<|endoftext|><|prompter|>What is the average number of points for players in each position?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"gender"}]}}<|endoftext|><|prompter|>How many artists are male and how many are female?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"gender"}]}}<|endoftext|><|prompter|>What are the names of artists who are Male and are from UK?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"country","operation":"=","value":"'UK'"},{"actionType":"ChangeCondition","column":"gender","operation":"=","value":"'Male'"}]}}<|endoftext|><|prompter|>What are the names of all male British artists?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"country","operation":"=","value":"'UK'"},{"actionType":"ChangeCondition","column":"gender","operation":"=","value":"'Male'"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["artist_name","country","gender","preferred_genre"],"name":"artist","type":"grid"}]<|endoftext|><|prompter|>How many artists are from Bangladesh?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"country","operation":"=","value":"'Bangladesh'"}]}}<|endoftext|><|prompter|>How many Bangladeshi artists are listed?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"country","operation":"=","value":"'Bangladesh'"}]}}<|endoftext|><|prompter|>How many artists are there for each gender?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"gender"}]}}<|endoftext|><|prompter|>How many artists are male and how many are female?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"gender"}]}}<|endoftext|><|prompter|>What are the names of artists who are Male and are from UK?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"country","operation":"=","value":"'UK'"},{"actionType":"ChangeCondition","column":"gender","operation":"=","value":"'Male'"}]}}<|endoftext|><|prompter|>What are the names of all male British artists?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"country","operation":"=","value":"'UK'"},{"actionType":"ChangeCondition","column":"gender","operation":"=","value":"'Male'"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["artist_name","country","gender","preferred_genre"],"name":"artist","type":"grid"}]<|endoftext|><|prompter|>How many artists are from Bangladesh?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"country","operation":"=","value":"'Bangladesh'"}]}}<|endoftext|><|prompter|>How many Bangladeshi artists are listed?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"country","operation":"=","value":"'Bangladesh'"}]}}<|endoftext|><|prompter|>What is the number of artists for each gender?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"gender"}]}}<|endoftext|><|prompter|>Count the number of male and female artists.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"gender"}]}}<|endoftext|><|prompter|>What are the names of artists who are Male and are from UK?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"country","operation":"=","value":"'UK'"},{"actionType":"ChangeCondition","column":"gender","operation":"=","value":"'Male'"}]}}<|endoftext|><|prompter|>What are the names of all male British artists?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"country","operation":"=","value":"'UK'"},{"actionType":"ChangeCondition","column":"gender","operation":"=","value":"'Male'"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["artist_name","country","gender","preferred_genre"],"name":"artist","type":"grid"}]<|endoftext|><|prompter|>How many artists are from Bangladesh?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"country","operation":"=","value":"'Bangladesh'"}]}}<|endoftext|><|prompter|>How many Bangladeshi artists are listed?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"country","operation":"=","value":"'Bangladesh'"}]}}<|endoftext|><|prompter|>What is the number of artists for each gender?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"gender"}]}}<|endoftext|><|prompter|>How many male and female artists are there?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"gender"}]}}<|endoftext|><|prompter|>What are the names of artists who are Male and are from UK?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"country","operation":"=","value":"'UK'"},{"actionType":"ChangeCondition","column":"gender","operation":"=","value":"'Male'"}]}}<|endoftext|><|prompter|>What are the names of all male British artists?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"country","operation":"=","value":"'UK'"},{"actionType":"ChangeCondition","column":"gender","operation":"=","value":"'Male'"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["artist_name","country","gender","preferred_genre"],"name":"artist","type":"grid"}]<|endoftext|><|prompter|>How many artists are from Bangladesh?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"country","operation":"=","value":"'Bangladesh'"}]}}<|endoftext|><|prompter|>How many Bangladeshi artists are listed?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"country","operation":"=","value":"'Bangladesh'"}]}}<|endoftext|><|prompter|>What is the number of artists for each gender?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"gender"}]}}<|endoftext|><|prompter|>How many artists are male and how many are female?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"gender"}]}}<|endoftext|><|prompter|>What are the names of artists who are Male and are from UK?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"country","operation":"=","value":"'UK'"},{"actionType":"ChangeCondition","column":"gender","operation":"=","value":"'Male'"}]}}<|endoftext|><|prompter|>What are the names of all male British artists?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"country","operation":"=","value":"'UK'"},{"actionType":"ChangeCondition","column":"gender","operation":"=","value":"'Male'"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["Film_ID","Title","Studio","Director","Gross_in_dollar"],"name":"film","type":"grid"}]<|endoftext|><|prompter|>Who is the director of "walter hill"?<|endoftext|><|assistant|>{"text":"do you mean which film is directed by the director of \"walter hill\"?","dsl":{}}<|endoftext|><|prompter|>yes. <|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Director","operation":"=","value":"'Walter Hill'"}]}}<|endoftext|><|prompter|>Which studios have produced films with the director "Walter Hill"?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Director","operation":"=","value":"'Walter Hill'"}]}}<|endoftext|><|prompter|>What about the ones that haven't?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Director","operation":"!=","value":"'Walter Hill'"}]}}<|endoftext|><|prompter|>Thanks!<|endoftext|><|assistant|>{"text":"welcome goodbye","dsl":{}}<|endoftext|>
COSQL
<|context|>[{"columns":["guest_id","gender_code","guest_first_name","guest_last_name","date_of_birth"],"name":"Guests","type":"grid"}]<|endoftext|><|prompter|>Return the date of birth for all the guests with gender code "Male".<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"gender_code","operation":"=","value":"'Male'"}]}}<|endoftext|><|prompter|>What are dates of birth of all the guests whose gender is "Male"?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"gender_code","operation":"=","value":"'Male'"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["Employee_ID","Role_Code","Employee_Name","Gender_MFU","Date_of_Birth","Other_Details"],"name":"Employees","type":"grid"}]<|endoftext|><|prompter|>Show the name, role code, and date of birth for the employee with name 'Armani'.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"employee_Name","operation":"=","value":"Armani"}]}}<|endoftext|><|prompter|>What are the name, role code, and date of birth of the employee named 'Armani'?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"employee_Name","operation":"=","value":"Armani"}]}}<|endoftext|><|prompter|>What is the id for the employee called Ebba?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"employee_name","operation":"=","value":"'Ebba'"}]}}<|endoftext|><|prompter|>Show the id of the employee named Ebba.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"employee_name","operation":"=","value":"'Ebba'"}]}}<|endoftext|><|prompter|>Show the names of all the employees with role "HR".<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"role_code","operation":"=","value":"'HR'"}]}}<|endoftext|><|prompter|>Which employees have the role with code "HR"? Find their names.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"role_code","operation":"=","value":"'HR'"}]}}<|endoftext|><|prompter|>Display all role codes with the corresponding employee count for each role.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"role_code"}]}}<|endoftext|><|prompter|>What is the code of each role and the number of employees in each role?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"role_code"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["Employee_ID","Role_Code","Employee_Name","Gender_MFU","Date_of_Birth","Other_Details"],"name":"Employees","type":"grid"}]<|endoftext|><|prompter|>Show the name, role code, and date of birth for the employee with name 'Armani'.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"employee_Name","operation":"=","value":"Armani"}]}}<|endoftext|><|prompter|>What are the name, role code, and date of birth of the employee named 'Armani'?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"employee_Name","operation":"=","value":"Armani"}]}}<|endoftext|><|prompter|>What is the id for the employee called Ebba?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"employee_name","operation":"=","value":"'Ebba'"}]}}<|endoftext|><|prompter|>Show the id of the employee named Ebba.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"employee_name","operation":"=","value":"'Ebba'"}]}}<|endoftext|><|prompter|>Show the names of all the employees with role "HR".<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"role_code","operation":"=","value":"'HR'"}]}}<|endoftext|><|prompter|>Which employees have the role with code "HR"? Find their names.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"role_code","operation":"=","value":"'HR'"}]}}<|endoftext|><|prompter|>Show all role codes and the number of employees in each role.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"role_code"}]}}<|endoftext|><|prompter|>What is the code of each role and the number of employees in each role?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"role_code"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["Employee_ID","Role_Code","Employee_Name","Gender_MFU","Date_of_Birth","Other_Details"],"name":"Employees","type":"grid"}]<|endoftext|><|prompter|>Show the name, role code, and date of birth for the employee with name 'Armani'.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"employee_Name","operation":"=","value":"Armani"}]}}<|endoftext|><|prompter|>What are the name, role code, and date of birth of the employee named 'Armani'?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"employee_Name","operation":"=","value":"Armani"}]}}<|endoftext|><|prompter|>What is the id for the employee called Ebba?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"employee_name","operation":"=","value":"'Ebba'"}]}}<|endoftext|><|prompter|>Show the id of the employee named Ebba.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"employee_name","operation":"=","value":"'Ebba'"}]}}<|endoftext|><|prompter|>Show the names of all the employees with role "HR".<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"role_code","operation":"=","value":"'HR'"}]}}<|endoftext|><|prompter|>Which employees have the role with code "HR"? Find their names.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"role_code","operation":"=","value":"'HR'"}]}}<|endoftext|><|prompter|>Show all role codes and the number of employees in each role.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"role_code"}]}}<|endoftext|><|prompter|>Indicate the code for each role and the employee count within each role.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"role_code"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["Employee_ID","Role_Code","Employee_Name","Gender_MFU","Date_of_Birth","Other_Details"],"name":"Employees","type":"grid"}]<|endoftext|><|prompter|>Show the name, role code, and date of birth for the employee with name 'Armani'.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"employee_Name","operation":"=","value":"Armani"}]}}<|endoftext|><|prompter|>What are the name, role code, and date of birth of the employee named 'Armani'?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"employee_Name","operation":"=","value":"Armani"}]}}<|endoftext|><|prompter|>What is the id for the employee called Ebba?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"employee_name","operation":"=","value":"'Ebba'"}]}}<|endoftext|><|prompter|>Show the id of the employee named Ebba.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"employee_name","operation":"=","value":"'Ebba'"}]}}<|endoftext|><|prompter|>Show the names of all the employees with role "HR".<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"role_code","operation":"=","value":"'HR'"}]}}<|endoftext|><|prompter|>Which employees have the role with code "HR"? Find their names.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"role_code","operation":"=","value":"'HR'"}]}}<|endoftext|><|prompter|>Show all role codes and the number of employees in each role.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"role_code"}]}}<|endoftext|><|prompter|>List the code of each role and the number of employees in each role.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"role_code"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["Employee_ID","Role_Code","Employee_Name","Gender_MFU","Date_of_Birth","Other_Details"],"name":"Employees","type":"grid"}]<|endoftext|><|prompter|>Show the name, role code, and date of birth for the employee with name 'Armani'.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"employee_Name","operation":"=","value":"Armani"}]}}<|endoftext|><|prompter|>What are the name, role code, and date of birth of the employee named 'Armani'?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"employee_Name","operation":"=","value":"Armani"}]}}<|endoftext|><|prompter|>What is the id for the employee called Ebba?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"employee_name","operation":"=","value":"'Ebba'"}]}}<|endoftext|><|prompter|>Show the id of the employee named Ebba.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"employee_name","operation":"=","value":"'Ebba'"}]}}<|endoftext|><|prompter|>Show the names of all the employees with role "HR".<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"role_code","operation":"=","value":"'HR'"}]}}<|endoftext|><|prompter|>Which employees have the role with code "HR"? Find their names.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"role_code","operation":"=","value":"'HR'"}]}}<|endoftext|><|prompter|>Show all role codes and the number of employees in each role.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"role_code"}]}}<|endoftext|><|prompter|>What is the code of each role and the number of employees in each role?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"role_code"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["Election_ID","Counties_Represented","District","Delegate","Party","First_Elected","Committee"],"name":"election","type":"grid"}]<|endoftext|><|prompter|>Show the delegate from district 1 in election.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"District","operation":"=","value":1}]}}<|endoftext|><|prompter|>Who is the delegate of district 1 in the elections?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"District","operation":"=","value":1}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["payment_id","booking_id","customer_id","payment_type_code","amount_paid_in_full_yn","payment_date","amount_due","amount_paid"],"name":"Payments","type":"grid"}]<|endoftext|><|prompter|>What is the maximum total amount paid by a customer? List the customer id and amount.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"amount_paid","aggregation":"sum"},{"actionType":"ChangeGrouping","column":"customer_id"},{"actionType":"ChangeTopFilter","column":"amount_paid","limit":1,"aggregation":"sum","direction":"desk"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["ID","name","dept_name","salary"],"name":"instructor","type":"grid"}]<|endoftext|><|prompter|>Hi, could you please let me know the name of instructors in Comp. Sci. department whose salary is higher than 80000?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"dept_name","operation":"=","value":"Comp. Sci."},{"actionType":"ChangeCondition","column":"salary","operation":">","value":80000}]}}<|endoftext|><|prompter|>Oh only two of them. Thank you :) Then could you please let me know the name of the instructor whose salary is the highest in the table?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"salary","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>That was quick, thank you again. Then could you please tell me the department name of instructor Wieland?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"name","operation":"=","value":"'Wieland'"}]}}<|endoftext|><|prompter|>Thank you :) If it is not too bothersome, could you please let me know the average salary of the instructors in Pol. Sci.?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"salary","aggregation":"avg"},{"actionType":"ChangeCondition","column":"dept_name","operation":"=","value":"'Pol. Sci.'"}]}}<|endoftext|><|prompter|>Thank you, then could you please tell me what would be the average salary of instructors for Cybernetics?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"salary","aggregation":"avg"},{"actionType":"ChangeCondition","column":"dept_name","operation":"=","value":"'Cybernetics'"}]}}<|endoftext|><|prompter|>Thank you :) This will be my last question, could you please let me know the name and ID of the instructor whose salary is the lowest?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"salary","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>Thanks! I really appreciate your help, hope you have a great day ahead!<|endoftext|><|assistant|>{"text":"You're welcome. Good bye!","dsl":{}}<|endoftext|>
COSQL
<|context|>[{"columns":["People_ID","Name","Country","Is_Male","Age"],"name":"people","type":"grid"}]<|endoftext|><|prompter|>Show me the country with people younger than 30,<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"age","operation":"<","value":30}]}}<|endoftext|><|prompter|>Show me a list of countries with people over the age of 30.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"age","operation":">","value":30}]}}<|endoftext|><|prompter|>How many males 30 or older are in the Canada<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"age","operation":">=","value":30},{"actionType":"ChangeCondition","column":"Is_Male","operation":"=","value":"T"},{"actionType":"ChangeCondition","column":"country","operation":"=","value":"Canada"}]}}<|endoftext|><|prompter|>Thanks!<|endoftext|><|assistant|>{"text":"You are welcome!","dsl":{}}<|endoftext|>
COSQL
<|context|>[{"columns":["Election_ID","Representative_ID","Date","Votes","Vote_Percent","Seats","Place"],"name":"election","type":"grid"}]<|endoftext|><|prompter|>List the votes of elections in descending order.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"Votes","direction":"desk"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["Code","Name","Continent","Region","SurfaceArea","IndepYear","Population","LifeExpectancy","GNP","GNPOld","LocalName","GovernmentForm","HeadOfState","Capital","Code2"],"name":"country","type":"grid"}]<|endoftext|><|prompter|>Can you please list all the names of the countries that are in the continent of Europe?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"continent","operation":"=","value":"'Europe'"}]}}<|endoftext|><|prompter|>Can you please only show those countries with a population of 80000 in the table?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"continent","operation":"=","value":"'Europe'"},{"actionType":"ChangeCondition","column":"Population","operation":"=","value":"'80000'"}]}}<|endoftext|><|prompter|>Thanks!<|endoftext|><|assistant|>{"text":"You are welcome.","dsl":{}}<|endoftext|>
COSQL
<|context|>[{"columns":["School_id","School_name","Location","Mascot","Enrollment","IHSAA_Class","IHSAA_Football_Class","County"],"name":"school","type":"grid"}]<|endoftext|><|prompter|>Can you show me the average enrollment of all schools?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"enrollment","aggregation":"avg"}]}}<|endoftext|><|prompter|>Can you show me the maximum enrollment of all schools?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"enrollment","aggregation":"max"}]}}<|endoftext|><|prompter|>Can you show me the minimum enrollment of all schools?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"enrollment","aggregation":"min"}]}}<|endoftext|><|prompter|>What is the name of the school with the maximum enrollment?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"Enrollment","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>What is the name of the school with the minimum enrollment?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"Enrollment","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>Thanks!<|endoftext|><|assistant|>{"text":"goodbye","dsl":{}}<|endoftext|>
COSQL
<|context|>[{"columns":["Teacher_ID","Name","Age","Hometown"],"name":"teacher","type":"grid"}]<|endoftext|><|prompter|>List the names of teachers in ascending order of age.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"Age","direction":"ask"}]}}<|endoftext|><|prompter|>What are the names of the teachers ordered by ascending age?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"Age","direction":"ask"}]}}<|endoftext|><|prompter|>List the name of teachers whose hometown is not `` Little Lever Urban District '' .<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"hometown","operation":"!=","value":"'little lever urban district'"}]}}<|endoftext|><|prompter|>What are the names of the teachers whose hometown is not `` Little Lever Urban District '' ?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"hometown","operation":"!=","value":"'little lever urban district'"}]}}<|endoftext|><|prompter|>What is the hometown of the youngest teacher?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"Age","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>Where is the youngest teacher from?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"Age","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>Display the unique hometowns of teachers and their respective teacher counts.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"Hometown"}]}}<|endoftext|><|prompter|>For each hometown, how many teachers are there?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"Hometown"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["Teacher_ID","Name","Age","Hometown"],"name":"teacher","type":"grid"}]<|endoftext|><|prompter|>List the names of teachers in ascending order of age.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"Age","direction":"ask"}]}}<|endoftext|><|prompter|>What are the names of the teachers ordered by ascending age?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"Age","direction":"ask"}]}}<|endoftext|><|prompter|>List the name of teachers whose hometown is not `` Little Lever Urban District '' .<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"hometown","operation":"!=","value":"'little lever urban district'"}]}}<|endoftext|><|prompter|>What are the names of the teachers whose hometown is not `` Little Lever Urban District '' ?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"hometown","operation":"!=","value":"'little lever urban district'"}]}}<|endoftext|><|prompter|>What is the hometown of the youngest teacher?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"Age","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>Where is the youngest teacher from?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"Age","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>Show the hometowns of teachers and the number of teachers from each hometown.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"Hometown"}]}}<|endoftext|><|prompter|>For each hometown, how many teachers are there?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"Hometown"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["Teacher_ID","Name","Age","Hometown"],"name":"teacher","type":"grid"}]<|endoftext|><|prompter|>List the names of teachers in ascending order of age.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"Age","direction":"ask"}]}}<|endoftext|><|prompter|>What are the names of the teachers ordered by ascending age?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"Age","direction":"ask"}]}}<|endoftext|><|prompter|>List the name of teachers whose hometown is not `` Little Lever Urban District '' .<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"hometown","operation":"!=","value":"'little lever urban district'"}]}}<|endoftext|><|prompter|>What are the names of the teachers whose hometown is not `` Little Lever Urban District '' ?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"hometown","operation":"!=","value":"'little lever urban district'"}]}}<|endoftext|><|prompter|>What is the hometown of the youngest teacher?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"Age","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>Where is the youngest teacher from?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"Age","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>Show different hometown of teachers and the number of teachers from each hometown.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"Hometown"}]}}<|endoftext|><|prompter|>How many teachers are there in each hometown?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"Hometown"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["Teacher_ID","Name","Age","Hometown"],"name":"teacher","type":"grid"}]<|endoftext|><|prompter|>List the names of teachers in ascending order of age.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"Age","direction":"ask"}]}}<|endoftext|><|prompter|>What are the names of the teachers ordered by ascending age?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"Age","direction":"ask"}]}}<|endoftext|><|prompter|>List the name of teachers whose hometown is not `` Little Lever Urban District '' .<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"hometown","operation":"!=","value":"'little lever urban district'"}]}}<|endoftext|><|prompter|>What are the names of the teachers whose hometown is not `` Little Lever Urban District '' ?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"hometown","operation":"!=","value":"'little lever urban district'"}]}}<|endoftext|><|prompter|>What is the hometown of the youngest teacher?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"Age","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>Where is the youngest teacher from?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"Age","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>Show different hometown of teachers and the number of teachers from each hometown.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"Hometown"}]}}<|endoftext|><|prompter|>For each hometown, how many teachers are there?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"Hometown"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["Teacher_ID","Name","Age","Hometown"],"name":"teacher","type":"grid"}]<|endoftext|><|prompter|>List the names of teachers in ascending order of age.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"Age","direction":"ask"}]}}<|endoftext|><|prompter|>What are the names of the teachers ordered by ascending age?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"Age","direction":"ask"}]}}<|endoftext|><|prompter|>List the name of teachers whose hometown is not `` Little Lever Urban District '' .<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"hometown","operation":"!=","value":"'little lever urban district'"}]}}<|endoftext|><|prompter|>What are the names of the teachers whose hometown is not `` Little Lever Urban District '' ?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"hometown","operation":"!=","value":"'little lever urban district'"}]}}<|endoftext|><|prompter|>What is the hometown of the youngest teacher?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"Age","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>Where is the youngest teacher from?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"Age","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>Show different hometown of teachers and the number of teachers from each hometown.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"Hometown"}]}}<|endoftext|><|prompter|>For each hometown, how many teachers are there?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"Hometown"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["Player_ID","Player","Team","Age","Position","School_ID"],"name":"player","type":"grid"}]<|endoftext|><|prompter|>Which team of players has the smallest age?<|endoftext|><|assistant|>{"text":"Did you mean to ask for the team of the player with the smallest age?","dsl":{}}<|endoftext|><|prompter|>yes <|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"Age","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>Which team does Timothy Beckham play for?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Player","operation":"=","value":"'Timothy Beckham'"}]}}<|endoftext|><|prompter|>How old is he and what position does he play?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Player","operation":"=","value":"'Timothy Beckham'"}]}}<|endoftext|><|prompter|>What position does Eric Hosmer play?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Player","operation":"=","value":"'Eric Hosmer'"}]}}<|endoftext|><|prompter|>Thanks!<|endoftext|><|assistant|>{"text":"You are welcome. Good bye!","dsl":{}}<|endoftext|>
COSQL
<|context|>[{"columns":["Singer_ID","Name","Country","Song_Name","Song_release_year","Age","Is_male"],"name":"singer","type":"grid"}]<|endoftext|><|prompter|>Show the name and the release year of the song by the youngest singer<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"age","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>Ok. Can you show me the name and the release year of the song by the oldest singer<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"age","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>Can you also show me the name of the youngest singer<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"age","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>And what is the name of the oldest singer and his age<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"age","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>and what country was he from? <|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"age","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>give me the names of the singers from United States <|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"country","operation":"=","value":"United States"}]}}<|endoftext|><|prompter|>Thanks!<|endoftext|><|assistant|>{"text":"goodbye!","dsl":{}}<|endoftext|>
COSQL
<|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|>Full name of of ID 1?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"id","operation":"=","value":1}]}}<|endoftext|><|prompter|>Address of Luís Köhler?<|endoftext|><|assistant|>{"text":"Is Luís Köhler full name?","dsl":{}}<|endoftext|><|prompter|>Yes<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"first_name","operation":"=","value":"'Luís'"},{"actionType":"ChangeCondition","column":"last_name","operation":"=","value":"' Köhler'"}]}}<|endoftext|><|prompter|>Provide address of ID 1?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"id","operation":"=","value":1}]}}<|endoftext|><|prompter|>Provide email and phone number of Astrid Gruber's?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"first_name","operation":"=","value":"'Astrid'"},{"actionType":"ChangeCondition","column":"last_name","operation":"=","value":"'Gruber'"}]}}<|endoftext|><|prompter|>Postal code of ID 3?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"id","operation":"=","value":3}]}}<|endoftext|><|prompter|>Thanks!<|endoftext|><|assistant|>{"text":"You are welcome and goodbye","dsl":{}}<|endoftext|>
COSQL
<|context|>[{"columns":["id","name","City","Height","Stories","Status"],"name":"buildings","type":"grid"}]<|endoftext|><|prompter|>What is the name of the building with the largest height?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"Height","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>How many stories does that building have?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"Height","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>What is the height of that building?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"Height","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>What city is that building in?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"Height","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>How many stories does the building with the smallest height have?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"Height","limit":1,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>Thanks!<|endoftext|><|assistant|>{"text":"goodbye!","dsl":{}}<|endoftext|>
COSQL
<|context|>[{"columns":["City_ID","Official_Name","Status","Area_km_2","Population","Census_Ranking"],"name":"city","type":"grid"}]<|endoftext|><|prompter|>Yes!<|endoftext|><|assistant|>{"text":"Did you mean the census ranking of the city whose official name is Plaster Rock?","dsl":{}}<|endoftext|><|prompter|>Yes!<|endoftext|><|assistant|>{"text":"Did you mean the status of the city whose official name is Perth-Andover?","dsl":{}}<|endoftext|><|prompter|>Yes.<|endoftext|><|assistant|>{"text":"what is population of city 1","dsl":{}}<|endoftext|><|prompter|>what is population of city 1<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"city_id","operation":"=","value":1}]}}<|endoftext|><|prompter|>what is the census ranking for plaster rock<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Official_Name","operation":"=","value":"Plaster Rock"}]}}<|endoftext|><|prompter|>what is the status of Perth-Andover<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"Official_Name","operation":"=","value":"Perth-Andover"}]}}<|endoftext|><|prompter|>what is the name of the city that is top in area km 2.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"Area_km_2","limit":1,"aggregation":"avg","direction":"desk"}]}}<|endoftext|><|prompter|>thanks<|endoftext|><|assistant|>{"text":"Of course!","dsl":{}}<|endoftext|><|prompter|>yeah<|endoftext|><|assistant|>{"text":"Bye","dsl":{}}<|endoftext|>
COSQL
<|context|>[{"columns":["Train_ID","Name","Time","Service"],"name":"train","type":"grid"}]<|endoftext|><|prompter|>Show the name and service for all trains in order by time.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"TIME","direction":"ask"}]}}<|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 names 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 points of the 3 youngest winners?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"winner_age","limit":3,"aggregation":"avg","direction":"ask"}]}}<|endoftext|><|prompter|>Give me the age 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|>Thanks!<|endoftext|><|assistant|>{"text":"goodbye","dsl":{}}<|endoftext|>
COSQL
<|context|>[{"columns":["id","brand","name","focal_length_mm","max_aperture"],"name":"camera_lens","type":"grid"}]<|endoftext|><|prompter|>How many camera lenses have a focal length longer than 15 mm?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"focal_length_mm","operation":">","value":15}]}}<|endoftext|><|prompter|>Find the brand and name for each camera lens, and sort in descending order of maximum aperture.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeSorting","column":"max_aperture","direction":"desk"}]}}<|endoftext|><|prompter|>How many different kinds of lens brands are there?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"brand","aggregation":"count"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["inventory_id","film_id","store_id","last_update"],"name":"inventory","type":"grid"}]<|endoftext|><|prompter|>How many items in inventory does store 1 have?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"store_id","operation":"=","value":1}]}}<|endoftext|><|prompter|>Count the number of items store 1 has in stock.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"store_id","operation":"=","value":1}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["constructorStandingsId","raceId","constructorId","points","position","positionText","wins"],"name":"constructorStandings","type":"grid"}]<|endoftext|><|prompter|>Identify the number of races per constructor ID.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"constructorid"}]}}<|endoftext|><|prompter|>For each constructor id, how many races are there?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"constructorid"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["constructorStandingsId","raceId","constructorId","points","position","positionText","wins"],"name":"constructorStandings","type":"grid"}]<|endoftext|><|prompter|>Provide the numbers of races corresponding to each constructor ID.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"constructorid"}]}}<|endoftext|><|prompter|>For each constructor id, how many races are there?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"constructorid"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["constructorStandingsId","raceId","constructorId","points","position","positionText","wins"],"name":"constructorStandings","type":"grid"}]<|endoftext|><|prompter|>What are the numbers of races for each constructor id?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"constructorid"}]}}<|endoftext|><|prompter|>For each constructor ID, count the associated races.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"constructorid"}]}}<|endoftext|>
SPIDER
<|context|>[{"columns":["constructorStandingsId","raceId","constructorId","points","position","positionText","wins"],"name":"constructorStandings","type":"grid"}]<|endoftext|><|prompter|>What are the numbers of races for each constructor id?<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"constructorid"}]}}<|endoftext|><|prompter|>Count the number of races for each constructor ID.<|endoftext|><|assistant|>{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"constructorid"}]}}<|endoftext|>
SPIDER