diff --git "a/validation_dataset.jsonl" "b/validation_dataset.jsonl" --- "a/validation_dataset.jsonl" +++ "b/validation_dataset.jsonl" @@ -1,5 +1,5 @@ -{"db_id": "concert_singer", "question": "How many singers do we have?", "schema": "stadium : stadium_id (number) , location (text) , name (text) , capacity (number) , highest (number) , lowest (number) , average (number) | singer : singer_id (number) , name (text) , country (text) , song_name (text) , song_release_year (text) , age (number) , is_male (others) | concert : concert_id (number) , concert_name (text) , theme (text) , stadium_id (text) , year (text) | singer_in_concert : concert_id (number) , singer_id (text)", "summarized-schema": ""} -{"db_id": "concert_singer", "question": "What is the total number of singers?", "schema": "stadium : stadium_id (number) , location (text) , name (text) , capacity (number) , highest (number) , lowest (number) , average (number) | singer : singer_id (number) , name (text) , country (text) , song_name (text) , song_release_year (text) , age (number) , is_male (others) | concert : concert_id (number) , concert_name (text) , theme (text) , stadium_id (text) , year (text) | singer_in_concert : concert_id (number) , singer_id (text)", "summarized-schema": ""} +{"db_id": "concert_singer", "question": "How many singers do we have?", "schema": "stadium : stadium_id (number) , location (text) , name (text) , capacity (number) , highest (number) , lowest (number) , average (number) | singer : singer_id (number) , name (text) , country (text) , song_name (text) , song_release_year (text) , age (number) , is_male (others) | concert : concert_id (number) , concert_name (text) , theme (text) , stadium_id (text) , year (text) | singer_in_concert : concert_id (number) , singer_id (text)", "summarized-schema": "singer : singer_id (number)"} +{"db_id": "concert_singer", "question": "What is the total number of singers?", "schema": "stadium : stadium_id (number) , location (text) , name (text) , capacity (number) , highest (number) , lowest (number) , average (number) | singer : singer_id (number) , name (text) , country (text) , song_name (text) , song_release_year (text) , age (number) , is_male (others) | concert : concert_id (number) , concert_name (text) , theme (text) , stadium_id (text) , year (text) | singer_in_concert : concert_id (number) , singer_id (text)", "summarized-schema": "singer : singer_id (number)"} {"db_id": "concert_singer", "question": "Show name, country, age for all singers ordered by age from the oldest to the youngest.", "schema": "stadium : stadium_id (number) , location (text) , name (text) , capacity (number) , highest (number) , lowest (number) , average (number) | singer : singer_id (number) , name (text) , country (text) , song_name (text) , song_release_year (text) , age (number) , is_male (others) | concert : concert_id (number) , concert_name (text) , theme (text) , stadium_id (text) , year (text) | singer_in_concert : concert_id (number) , singer_id (text)", "summarized-schema": "stadium : name (text) , stadium_id (number) | singer : name (text) , country (text) , age (number) , singer_id (number)"} {"db_id": "concert_singer", "question": "What are the names, countries, and ages for every singer in descending order of age?", "schema": "stadium : stadium_id (number) , location (text) , name (text) , capacity (number) , highest (number) , lowest (number) , average (number) | singer : singer_id (number) , name (text) , country (text) , song_name (text) , song_release_year (text) , age (number) , is_male (others) | concert : concert_id (number) , concert_name (text) , theme (text) , stadium_id (text) , year (text) | singer_in_concert : concert_id (number) , singer_id (text)", "summarized-schema": "stadium : name (text) , stadium_id (number) | singer : name (text) , country (text) , age (number) , singer_id (number)"} {"db_id": "concert_singer", "question": "What is the average, minimum, and maximum age of all singers from France?", "schema": "stadium : stadium_id (number) , location (text) , name (text) , capacity (number) , highest (number) , lowest (number) , average (number) | singer : singer_id (number) , name (text) , country (text) , song_name (text) , song_release_year (text) , age (number) , is_male (others) | concert : concert_id (number) , concert_name (text) , theme (text) , stadium_id (text) , year (text) | singer_in_concert : concert_id (number) , singer_id (text)", "summarized-schema": "singer : age (number) , country (text) , singer_id (number)"} @@ -85,12 +85,12 @@ {"db_id": "pets_1", "question": "What is the last name of the student who has a cat that is 3 years old?", "schema": "student : stuid (number) , lname (text) , fname (text) , age (number) , sex (text) , major (number) , advisor (number) , city_code (text) | has_pet : stuid (number) , petid (number) | pets : petid (number) , pettype (text) , pet_age (number) , weight (number)", "summarized-schema": "student : lname (text) , stuid (number) , stuid (number) | has_pet : stuid (number) , petid (number) | pets : petid (number) , pet_age (number) , pettype (text) , petid (number)"} {"db_id": "pets_1", "question": "Find the average age of students who do not have any pet .", "schema": "student : stuid (number) , lname (text) , fname (text) , age (number) , sex (text) , major (number) , advisor (number) , city_code (text) | has_pet : stuid (number) , petid (number) | pets : petid (number) , pettype (text) , pet_age (number) , weight (number)", "summarized-schema": "student : age (number) , stuid (number) , stuid (number) | has_pet : stuid (number)"} {"db_id": "pets_1", "question": "What is the average age for all students who do not own any pets ?", "schema": "student : stuid (number) , lname (text) , fname (text) , age (number) , sex (text) , major (number) , advisor (number) , city_code (text) | has_pet : stuid (number) , petid (number) | pets : petid (number) , pettype (text) , pet_age (number) , weight (number)", "summarized-schema": "student : age (number) , stuid (number) , stuid (number) | has_pet : stuid (number)"} -{"db_id": "car_1", "question": "How many continents are there?", "schema": "continents : contid (number) , continent (text) | countries : countryid (number) , countryname (text) , continent (number) | car_makers : id (number) , maker (text) , fullname (text) , country (text) | model_list : modelid (number) , maker (number) , model (text) | car_names : makeid (number) , model (text) , make (text) | cars_data : id (number) , mpg (text) , cylinders (number) , edispl (number) , horsepower (text) , weight (number) , accelerate (number) , year (number)", "summarized-schema": ""} -{"db_id": "car_1", "question": "What is the number of continents?", "schema": "continents : contid (number) , continent (text) | countries : countryid (number) , countryname (text) , continent (number) | car_makers : id (number) , maker (text) , fullname (text) , country (text) | model_list : modelid (number) , maker (number) , model (text) | car_names : makeid (number) , model (text) , make (text) | cars_data : id (number) , mpg (text) , cylinders (number) , edispl (number) , horsepower (text) , weight (number) , accelerate (number) , year (number)", "summarized-schema": ""} +{"db_id": "car_1", "question": "How many continents are there?", "schema": "continents : contid (number) , continent (text) | countries : countryid (number) , countryname (text) , continent (number) | car_makers : id (number) , maker (text) , fullname (text) , country (text) | model_list : modelid (number) , maker (number) , model (text) | car_names : makeid (number) , model (text) , make (text) | cars_data : id (number) , mpg (text) , cylinders (number) , edispl (number) , horsepower (text) , weight (number) , accelerate (number) , year (number)", "summarized-schema": "continents : contid (number)"} +{"db_id": "car_1", "question": "What is the number of continents?", "schema": "continents : contid (number) , continent (text) | countries : countryid (number) , countryname (text) , continent (number) | car_makers : id (number) , maker (text) , fullname (text) , country (text) | model_list : modelid (number) , maker (number) , model (text) | car_names : makeid (number) , model (text) , make (text) | cars_data : id (number) , mpg (text) , cylinders (number) , edispl (number) , horsepower (text) , weight (number) , accelerate (number) , year (number)", "summarized-schema": "continents : contid (number)"} {"db_id": "car_1", "question": "How many countries does each continent have? List the continent id, continent name and the number of countries.", "schema": "continents : contid (number) , continent (text) | countries : countryid (number) , countryname (text) , continent (number) | car_makers : id (number) , maker (text) , fullname (text) , country (text) | model_list : modelid (number) , maker (number) , model (text) | car_names : makeid (number) , model (text) , make (text) | cars_data : id (number) , mpg (text) , cylinders (number) , edispl (number) , horsepower (text) , weight (number) , accelerate (number) , year (number)", "summarized-schema": "continents : contid (number) , continent (text) , contid (number) | countries : continent (number) , countryid (number)"} {"db_id": "car_1", "question": "For each continent, list its id, name, and how many countries it has?", "schema": "continents : contid (number) , continent (text) | countries : countryid (number) , countryname (text) , continent (number) | car_makers : id (number) , maker (text) , fullname (text) , country (text) | model_list : modelid (number) , maker (number) , model (text) | car_names : makeid (number) , model (text) , make (text) | cars_data : id (number) , mpg (text) , cylinders (number) , edispl (number) , horsepower (text) , weight (number) , accelerate (number) , year (number)", "summarized-schema": "continents : contid (number) , continent (text) , contid (number) | countries : continent (number) , countryid (number)"} -{"db_id": "car_1", "question": "How many countries are listed?", "schema": "continents : contid (number) , continent (text) | countries : countryid (number) , countryname (text) , continent (number) | car_makers : id (number) , maker (text) , fullname (text) , country (text) | model_list : modelid (number) , maker (number) , model (text) | car_names : makeid (number) , model (text) , make (text) | cars_data : id (number) , mpg (text) , cylinders (number) , edispl (number) , horsepower (text) , weight (number) , accelerate (number) , year (number)", "summarized-schema": ""} -{"db_id": "car_1", "question": "How many countries exist?", "schema": "continents : contid (number) , continent (text) | countries : countryid (number) , countryname (text) , continent (number) | car_makers : id (number) , maker (text) , fullname (text) , country (text) | model_list : modelid (number) , maker (number) , model (text) | car_names : makeid (number) , model (text) , make (text) | cars_data : id (number) , mpg (text) , cylinders (number) , edispl (number) , horsepower (text) , weight (number) , accelerate (number) , year (number)", "summarized-schema": ""} +{"db_id": "car_1", "question": "How many countries are listed?", "schema": "continents : contid (number) , continent (text) | countries : countryid (number) , countryname (text) , continent (number) | car_makers : id (number) , maker (text) , fullname (text) , country (text) | model_list : modelid (number) , maker (number) , model (text) | car_names : makeid (number) , model (text) , make (text) | cars_data : id (number) , mpg (text) , cylinders (number) , edispl (number) , horsepower (text) , weight (number) , accelerate (number) , year (number)", "summarized-schema": "countries : countryid (number)"} +{"db_id": "car_1", "question": "How many countries exist?", "schema": "continents : contid (number) , continent (text) | countries : countryid (number) , countryname (text) , continent (number) | car_makers : id (number) , maker (text) , fullname (text) , country (text) | model_list : modelid (number) , maker (number) , model (text) | car_names : makeid (number) , model (text) , make (text) | cars_data : id (number) , mpg (text) , cylinders (number) , edispl (number) , horsepower (text) , weight (number) , accelerate (number) , year (number)", "summarized-schema": "countries : countryid (number)"} {"db_id": "car_1", "question": "How many models does each car maker produce? List maker full name, id and the number.", "schema": "continents : contid (number) , continent (text) | countries : countryid (number) , countryname (text) , continent (number) | car_makers : id (number) , maker (text) , fullname (text) , country (text) | model_list : modelid (number) , maker (number) , model (text) | car_names : makeid (number) , model (text) , make (text) | cars_data : id (number) , mpg (text) , cylinders (number) , edispl (number) , horsepower (text) , weight (number) , accelerate (number) , year (number)", "summarized-schema": "car_makers : fullname (text) , id (number) , maker (text) , id (number) | cars_data : id (number) , id (number) | model_list : maker (number) , modelid (number)"} {"db_id": "car_1", "question": "What is the full name of each car maker, along with its id and how many models it produces?", "schema": "continents : contid (number) , continent (text) | countries : countryid (number) , countryname (text) , continent (number) | car_makers : id (number) , maker (text) , fullname (text) , country (text) | model_list : modelid (number) , maker (number) , model (text) | car_names : makeid (number) , model (text) , make (text) | cars_data : id (number) , mpg (text) , cylinders (number) , edispl (number) , horsepower (text) , weight (number) , accelerate (number) , year (number)", "summarized-schema": "car_makers : fullname (text) , id (number) , maker (text) , id (number) | cars_data : id (number) , id (number) | model_list : maker (number) , modelid (number)"} {"db_id": "car_1", "question": "Which model of the car has the minimum horsepower?", "schema": "continents : contid (number) , continent (text) | countries : countryid (number) , countryname (text) , continent (number) | car_makers : id (number) , maker (text) , fullname (text) , country (text) | model_list : modelid (number) , maker (number) , model (text) | car_names : makeid (number) , model (text) , make (text) | cars_data : id (number) , mpg (text) , cylinders (number) , edispl (number) , horsepower (text) , weight (number) , accelerate (number) , year (number)", "summarized-schema": "model_list : model (text) , modelid (number) | car_names : model (text) , makeid (number) , makeid (number) | car_makers : id (number) , id (number) | cars_data : id (number) , horsepower (text) , id (number)"} @@ -185,12 +185,12 @@ {"db_id": "flight_2", "question": "What are the airline names and abbreviations for airlines in the USA?", "schema": "airlines : uid (number) , airline (text) , abbreviation (text) , country (text) | airports : city (text) , airportcode (text) , airportname (text) , country (text) , countryabbrev (text) | flights : airline (number) , flightno (number) , sourceairport (text) , destairport (text)", "summarized-schema": "airlines : airline (text) , abbreviation (text) , country (text) , uid (number) | flights : airline (number) , airline (number) | airports : country (text) , airportcode (number)"} {"db_id": "flight_2", "question": "List the airport code and name in the city of Anthony.", "schema": "airlines : uid (number) , airline (text) , abbreviation (text) , country (text) | airports : city (text) , airportcode (text) , airportname (text) , country (text) , countryabbrev (text) | flights : airline (number) , flightno (number) , sourceairport (text) , destairport (text)", "summarized-schema": "airports : airportcode (text) , airportname (text) , city (text) , airportcode (number)"} {"db_id": "flight_2", "question": "Give the airport code and airport name corresonding to the city Anthony.", "schema": "airlines : uid (number) , airline (text) , abbreviation (text) , country (text) | airports : city (text) , airportcode (text) , airportname (text) , country (text) , countryabbrev (text) | flights : airline (number) , flightno (number) , sourceairport (text) , destairport (text)", "summarized-schema": "airports : airportcode (text) , airportname (text) , city (text) , airportcode (number)"} -{"db_id": "flight_2", "question": "How many airlines do we have?", "schema": "airlines : uid (number) , airline (text) , abbreviation (text) , country (text) | airports : city (text) , airportcode (text) , airportname (text) , country (text) , countryabbrev (text) | flights : airline (number) , flightno (number) , sourceairport (text) , destairport (text)", "summarized-schema": ""} -{"db_id": "flight_2", "question": "What is the total number of airlines?", "schema": "airlines : uid (number) , airline (text) , abbreviation (text) , country (text) | airports : city (text) , airportcode (text) , airportname (text) , country (text) , countryabbrev (text) | flights : airline (number) , flightno (number) , sourceairport (text) , destairport (text)", "summarized-schema": ""} -{"db_id": "flight_2", "question": "How many airports do we have?", "schema": "airlines : uid (number) , airline (text) , abbreviation (text) , country (text) | airports : city (text) , airportcode (text) , airportname (text) , country (text) , countryabbrev (text) | flights : airline (number) , flightno (number) , sourceairport (text) , destairport (text)", "summarized-schema": ""} -{"db_id": "flight_2", "question": "Return the number of airports.", "schema": "airlines : uid (number) , airline (text) , abbreviation (text) , country (text) | airports : city (text) , airportcode (text) , airportname (text) , country (text) , countryabbrev (text) | flights : airline (number) , flightno (number) , sourceairport (text) , destairport (text)", "summarized-schema": ""} -{"db_id": "flight_2", "question": "How many flights do we have?", "schema": "airlines : uid (number) , airline (text) , abbreviation (text) , country (text) | airports : city (text) , airportcode (text) , airportname (text) , country (text) , countryabbrev (text) | flights : airline (number) , flightno (number) , sourceairport (text) , destairport (text)", "summarized-schema": ""} -{"db_id": "flight_2", "question": "Return the number of flights.", "schema": "airlines : uid (number) , airline (text) , abbreviation (text) , country (text) | airports : city (text) , airportcode (text) , airportname (text) , country (text) , countryabbrev (text) | flights : airline (number) , flightno (number) , sourceairport (text) , destairport (text)", "summarized-schema": ""} +{"db_id": "flight_2", "question": "How many airlines do we have?", "schema": "airlines : uid (number) , airline (text) , abbreviation (text) , country (text) | airports : city (text) , airportcode (text) , airportname (text) , country (text) , countryabbrev (text) | flights : airline (number) , flightno (number) , sourceairport (text) , destairport (text)", "summarized-schema": "airlines : uid (number)"} +{"db_id": "flight_2", "question": "What is the total number of airlines?", "schema": "airlines : uid (number) , airline (text) , abbreviation (text) , country (text) | airports : city (text) , airportcode (text) , airportname (text) , country (text) , countryabbrev (text) | flights : airline (number) , flightno (number) , sourceairport (text) , destairport (text)", "summarized-schema": "airlines : uid (number)"} +{"db_id": "flight_2", "question": "How many airports do we have?", "schema": "airlines : uid (number) , airline (text) , abbreviation (text) , country (text) | airports : city (text) , airportcode (text) , airportname (text) , country (text) , countryabbrev (text) | flights : airline (number) , flightno (number) , sourceairport (text) , destairport (text)", "summarized-schema": "airports : airportcode (number)"} +{"db_id": "flight_2", "question": "Return the number of airports.", "schema": "airlines : uid (number) , airline (text) , abbreviation (text) , country (text) | airports : city (text) , airportcode (text) , airportname (text) , country (text) , countryabbrev (text) | flights : airline (number) , flightno (number) , sourceairport (text) , destairport (text)", "summarized-schema": "airports : airportcode (number)"} +{"db_id": "flight_2", "question": "How many flights do we have?", "schema": "airlines : uid (number) , airline (text) , abbreviation (text) , country (text) | airports : city (text) , airportcode (text) , airportname (text) , country (text) , countryabbrev (text) | flights : airline (number) , flightno (number) , sourceairport (text) , destairport (text)", "summarized-schema": "flights : airline (number)"} +{"db_id": "flight_2", "question": "Return the number of flights.", "schema": "airlines : uid (number) , airline (text) , abbreviation (text) , country (text) | airports : city (text) , airportcode (text) , airportname (text) , country (text) , countryabbrev (text) | flights : airline (number) , flightno (number) , sourceairport (text) , destairport (text)", "summarized-schema": "flights : airline (number)"} {"db_id": "flight_2", "question": "Which airline has abbreviation 'UAL'?", "schema": "airlines : uid (number) , airline (text) , abbreviation (text) , country (text) | airports : city (text) , airportcode (text) , airportname (text) , country (text) , countryabbrev (text) | flights : airline (number) , flightno (number) , sourceairport (text) , destairport (text)", "summarized-schema": "airlines : airline (text) , abbreviation (text) , uid (number) | flights : airline (number) , airline (number)"} {"db_id": "flight_2", "question": "Give the airline with abbreviation 'UAL'.", "schema": "airlines : uid (number) , airline (text) , abbreviation (text) , country (text) | airports : city (text) , airportcode (text) , airportname (text) , country (text) , countryabbrev (text) | flights : airline (number) , flightno (number) , sourceairport (text) , destairport (text)", "summarized-schema": "airlines : airline (text) , abbreviation (text) , uid (number) | flights : airline (number) , airline (number)"} {"db_id": "flight_2", "question": "How many airlines are from USA?", "schema": "airlines : uid (number) , airline (text) , abbreviation (text) , country (text) | airports : city (text) , airportcode (text) , airportname (text) , country (text) , countryabbrev (text) | flights : airline (number) , flightno (number) , sourceairport (text) , destairport (text)", "summarized-schema": "airlines : country (text) , uid (number) | airports : country (text) , airportcode (number)"} @@ -257,8 +257,8 @@ {"db_id": "flight_2", "question": "How many flights land in Aberdeen or Abilene?", "schema": "airlines : uid (number) , airline (text) , abbreviation (text) , country (text) | airports : city (text) , airportcode (text) , airportname (text) , country (text) , countryabbrev (text) | flights : airline (number) , flightno (number) , sourceairport (text) , destairport (text)", "summarized-schema": "flights : destairport (text) , airline (number) | airports : airportcode (text) , city (text) , airportcode (number)"} {"db_id": "flight_2", "question": "Find the name of airports which do not have any flight in and out.", "schema": "airlines : uid (number) , airline (text) , abbreviation (text) , country (text) | airports : city (text) , airportcode (text) , airportname (text) , country (text) , countryabbrev (text) | flights : airline (number) , flightno (number) , sourceairport (text) , destairport (text)", "summarized-schema": "airports : airportname (text) , airportcode (text) , airportcode (number) | flights : sourceairport (text) , destairport (text) , airline (number)"} {"db_id": "flight_2", "question": "Which airports do not have departing or arriving flights?", "schema": "airlines : uid (number) , airline (text) , abbreviation (text) , country (text) | airports : city (text) , airportcode (text) , airportname (text) , country (text) , countryabbrev (text) | flights : airline (number) , flightno (number) , sourceairport (text) , destairport (text)", "summarized-schema": "airports : airportname (text) , airportcode (text) , airportcode (number) | flights : sourceairport (text) , destairport (text) , airline (number)"} -{"db_id": "employee_hire_evaluation", "question": "How many employees are there?", "schema": "employee : employee_id (number) , name (text) , age (number) , city (text) | shop : shop_id (number) , name (text) , location (text) , district (text) , number_products (number) , manager_name (text) | hiring : shop_id (number) , employee_id (number) , start_from (text) , is_full_time (others) | evaluation : employee_id (text) , year_awarded (text) , bonus (number)", "summarized-schema": ""} -{"db_id": "employee_hire_evaluation", "question": "Count the number of employees", "schema": "employee : employee_id (number) , name (text) , age (number) , city (text) | shop : shop_id (number) , name (text) , location (text) , district (text) , number_products (number) , manager_name (text) | hiring : shop_id (number) , employee_id (number) , start_from (text) , is_full_time (others) | evaluation : employee_id (text) , year_awarded (text) , bonus (number)", "summarized-schema": ""} +{"db_id": "employee_hire_evaluation", "question": "How many employees are there?", "schema": "employee : employee_id (number) , name (text) , age (number) , city (text) | shop : shop_id (number) , name (text) , location (text) , district (text) , number_products (number) , manager_name (text) | hiring : shop_id (number) , employee_id (number) , start_from (text) , is_full_time (others) | evaluation : employee_id (text) , year_awarded (text) , bonus (number)", "summarized-schema": "employee : employee_id (number)"} +{"db_id": "employee_hire_evaluation", "question": "Count the number of employees", "schema": "employee : employee_id (number) , name (text) , age (number) , city (text) | shop : shop_id (number) , name (text) , location (text) , district (text) , number_products (number) , manager_name (text) | hiring : shop_id (number) , employee_id (number) , start_from (text) , is_full_time (others) | evaluation : employee_id (text) , year_awarded (text) , bonus (number)", "summarized-schema": "employee : employee_id (number)"} {"db_id": "employee_hire_evaluation", "question": "Sort employee names by their age in ascending order.", "schema": "employee : employee_id (number) , name (text) , age (number) , city (text) | shop : shop_id (number) , name (text) , location (text) , district (text) , number_products (number) , manager_name (text) | hiring : shop_id (number) , employee_id (number) , start_from (text) , is_full_time (others) | evaluation : employee_id (text) , year_awarded (text) , bonus (number)", "summarized-schema": "employee : name (text) , age (number) , employee_id (number) | shop : name (text) , shop_id (number)"} {"db_id": "employee_hire_evaluation", "question": "List the names of employees and sort in ascending order of age.", "schema": "employee : employee_id (number) , name (text) , age (number) , city (text) | shop : shop_id (number) , name (text) , location (text) , district (text) , number_products (number) , manager_name (text) | hiring : shop_id (number) , employee_id (number) , start_from (text) , is_full_time (others) | evaluation : employee_id (text) , year_awarded (text) , bonus (number)", "summarized-schema": "employee : name (text) , age (number) , employee_id (number) | shop : name (text) , shop_id (number)"} {"db_id": "employee_hire_evaluation", "question": "What is the number of employees from each city?", "schema": "employee : employee_id (number) , name (text) , age (number) , city (text) | shop : shop_id (number) , name (text) , location (text) , district (text) , number_products (number) , manager_name (text) | hiring : shop_id (number) , employee_id (number) , start_from (text) , is_full_time (others) | evaluation : employee_id (text) , year_awarded (text) , bonus (number)", "summarized-schema": "employee : city (text) , employee_id (number)"} @@ -289,14 +289,14 @@ {"db_id": "employee_hire_evaluation", "question": "For each shop, return the number of employees working there and the name of the shop.", "schema": "employee : employee_id (number) , name (text) , age (number) , city (text) | shop : shop_id (number) , name (text) , location (text) , district (text) , number_products (number) , manager_name (text) | hiring : shop_id (number) , employee_id (number) , start_from (text) , is_full_time (others) | evaluation : employee_id (text) , year_awarded (text) , bonus (number)", "summarized-schema": "employee : name (text) , employee_id (number) | shop : name (text) , shop_id (number) , shop_id (number) | hiring : shop_id (number) , employee_id (number)"} {"db_id": "employee_hire_evaluation", "question": "What is total bonus given in all evaluations?", "schema": "employee : employee_id (number) , name (text) , age (number) , city (text) | shop : shop_id (number) , name (text) , location (text) , district (text) , number_products (number) , manager_name (text) | hiring : shop_id (number) , employee_id (number) , start_from (text) , is_full_time (others) | evaluation : employee_id (text) , year_awarded (text) , bonus (number)", "summarized-schema": "evaluation : bonus (number) , employee_id (number)"} {"db_id": "employee_hire_evaluation", "question": "Find the total amount of bonus given in all the evaluations.", "schema": "employee : employee_id (number) , name (text) , age (number) , city (text) | shop : shop_id (number) , name (text) , location (text) , district (text) , number_products (number) , manager_name (text) | hiring : shop_id (number) , employee_id (number) , start_from (text) , is_full_time (others) | evaluation : employee_id (text) , year_awarded (text) , bonus (number)", "summarized-schema": "evaluation : bonus (number) , employee_id (number)"} -{"db_id": "employee_hire_evaluation", "question": "Give me all the information about hiring.", "schema": "employee : employee_id (number) , name (text) , age (number) , city (text) | shop : shop_id (number) , name (text) , location (text) , district (text) , number_products (number) , manager_name (text) | hiring : shop_id (number) , employee_id (number) , start_from (text) , is_full_time (others) | evaluation : employee_id (text) , year_awarded (text) , bonus (number)", "summarized-schema": ""} -{"db_id": "employee_hire_evaluation", "question": "What is all the information about hiring?", "schema": "employee : employee_id (number) , name (text) , age (number) , city (text) | shop : shop_id (number) , name (text) , location (text) , district (text) , number_products (number) , manager_name (text) | hiring : shop_id (number) , employee_id (number) , start_from (text) , is_full_time (others) | evaluation : employee_id (text) , year_awarded (text) , bonus (number)", "summarized-schema": ""} +{"db_id": "employee_hire_evaluation", "question": "Give me all the information about hiring.", "schema": "employee : employee_id (number) , name (text) , age (number) , city (text) | shop : shop_id (number) , name (text) , location (text) , district (text) , number_products (number) , manager_name (text) | hiring : shop_id (number) , employee_id (number) , start_from (text) , is_full_time (others) | evaluation : employee_id (text) , year_awarded (text) , bonus (number)", "summarized-schema": "hiring : employee_id (number)"} +{"db_id": "employee_hire_evaluation", "question": "What is all the information about hiring?", "schema": "employee : employee_id (number) , name (text) , age (number) , city (text) | shop : shop_id (number) , name (text) , location (text) , district (text) , number_products (number) , manager_name (text) | hiring : shop_id (number) , employee_id (number) , start_from (text) , is_full_time (others) | evaluation : employee_id (text) , year_awarded (text) , bonus (number)", "summarized-schema": "hiring : employee_id (number)"} {"db_id": "employee_hire_evaluation", "question": "Which district has both stores with less than 3000 products and stores with more than 10000 products?", "schema": "employee : employee_id (number) , name (text) , age (number) , city (text) | shop : shop_id (number) , name (text) , location (text) , district (text) , number_products (number) , manager_name (text) | hiring : shop_id (number) , employee_id (number) , start_from (text) , is_full_time (others) | evaluation : employee_id (text) , year_awarded (text) , bonus (number)", "summarized-schema": "shop : district (text) , number_products (number) , shop_id (number)"} {"db_id": "employee_hire_evaluation", "question": "Find the districts in which there are both shops selling less than 3000 products and shops selling more than 10000 products.", "schema": "employee : employee_id (number) , name (text) , age (number) , city (text) | shop : shop_id (number) , name (text) , location (text) , district (text) , number_products (number) , manager_name (text) | hiring : shop_id (number) , employee_id (number) , start_from (text) , is_full_time (others) | evaluation : employee_id (text) , year_awarded (text) , bonus (number)", "summarized-schema": "shop : district (text) , number_products (number) , shop_id (number)"} {"db_id": "employee_hire_evaluation", "question": "How many different store locations are there?", "schema": "employee : employee_id (number) , name (text) , age (number) , city (text) | shop : shop_id (number) , name (text) , location (text) , district (text) , number_products (number) , manager_name (text) | hiring : shop_id (number) , employee_id (number) , start_from (text) , is_full_time (others) | evaluation : employee_id (text) , year_awarded (text) , bonus (number)", "summarized-schema": "shop : location (text) , shop_id (number)"} {"db_id": "employee_hire_evaluation", "question": "Count the number of distinct store locations.", "schema": "employee : employee_id (number) , name (text) , age (number) , city (text) | shop : shop_id (number) , name (text) , location (text) , district (text) , number_products (number) , manager_name (text) | hiring : shop_id (number) , employee_id (number) , start_from (text) , is_full_time (others) | evaluation : employee_id (text) , year_awarded (text) , bonus (number)", "summarized-schema": "shop : location (text) , shop_id (number)"} -{"db_id": "cre_Doc_Template_Mgt", "question": "How many documents do we have?", "schema": "ref_template_types : template_type_code (text) , template_type_description (text) | templates : template_id (number) , version_number (number) , template_type_code (text) , date_effective_from (time) , date_effective_to (time) , template_details (text) | documents : document_id (number) , template_id (number) , document_name (text) , document_description (text) , other_details (text) | paragraphs : paragraph_id (number) , document_id (number) , paragraph_text (text) , other_details (text)", "summarized-schema": ""} -{"db_id": "cre_Doc_Template_Mgt", "question": "Count the number of documents.", "schema": "ref_template_types : template_type_code (text) , template_type_description (text) | templates : template_id (number) , version_number (number) , template_type_code (text) , date_effective_from (time) , date_effective_to (time) , template_details (text) | documents : document_id (number) , template_id (number) , document_name (text) , document_description (text) , other_details (text) | paragraphs : paragraph_id (number) , document_id (number) , paragraph_text (text) , other_details (text)", "summarized-schema": ""} +{"db_id": "cre_Doc_Template_Mgt", "question": "How many documents do we have?", "schema": "ref_template_types : template_type_code (text) , template_type_description (text) | templates : template_id (number) , version_number (number) , template_type_code (text) , date_effective_from (time) , date_effective_to (time) , template_details (text) | documents : document_id (number) , template_id (number) , document_name (text) , document_description (text) , other_details (text) | paragraphs : paragraph_id (number) , document_id (number) , paragraph_text (text) , other_details (text)", "summarized-schema": "documents : document_id (number)"} +{"db_id": "cre_Doc_Template_Mgt", "question": "Count the number of documents.", "schema": "ref_template_types : template_type_code (text) , template_type_description (text) | templates : template_id (number) , version_number (number) , template_type_code (text) , date_effective_from (time) , date_effective_to (time) , template_details (text) | documents : document_id (number) , template_id (number) , document_name (text) , document_description (text) , other_details (text) | paragraphs : paragraph_id (number) , document_id (number) , paragraph_text (text) , other_details (text)", "summarized-schema": "documents : document_id (number)"} {"db_id": "cre_Doc_Template_Mgt", "question": "List document IDs, document names, and document descriptions for all documents.", "schema": "ref_template_types : template_type_code (text) , template_type_description (text) | templates : template_id (number) , version_number (number) , template_type_code (text) , date_effective_from (time) , date_effective_to (time) , template_details (text) | documents : document_id (number) , template_id (number) , document_name (text) , document_description (text) , other_details (text) | paragraphs : paragraph_id (number) , document_id (number) , paragraph_text (text) , other_details (text)", "summarized-schema": "documents : document_id (number) , document_name (text) , document_description (text) , document_id (number) | paragraphs : document_id (number) , paragraph_id (number)"} {"db_id": "cre_Doc_Template_Mgt", "question": "What are the ids, names, and descriptions for all documents?", "schema": "ref_template_types : template_type_code (text) , template_type_description (text) | templates : template_id (number) , version_number (number) , template_type_code (text) , date_effective_from (time) , date_effective_to (time) , template_details (text) | documents : document_id (number) , template_id (number) , document_name (text) , document_description (text) , other_details (text) | paragraphs : paragraph_id (number) , document_id (number) , paragraph_text (text) , other_details (text)", "summarized-schema": "documents : document_id (number) , document_name (text) , document_description (text) , document_id (number) | paragraphs : document_id (number) , paragraph_id (number)"} {"db_id": "cre_Doc_Template_Mgt", "question": "What is the document name and template id for document with description with the letter 'w' in it?", "schema": "ref_template_types : template_type_code (text) , template_type_description (text) | templates : template_id (number) , version_number (number) , template_type_code (text) , date_effective_from (time) , date_effective_to (time) , template_details (text) | documents : document_id (number) , template_id (number) , document_name (text) , document_description (text) , other_details (text) | paragraphs : paragraph_id (number) , document_id (number) , paragraph_text (text) , other_details (text)", "summarized-schema": "documents : document_name (text) , template_id (number) , document_description (text) , document_id (number) | templates : template_id (number) , template_id (number)"} @@ -315,8 +315,8 @@ {"db_id": "cre_Doc_Template_Mgt", "question": "What are the template ids of any templates used in more than a single document?", "schema": "ref_template_types : template_type_code (text) , template_type_description (text) | templates : template_id (number) , version_number (number) , template_type_code (text) , date_effective_from (time) , date_effective_to (time) , template_details (text) | documents : document_id (number) , template_id (number) , document_name (text) , document_description (text) , other_details (text) | paragraphs : paragraph_id (number) , document_id (number) , paragraph_text (text) , other_details (text)", "summarized-schema": "templates : template_id (number) , template_id (number) | documents : template_id (number) , document_id (number)"} {"db_id": "cre_Doc_Template_Mgt", "question": "Show ids for all templates not used by any document.", "schema": "ref_template_types : template_type_code (text) , template_type_description (text) | templates : template_id (number) , version_number (number) , template_type_code (text) , date_effective_from (time) , date_effective_to (time) , template_details (text) | documents : document_id (number) , template_id (number) , document_name (text) , document_description (text) , other_details (text) | paragraphs : paragraph_id (number) , document_id (number) , paragraph_text (text) , other_details (text)", "summarized-schema": "templates : template_id (number) , template_id (number) | documents : template_id (number) , document_id (number)"} {"db_id": "cre_Doc_Template_Mgt", "question": "What are the ids for templates that are not used in any documents?", "schema": "ref_template_types : template_type_code (text) , template_type_description (text) | templates : template_id (number) , version_number (number) , template_type_code (text) , date_effective_from (time) , date_effective_to (time) , template_details (text) | documents : document_id (number) , template_id (number) , document_name (text) , document_description (text) , other_details (text) | paragraphs : paragraph_id (number) , document_id (number) , paragraph_text (text) , other_details (text)", "summarized-schema": "templates : template_id (number) , template_id (number) | documents : template_id (number) , document_id (number)"} -{"db_id": "cre_Doc_Template_Mgt", "question": "How many templates do we have?", "schema": "ref_template_types : template_type_code (text) , template_type_description (text) | templates : template_id (number) , version_number (number) , template_type_code (text) , date_effective_from (time) , date_effective_to (time) , template_details (text) | documents : document_id (number) , template_id (number) , document_name (text) , document_description (text) , other_details (text) | paragraphs : paragraph_id (number) , document_id (number) , paragraph_text (text) , other_details (text)", "summarized-schema": ""} -{"db_id": "cre_Doc_Template_Mgt", "question": "Count the number of templates.", "schema": "ref_template_types : template_type_code (text) , template_type_description (text) | templates : template_id (number) , version_number (number) , template_type_code (text) , date_effective_from (time) , date_effective_to (time) , template_details (text) | documents : document_id (number) , template_id (number) , document_name (text) , document_description (text) , other_details (text) | paragraphs : paragraph_id (number) , document_id (number) , paragraph_text (text) , other_details (text)", "summarized-schema": ""} +{"db_id": "cre_Doc_Template_Mgt", "question": "How many templates do we have?", "schema": "ref_template_types : template_type_code (text) , template_type_description (text) | templates : template_id (number) , version_number (number) , template_type_code (text) , date_effective_from (time) , date_effective_to (time) , template_details (text) | documents : document_id (number) , template_id (number) , document_name (text) , document_description (text) , other_details (text) | paragraphs : paragraph_id (number) , document_id (number) , paragraph_text (text) , other_details (text)", "summarized-schema": "templates : template_id (number)"} +{"db_id": "cre_Doc_Template_Mgt", "question": "Count the number of templates.", "schema": "ref_template_types : template_type_code (text) , template_type_description (text) | templates : template_id (number) , version_number (number) , template_type_code (text) , date_effective_from (time) , date_effective_to (time) , template_details (text) | documents : document_id (number) , template_id (number) , document_name (text) , document_description (text) , other_details (text) | paragraphs : paragraph_id (number) , document_id (number) , paragraph_text (text) , other_details (text)", "summarized-schema": "templates : template_id (number)"} {"db_id": "cre_Doc_Template_Mgt", "question": "Show template ids, version numbers, and template type codes for all templates.", "schema": "ref_template_types : template_type_code (text) , template_type_description (text) | templates : template_id (number) , version_number (number) , template_type_code (text) , date_effective_from (time) , date_effective_to (time) , template_details (text) | documents : document_id (number) , template_id (number) , document_name (text) , document_description (text) , other_details (text) | paragraphs : paragraph_id (number) , document_id (number) , paragraph_text (text) , other_details (text)", "summarized-schema": "templates : template_id (number) , version_number (number) , template_type_code (text) , template_id (number) | documents : template_id (number) , document_id (number) | ref_template_types : template_type_code (text) , template_type_code (number)"} {"db_id": "cre_Doc_Template_Mgt", "question": "What are the ids, version numbers, and type codes for each template?", "schema": "ref_template_types : template_type_code (text) , template_type_description (text) | templates : template_id (number) , version_number (number) , template_type_code (text) , date_effective_from (time) , date_effective_to (time) , template_details (text) | documents : document_id (number) , template_id (number) , document_name (text) , document_description (text) , other_details (text) | paragraphs : paragraph_id (number) , document_id (number) , paragraph_text (text) , other_details (text)", "summarized-schema": "templates : template_id (number) , version_number (number) , template_type_code (text) , template_id (number) | documents : template_id (number) , document_id (number) | ref_template_types : template_type_code (text) , template_type_code (number)"} {"db_id": "cre_Doc_Template_Mgt", "question": "Show all distinct template type codes for all templates.", "schema": "ref_template_types : template_type_code (text) , template_type_description (text) | templates : template_id (number) , version_number (number) , template_type_code (text) , date_effective_from (time) , date_effective_to (time) , template_details (text) | documents : document_id (number) , template_id (number) , document_name (text) , document_description (text) , other_details (text) | paragraphs : paragraph_id (number) , document_id (number) , paragraph_text (text) , other_details (text)", "summarized-schema": "ref_template_types : template_type_code (text) , template_type_code (number) | templates : template_type_code (text) , template_id (number)"} @@ -355,8 +355,8 @@ {"db_id": "cre_Doc_Template_Mgt", "question": "Return the different descriptions for templates that have been used in a document.", "schema": "ref_template_types : template_type_code (text) , template_type_description (text) | templates : template_id (number) , version_number (number) , template_type_code (text) , date_effective_from (time) , date_effective_to (time) , template_details (text) | documents : document_id (number) , template_id (number) , document_name (text) , document_description (text) , other_details (text) | paragraphs : paragraph_id (number) , document_id (number) , paragraph_text (text) , other_details (text)", "summarized-schema": "ref_template_types : template_type_description (text) , template_type_code (text) , template_type_code (number) | templates : template_type_code (text) , template_id (number) , template_id (number) | documents : template_id (number) , document_id (number)"} {"db_id": "cre_Doc_Template_Mgt", "question": "What are the template ids with template type description \"Presentation\".", "schema": "ref_template_types : template_type_code (text) , template_type_description (text) | templates : template_id (number) , version_number (number) , template_type_code (text) , date_effective_from (time) , date_effective_to (time) , template_details (text) | documents : document_id (number) , template_id (number) , document_name (text) , document_description (text) , other_details (text) | paragraphs : paragraph_id (number) , document_id (number) , paragraph_text (text) , other_details (text)", "summarized-schema": "templates : template_id (number) , template_type_code (text) , template_id (number) | documents : template_id (number) , document_id (number) | ref_template_types : template_type_code (text) , template_type_description (text) , template_type_code (number)"} {"db_id": "cre_Doc_Template_Mgt", "question": "Return the ids corresponding to templates with the description 'Presentation'.", "schema": "ref_template_types : template_type_code (text) , template_type_description (text) | templates : template_id (number) , version_number (number) , template_type_code (text) , date_effective_from (time) , date_effective_to (time) , template_details (text) | documents : document_id (number) , template_id (number) , document_name (text) , document_description (text) , other_details (text) | paragraphs : paragraph_id (number) , document_id (number) , paragraph_text (text) , other_details (text)", "summarized-schema": "templates : template_id (number) , template_type_code (text) , template_id (number) | documents : template_id (number) , document_id (number) | ref_template_types : template_type_code (text) , template_type_description (text) , template_type_code (number)"} -{"db_id": "cre_Doc_Template_Mgt", "question": "How many paragraphs in total?", "schema": "ref_template_types : template_type_code (text) , template_type_description (text) | templates : template_id (number) , version_number (number) , template_type_code (text) , date_effective_from (time) , date_effective_to (time) , template_details (text) | documents : document_id (number) , template_id (number) , document_name (text) , document_description (text) , other_details (text) | paragraphs : paragraph_id (number) , document_id (number) , paragraph_text (text) , other_details (text)", "summarized-schema": ""} -{"db_id": "cre_Doc_Template_Mgt", "question": "Count the number of paragraphs.", "schema": "ref_template_types : template_type_code (text) , template_type_description (text) | templates : template_id (number) , version_number (number) , template_type_code (text) , date_effective_from (time) , date_effective_to (time) , template_details (text) | documents : document_id (number) , template_id (number) , document_name (text) , document_description (text) , other_details (text) | paragraphs : paragraph_id (number) , document_id (number) , paragraph_text (text) , other_details (text)", "summarized-schema": ""} +{"db_id": "cre_Doc_Template_Mgt", "question": "How many paragraphs in total?", "schema": "ref_template_types : template_type_code (text) , template_type_description (text) | templates : template_id (number) , version_number (number) , template_type_code (text) , date_effective_from (time) , date_effective_to (time) , template_details (text) | documents : document_id (number) , template_id (number) , document_name (text) , document_description (text) , other_details (text) | paragraphs : paragraph_id (number) , document_id (number) , paragraph_text (text) , other_details (text)", "summarized-schema": "paragraphs : paragraph_id (number)"} +{"db_id": "cre_Doc_Template_Mgt", "question": "Count the number of paragraphs.", "schema": "ref_template_types : template_type_code (text) , template_type_description (text) | templates : template_id (number) , version_number (number) , template_type_code (text) , date_effective_from (time) , date_effective_to (time) , template_details (text) | documents : document_id (number) , template_id (number) , document_name (text) , document_description (text) , other_details (text) | paragraphs : paragraph_id (number) , document_id (number) , paragraph_text (text) , other_details (text)", "summarized-schema": "paragraphs : paragraph_id (number)"} {"db_id": "cre_Doc_Template_Mgt", "question": "How many paragraphs for the document with name 'Summer Show'?", "schema": "ref_template_types : template_type_code (text) , template_type_description (text) | templates : template_id (number) , version_number (number) , template_type_code (text) , date_effective_from (time) , date_effective_to (time) , template_details (text) | documents : document_id (number) , template_id (number) , document_name (text) , document_description (text) , other_details (text) | paragraphs : paragraph_id (number) , document_id (number) , paragraph_text (text) , other_details (text)", "summarized-schema": "documents : document_id (number) , document_name (text) , document_id (number) | paragraphs : document_id (number) , paragraph_id (number)"} {"db_id": "cre_Doc_Template_Mgt", "question": "Count the number of paragraphs in the document named 'Summer Show'.", "schema": "ref_template_types : template_type_code (text) , template_type_description (text) | templates : template_id (number) , version_number (number) , template_type_code (text) , date_effective_from (time) , date_effective_to (time) , template_details (text) | documents : document_id (number) , template_id (number) , document_name (text) , document_description (text) , other_details (text) | paragraphs : paragraph_id (number) , document_id (number) , paragraph_text (text) , other_details (text)", "summarized-schema": "documents : document_id (number) , document_name (text) , document_id (number) | paragraphs : document_id (number) , paragraph_id (number)"} {"db_id": "cre_Doc_Template_Mgt", "question": "Show paragraph details for paragraph with text 'Korea ' .", "schema": "ref_template_types : template_type_code (text) , template_type_description (text) | templates : template_id (number) , version_number (number) , template_type_code (text) , date_effective_from (time) , date_effective_to (time) , template_details (text) | documents : document_id (number) , template_id (number) , document_name (text) , document_description (text) , other_details (text) | paragraphs : paragraph_id (number) , document_id (number) , paragraph_text (text) , other_details (text)", "summarized-schema": "documents : other_details (text) , document_id (number) | paragraphs : other_details (text) , paragraph_text (text) , paragraph_id (number)"} @@ -379,8 +379,8 @@ {"db_id": "cre_Doc_Template_Mgt", "question": "Give the ids of documents that have between one and two paragraphs.", "schema": "ref_template_types : template_type_code (text) , template_type_description (text) | templates : template_id (number) , version_number (number) , template_type_code (text) , date_effective_from (time) , date_effective_to (time) , template_details (text) | documents : document_id (number) , template_id (number) , document_name (text) , document_description (text) , other_details (text) | paragraphs : paragraph_id (number) , document_id (number) , paragraph_text (text) , other_details (text)", "summarized-schema": "documents : document_id (number) , document_id (number) | paragraphs : document_id (number) , paragraph_id (number)"} {"db_id": "cre_Doc_Template_Mgt", "question": "Show the document id with paragraph text 'Brazil' and 'Ireland'.", "schema": "ref_template_types : template_type_code (text) , template_type_description (text) | templates : template_id (number) , version_number (number) , template_type_code (text) , date_effective_from (time) , date_effective_to (time) , template_details (text) | documents : document_id (number) , template_id (number) , document_name (text) , document_description (text) , other_details (text) | paragraphs : paragraph_id (number) , document_id (number) , paragraph_text (text) , other_details (text)", "summarized-schema": "documents : document_id (number) , document_id (number) | paragraphs : document_id (number) , paragraph_text (text) , paragraph_id (number)"} {"db_id": "cre_Doc_Template_Mgt", "question": "What are the ids of documents that contain the paragraph text 'Brazil' and 'Ireland'?", "schema": "ref_template_types : template_type_code (text) , template_type_description (text) | templates : template_id (number) , version_number (number) , template_type_code (text) , date_effective_from (time) , date_effective_to (time) , template_details (text) | documents : document_id (number) , template_id (number) , document_name (text) , document_description (text) , other_details (text) | paragraphs : paragraph_id (number) , document_id (number) , paragraph_text (text) , other_details (text)", "summarized-schema": "documents : document_id (number) , document_id (number) | paragraphs : document_id (number) , paragraph_text (text) , paragraph_id (number)"} -{"db_id": "course_teach", "question": "How many teachers are there?", "schema": "course : course_id (number) , staring_date (text) , course (text) | teacher : teacher_id (number) , name (text) , age (text) , hometown (text) | course_arrange : course_id (number) , teacher_id (number) , grade (number)", "summarized-schema": ""} -{"db_id": "course_teach", "question": "What is the total count of teachers?", "schema": "course : course_id (number) , staring_date (text) , course (text) | teacher : teacher_id (number) , name (text) , age (text) , hometown (text) | course_arrange : course_id (number) , teacher_id (number) , grade (number)", "summarized-schema": ""} +{"db_id": "course_teach", "question": "How many teachers are there?", "schema": "course : course_id (number) , staring_date (text) , course (text) | teacher : teacher_id (number) , name (text) , age (text) , hometown (text) | course_arrange : course_id (number) , teacher_id (number) , grade (number)", "summarized-schema": "teacher : teacher_id (number)"} +{"db_id": "course_teach", "question": "What is the total count of teachers?", "schema": "course : course_id (number) , staring_date (text) , course (text) | teacher : teacher_id (number) , name (text) , age (text) , hometown (text) | course_arrange : course_id (number) , teacher_id (number) , grade (number)", "summarized-schema": "teacher : teacher_id (number)"} {"db_id": "course_teach", "question": "List the names of teachers in ascending order of age.", "schema": "course : course_id (number) , staring_date (text) , course (text) | teacher : teacher_id (number) , name (text) , age (text) , hometown (text) | course_arrange : course_id (number) , teacher_id (number) , grade (number)", "summarized-schema": "teacher : name (text) , age (text) , teacher_id (number)"} {"db_id": "course_teach", "question": "What are the names of the teachers ordered by ascending age?", "schema": "course : course_id (number) , staring_date (text) , course (text) | teacher : teacher_id (number) , name (text) , age (text) , hometown (text) | course_arrange : course_id (number) , teacher_id (number) , grade (number)", "summarized-schema": "teacher : name (text) , age (text) , teacher_id (number)"} {"db_id": "course_teach", "question": "What are the age and hometown of teachers?", "schema": "course : course_id (number) , staring_date (text) , course (text) | teacher : teacher_id (number) , name (text) , age (text) , hometown (text) | course_arrange : course_id (number) , teacher_id (number) , grade (number)", "summarized-schema": "teacher : age (text) , hometown (text) , teacher_id (number)"} @@ -427,8 +427,8 @@ {"db_id": "museum_visit", "question": "What is the name of the visitor who visited both a museum opened before 2009 and a museum opened after 2011?", "schema": "museum : museum_id (number) , name (text) , num_of_staff (number) , open_year (text) | visitor : id (number) , name (text) , level_of_membership (number) , age (number) | visit : museum_id (number) , visitor_id (text) , num_of_ticket (number) , total_spent (number)", "summarized-schema": "museum : name (text) , museum_id (number) , open_year (text) , museum_id (number) | visitor : name (text) , id (number) , id (number) | visit : visitor_id (text) , museum_id (number) , museum_id (number)"} {"db_id": "museum_visit", "question": "Find the number of visitors who did not visit any museum opened after 2010.", "schema": "museum : museum_id (number) , name (text) , num_of_staff (number) , open_year (text) | visitor : id (number) , name (text) , level_of_membership (number) , age (number) | visit : museum_id (number) , visitor_id (text) , num_of_ticket (number) , total_spent (number)", "summarized-schema": "visitor : id (number) , id (number) | visit : visitor_id (text) , museum_id (number) , museum_id (number) | museum : museum_id (number) , open_year (text) , museum_id (number)"} {"db_id": "museum_visit", "question": "How many museums were opened after 2013 or before 2008?", "schema": "museum : museum_id (number) , name (text) , num_of_staff (number) , open_year (text) | visitor : id (number) , name (text) , level_of_membership (number) , age (number) | visit : museum_id (number) , visitor_id (text) , num_of_ticket (number) , total_spent (number)", "summarized-schema": "museum : open_year (text) , museum_id (number)"} -{"db_id": "wta_1", "question": "Find the total number of players.", "schema": "players : player_id (number) , first_name (text) , last_name (text) , hand (text) , birth_date (time) , country_code (text) | matches : best_of (number) , draw_size (number) , loser_age (number) , loser_entry (text) , loser_hand (text) , loser_ht (number) , loser_id (number) , loser_ioc (text) , loser_name (text) , loser_rank (number) , loser_rank_points (number) , loser_seed (number) , match_num (number) , minutes (number) , round (text) , score (text) , surface (text) , tourney_date (time) , tourney_id (text) , tourney_level (text) , tourney_name (text) , winner_age (number) , winner_entry (text) , winner_hand (text) , winner_ht (number) , winner_id (number) , winner_ioc (text) , winner_name (text) , winner_rank (number) , winner_rank_points (number) , winner_seed (number) , year (number) | rankings : ranking_date (time) , ranking (number) , player_id (number) , ranking_points (number) , tours (number)", "summarized-schema": ""} -{"db_id": "wta_1", "question": "How many players are there?", "schema": "players : player_id (number) , first_name (text) , last_name (text) , hand (text) , birth_date (time) , country_code (text) | matches : best_of (number) , draw_size (number) , loser_age (number) , loser_entry (text) , loser_hand (text) , loser_ht (number) , loser_id (number) , loser_ioc (text) , loser_name (text) , loser_rank (number) , loser_rank_points (number) , loser_seed (number) , match_num (number) , minutes (number) , round (text) , score (text) , surface (text) , tourney_date (time) , tourney_id (text) , tourney_level (text) , tourney_name (text) , winner_age (number) , winner_entry (text) , winner_hand (text) , winner_ht (number) , winner_id (number) , winner_ioc (text) , winner_name (text) , winner_rank (number) , winner_rank_points (number) , winner_seed (number) , year (number) | rankings : ranking_date (time) , ranking (number) , player_id (number) , ranking_points (number) , tours (number)", "summarized-schema": ""} +{"db_id": "wta_1", "question": "Find the total number of players.", "schema": "players : player_id (number) , first_name (text) , last_name (text) , hand (text) , birth_date (time) , country_code (text) | matches : best_of (number) , draw_size (number) , loser_age (number) , loser_entry (text) , loser_hand (text) , loser_ht (number) , loser_id (number) , loser_ioc (text) , loser_name (text) , loser_rank (number) , loser_rank_points (number) , loser_seed (number) , match_num (number) , minutes (number) , round (text) , score (text) , surface (text) , tourney_date (time) , tourney_id (text) , tourney_level (text) , tourney_name (text) , winner_age (number) , winner_entry (text) , winner_hand (text) , winner_ht (number) , winner_id (number) , winner_ioc (text) , winner_name (text) , winner_rank (number) , winner_rank_points (number) , winner_seed (number) , year (number) | rankings : ranking_date (time) , ranking (number) , player_id (number) , ranking_points (number) , tours (number)", "summarized-schema": "players : player_id (number)"} +{"db_id": "wta_1", "question": "How many players are there?", "schema": "players : player_id (number) , first_name (text) , last_name (text) , hand (text) , birth_date (time) , country_code (text) | matches : best_of (number) , draw_size (number) , loser_age (number) , loser_entry (text) , loser_hand (text) , loser_ht (number) , loser_id (number) , loser_ioc (text) , loser_name (text) , loser_rank (number) , loser_rank_points (number) , loser_seed (number) , match_num (number) , minutes (number) , round (text) , score (text) , surface (text) , tourney_date (time) , tourney_id (text) , tourney_level (text) , tourney_name (text) , winner_age (number) , winner_entry (text) , winner_hand (text) , winner_ht (number) , winner_id (number) , winner_ioc (text) , winner_name (text) , winner_rank (number) , winner_rank_points (number) , winner_seed (number) , year (number) | rankings : ranking_date (time) , ranking (number) , player_id (number) , ranking_points (number) , tours (number)", "summarized-schema": "players : player_id (number)"} {"db_id": "wta_1", "question": "Find the total number of matches.", "schema": "players : player_id (number) , first_name (text) , last_name (text) , hand (text) , birth_date (time) , country_code (text) | matches : best_of (number) , draw_size (number) , loser_age (number) , loser_entry (text) , loser_hand (text) , loser_ht (number) , loser_id (number) , loser_ioc (text) , loser_name (text) , loser_rank (number) , loser_rank_points (number) , loser_seed (number) , match_num (number) , minutes (number) , round (text) , score (text) , surface (text) , tourney_date (time) , tourney_id (text) , tourney_level (text) , tourney_name (text) , winner_age (number) , winner_entry (text) , winner_hand (text) , winner_ht (number) , winner_id (number) , winner_ioc (text) , winner_name (text) , winner_rank (number) , winner_rank_points (number) , winner_seed (number) , year (number) | rankings : ranking_date (time) , ranking (number) , player_id (number) , ranking_points (number) , tours (number)", "summarized-schema": ""} {"db_id": "wta_1", "question": "Count the number of matches.", "schema": "players : player_id (number) , first_name (text) , last_name (text) , hand (text) , birth_date (time) , country_code (text) | matches : best_of (number) , draw_size (number) , loser_age (number) , loser_entry (text) , loser_hand (text) , loser_ht (number) , loser_id (number) , loser_ioc (text) , loser_name (text) , loser_rank (number) , loser_rank_points (number) , loser_seed (number) , match_num (number) , minutes (number) , round (text) , score (text) , surface (text) , tourney_date (time) , tourney_id (text) , tourney_level (text) , tourney_name (text) , winner_age (number) , winner_entry (text) , winner_hand (text) , winner_ht (number) , winner_id (number) , winner_ioc (text) , winner_name (text) , winner_rank (number) , winner_rank_points (number) , winner_seed (number) , year (number) | rankings : ranking_date (time) , ranking (number) , player_id (number) , ranking_points (number) , tours (number)", "summarized-schema": ""} {"db_id": "wta_1", "question": "List the first name and birth date of all players from the country with code USA.", "schema": "players : player_id (number) , first_name (text) , last_name (text) , hand (text) , birth_date (time) , country_code (text) | matches : best_of (number) , draw_size (number) , loser_age (number) , loser_entry (text) , loser_hand (text) , loser_ht (number) , loser_id (number) , loser_ioc (text) , loser_name (text) , loser_rank (number) , loser_rank_points (number) , loser_seed (number) , match_num (number) , minutes (number) , round (text) , score (text) , surface (text) , tourney_date (time) , tourney_id (text) , tourney_level (text) , tourney_name (text) , winner_age (number) , winner_entry (text) , winner_hand (text) , winner_ht (number) , winner_id (number) , winner_ioc (text) , winner_name (text) , winner_rank (number) , winner_rank_points (number) , winner_seed (number) , year (number) | rankings : ranking_date (time) , ranking (number) , player_id (number) , ranking_points (number) , tours (number)", "summarized-schema": "players : first_name (text) , birth_date (time) , country_code (text) , player_id (number)"} @@ -507,8 +507,8 @@ {"db_id": "battle_death", "question": "What are the notes of the death events which has substring 'East'?", "schema": "battle : id (number) , name (text) , date (text) , bulgarian_commander (text) , latin_commander (text) , result (text) | ship : lost_in_battle (number) , id (number) , name (text) , tonnage (text) , ship_type (text) , location (text) , disposition_of_ship (text) | death : caused_by_ship_id (number) , id (number) , note (text) , killed (number) , injured (number)", "summarized-schema": "death : note (text) , id (number)"} {"db_id": "student_transcripts_tracking", "question": "what are all the addresses including line 1 and line 2?", "schema": "addresses : address_id (number) , line_1 (text) , line_2 (text) , line_3 (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) , other_address_details (text) | courses : course_id (number) , course_name (text) , course_description (text) , other_details (text) | departments : department_id (number) , department_name (text) , department_description (text) , other_details (text) | degree_programs : degree_program_id (number) , department_id (number) , degree_summary_name (text) , degree_summary_description (text) , other_details (text) | sections : section_id (number) , course_id (number) , section_name (text) , section_description (text) , other_details (text) | semesters : semester_id (number) , semester_name (text) , semester_description (text) , other_details (text) | students : student_id (number) , current_address_id (number) , permanent_address_id (number) , first_name (text) , middle_name (text) , last_name (text) , cell_mobile_number (text) , email_address (text) , ssn (text) , date_first_registered (time) , date_left (time) , other_student_details (text) | student_enrolment : student_enrolment_id (number) , degree_program_id (number) , semester_id (number) , student_id (number) , other_details (text) | student_enrolment_courses : student_course_id (number) , course_id (number) , student_enrolment_id (number) | transcripts : transcript_id (number) , transcript_date (time) , other_details (text) | transcript_contents : student_course_id (number) , transcript_id (number)", "summarized-schema": "addresses : line_1 (text) , line_2 (text) , address_id (number)"} {"db_id": "student_transcripts_tracking", "question": "What is the first and second line for all addresses?", "schema": "addresses : address_id (number) , line_1 (text) , line_2 (text) , line_3 (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) , other_address_details (text) | courses : course_id (number) , course_name (text) , course_description (text) , other_details (text) | departments : department_id (number) , department_name (text) , department_description (text) , other_details (text) | degree_programs : degree_program_id (number) , department_id (number) , degree_summary_name (text) , degree_summary_description (text) , other_details (text) | sections : section_id (number) , course_id (number) , section_name (text) , section_description (text) , other_details (text) | semesters : semester_id (number) , semester_name (text) , semester_description (text) , other_details (text) | students : student_id (number) , current_address_id (number) , permanent_address_id (number) , first_name (text) , middle_name (text) , last_name (text) , cell_mobile_number (text) , email_address (text) , ssn (text) , date_first_registered (time) , date_left (time) , other_student_details (text) | student_enrolment : student_enrolment_id (number) , degree_program_id (number) , semester_id (number) , student_id (number) , other_details (text) | student_enrolment_courses : student_course_id (number) , course_id (number) , student_enrolment_id (number) | transcripts : transcript_id (number) , transcript_date (time) , other_details (text) | transcript_contents : student_course_id (number) , transcript_id (number)", "summarized-schema": "addresses : line_1 (text) , line_2 (text) , address_id (number)"} -{"db_id": "student_transcripts_tracking", "question": "How many courses in total are listed?", "schema": "addresses : address_id (number) , line_1 (text) , line_2 (text) , line_3 (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) , other_address_details (text) | courses : course_id (number) , course_name (text) , course_description (text) , other_details (text) | departments : department_id (number) , department_name (text) , department_description (text) , other_details (text) | degree_programs : degree_program_id (number) , department_id (number) , degree_summary_name (text) , degree_summary_description (text) , other_details (text) | sections : section_id (number) , course_id (number) , section_name (text) , section_description (text) , other_details (text) | semesters : semester_id (number) , semester_name (text) , semester_description (text) , other_details (text) | students : student_id (number) , current_address_id (number) , permanent_address_id (number) , first_name (text) , middle_name (text) , last_name (text) , cell_mobile_number (text) , email_address (text) , ssn (text) , date_first_registered (time) , date_left (time) , other_student_details (text) | student_enrolment : student_enrolment_id (number) , degree_program_id (number) , semester_id (number) , student_id (number) , other_details (text) | student_enrolment_courses : student_course_id (number) , course_id (number) , student_enrolment_id (number) | transcripts : transcript_id (number) , transcript_date (time) , other_details (text) | transcript_contents : student_course_id (number) , transcript_id (number)", "summarized-schema": ""} -{"db_id": "student_transcripts_tracking", "question": "How many courses are there?", "schema": "addresses : address_id (number) , line_1 (text) , line_2 (text) , line_3 (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) , other_address_details (text) | courses : course_id (number) , course_name (text) , course_description (text) , other_details (text) | departments : department_id (number) , department_name (text) , department_description (text) , other_details (text) | degree_programs : degree_program_id (number) , department_id (number) , degree_summary_name (text) , degree_summary_description (text) , other_details (text) | sections : section_id (number) , course_id (number) , section_name (text) , section_description (text) , other_details (text) | semesters : semester_id (number) , semester_name (text) , semester_description (text) , other_details (text) | students : student_id (number) , current_address_id (number) , permanent_address_id (number) , first_name (text) , middle_name (text) , last_name (text) , cell_mobile_number (text) , email_address (text) , ssn (text) , date_first_registered (time) , date_left (time) , other_student_details (text) | student_enrolment : student_enrolment_id (number) , degree_program_id (number) , semester_id (number) , student_id (number) , other_details (text) | student_enrolment_courses : student_course_id (number) , course_id (number) , student_enrolment_id (number) | transcripts : transcript_id (number) , transcript_date (time) , other_details (text) | transcript_contents : student_course_id (number) , transcript_id (number)", "summarized-schema": ""} +{"db_id": "student_transcripts_tracking", "question": "How many courses in total are listed?", "schema": "addresses : address_id (number) , line_1 (text) , line_2 (text) , line_3 (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) , other_address_details (text) | courses : course_id (number) , course_name (text) , course_description (text) , other_details (text) | departments : department_id (number) , department_name (text) , department_description (text) , other_details (text) | degree_programs : degree_program_id (number) , department_id (number) , degree_summary_name (text) , degree_summary_description (text) , other_details (text) | sections : section_id (number) , course_id (number) , section_name (text) , section_description (text) , other_details (text) | semesters : semester_id (number) , semester_name (text) , semester_description (text) , other_details (text) | students : student_id (number) , current_address_id (number) , permanent_address_id (number) , first_name (text) , middle_name (text) , last_name (text) , cell_mobile_number (text) , email_address (text) , ssn (text) , date_first_registered (time) , date_left (time) , other_student_details (text) | student_enrolment : student_enrolment_id (number) , degree_program_id (number) , semester_id (number) , student_id (number) , other_details (text) | student_enrolment_courses : student_course_id (number) , course_id (number) , student_enrolment_id (number) | transcripts : transcript_id (number) , transcript_date (time) , other_details (text) | transcript_contents : student_course_id (number) , transcript_id (number)", "summarized-schema": "courses : course_id (number)"} +{"db_id": "student_transcripts_tracking", "question": "How many courses are there?", "schema": "addresses : address_id (number) , line_1 (text) , line_2 (text) , line_3 (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) , other_address_details (text) | courses : course_id (number) , course_name (text) , course_description (text) , other_details (text) | departments : department_id (number) , department_name (text) , department_description (text) , other_details (text) | degree_programs : degree_program_id (number) , department_id (number) , degree_summary_name (text) , degree_summary_description (text) , other_details (text) | sections : section_id (number) , course_id (number) , section_name (text) , section_description (text) , other_details (text) | semesters : semester_id (number) , semester_name (text) , semester_description (text) , other_details (text) | students : student_id (number) , current_address_id (number) , permanent_address_id (number) , first_name (text) , middle_name (text) , last_name (text) , cell_mobile_number (text) , email_address (text) , ssn (text) , date_first_registered (time) , date_left (time) , other_student_details (text) | student_enrolment : student_enrolment_id (number) , degree_program_id (number) , semester_id (number) , student_id (number) , other_details (text) | student_enrolment_courses : student_course_id (number) , course_id (number) , student_enrolment_id (number) | transcripts : transcript_id (number) , transcript_date (time) , other_details (text) | transcript_contents : student_course_id (number) , transcript_id (number)", "summarized-schema": "courses : course_id (number)"} {"db_id": "student_transcripts_tracking", "question": "How is the math course described?", "schema": "addresses : address_id (number) , line_1 (text) , line_2 (text) , line_3 (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) , other_address_details (text) | courses : course_id (number) , course_name (text) , course_description (text) , other_details (text) | departments : department_id (number) , department_name (text) , department_description (text) , other_details (text) | degree_programs : degree_program_id (number) , department_id (number) , degree_summary_name (text) , degree_summary_description (text) , other_details (text) | sections : section_id (number) , course_id (number) , section_name (text) , section_description (text) , other_details (text) | semesters : semester_id (number) , semester_name (text) , semester_description (text) , other_details (text) | students : student_id (number) , current_address_id (number) , permanent_address_id (number) , first_name (text) , middle_name (text) , last_name (text) , cell_mobile_number (text) , email_address (text) , ssn (text) , date_first_registered (time) , date_left (time) , other_student_details (text) | student_enrolment : student_enrolment_id (number) , degree_program_id (number) , semester_id (number) , student_id (number) , other_details (text) | student_enrolment_courses : student_course_id (number) , course_id (number) , student_enrolment_id (number) | transcripts : transcript_id (number) , transcript_date (time) , other_details (text) | transcript_contents : student_course_id (number) , transcript_id (number)", "summarized-schema": "courses : course_description (text) , course_name (text) , course_id (number)"} {"db_id": "student_transcripts_tracking", "question": "What are the descriptions for all the math courses?", "schema": "addresses : address_id (number) , line_1 (text) , line_2 (text) , line_3 (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) , other_address_details (text) | courses : course_id (number) , course_name (text) , course_description (text) , other_details (text) | departments : department_id (number) , department_name (text) , department_description (text) , other_details (text) | degree_programs : degree_program_id (number) , department_id (number) , degree_summary_name (text) , degree_summary_description (text) , other_details (text) | sections : section_id (number) , course_id (number) , section_name (text) , section_description (text) , other_details (text) | semesters : semester_id (number) , semester_name (text) , semester_description (text) , other_details (text) | students : student_id (number) , current_address_id (number) , permanent_address_id (number) , first_name (text) , middle_name (text) , last_name (text) , cell_mobile_number (text) , email_address (text) , ssn (text) , date_first_registered (time) , date_left (time) , other_student_details (text) | student_enrolment : student_enrolment_id (number) , degree_program_id (number) , semester_id (number) , student_id (number) , other_details (text) | student_enrolment_courses : student_course_id (number) , course_id (number) , student_enrolment_id (number) | transcripts : transcript_id (number) , transcript_date (time) , other_details (text) | transcript_contents : student_course_id (number) , transcript_id (number)", "summarized-schema": "courses : course_description (text) , course_name (text) , course_id (number)"} {"db_id": "student_transcripts_tracking", "question": "What is the zip code of the address in the city Port Chelsea?", "schema": "addresses : address_id (number) , line_1 (text) , line_2 (text) , line_3 (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) , other_address_details (text) | courses : course_id (number) , course_name (text) , course_description (text) , other_details (text) | departments : department_id (number) , department_name (text) , department_description (text) , other_details (text) | degree_programs : degree_program_id (number) , department_id (number) , degree_summary_name (text) , degree_summary_description (text) , other_details (text) | sections : section_id (number) , course_id (number) , section_name (text) , section_description (text) , other_details (text) | semesters : semester_id (number) , semester_name (text) , semester_description (text) , other_details (text) | students : student_id (number) , current_address_id (number) , permanent_address_id (number) , first_name (text) , middle_name (text) , last_name (text) , cell_mobile_number (text) , email_address (text) , ssn (text) , date_first_registered (time) , date_left (time) , other_student_details (text) | student_enrolment : student_enrolment_id (number) , degree_program_id (number) , semester_id (number) , student_id (number) , other_details (text) | student_enrolment_courses : student_course_id (number) , course_id (number) , student_enrolment_id (number) | transcripts : transcript_id (number) , transcript_date (time) , other_details (text) | transcript_contents : student_course_id (number) , transcript_id (number)", "summarized-schema": "addresses : zip_postcode (text) , city (text) , address_id (number)"} @@ -565,8 +565,8 @@ {"db_id": "student_transcripts_tracking", "question": "What is the average transcript date?", "schema": "addresses : address_id (number) , line_1 (text) , line_2 (text) , line_3 (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) , other_address_details (text) | courses : course_id (number) , course_name (text) , course_description (text) , other_details (text) | departments : department_id (number) , department_name (text) , department_description (text) , other_details (text) | degree_programs : degree_program_id (number) , department_id (number) , degree_summary_name (text) , degree_summary_description (text) , other_details (text) | sections : section_id (number) , course_id (number) , section_name (text) , section_description (text) , other_details (text) | semesters : semester_id (number) , semester_name (text) , semester_description (text) , other_details (text) | students : student_id (number) , current_address_id (number) , permanent_address_id (number) , first_name (text) , middle_name (text) , last_name (text) , cell_mobile_number (text) , email_address (text) , ssn (text) , date_first_registered (time) , date_left (time) , other_student_details (text) | student_enrolment : student_enrolment_id (number) , degree_program_id (number) , semester_id (number) , student_id (number) , other_details (text) | student_enrolment_courses : student_course_id (number) , course_id (number) , student_enrolment_id (number) | transcripts : transcript_id (number) , transcript_date (time) , other_details (text) | transcript_contents : student_course_id (number) , transcript_id (number)", "summarized-schema": "transcripts : transcript_date (time) , transcript_id (number)"} {"db_id": "student_transcripts_tracking", "question": "When is the first transcript released? List the date and details.", "schema": "addresses : address_id (number) , line_1 (text) , line_2 (text) , line_3 (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) , other_address_details (text) | courses : course_id (number) , course_name (text) , course_description (text) , other_details (text) | departments : department_id (number) , department_name (text) , department_description (text) , other_details (text) | degree_programs : degree_program_id (number) , department_id (number) , degree_summary_name (text) , degree_summary_description (text) , other_details (text) | sections : section_id (number) , course_id (number) , section_name (text) , section_description (text) , other_details (text) | semesters : semester_id (number) , semester_name (text) , semester_description (text) , other_details (text) | students : student_id (number) , current_address_id (number) , permanent_address_id (number) , first_name (text) , middle_name (text) , last_name (text) , cell_mobile_number (text) , email_address (text) , ssn (text) , date_first_registered (time) , date_left (time) , other_student_details (text) | student_enrolment : student_enrolment_id (number) , degree_program_id (number) , semester_id (number) , student_id (number) , other_details (text) | student_enrolment_courses : student_course_id (number) , course_id (number) , student_enrolment_id (number) | transcripts : transcript_id (number) , transcript_date (time) , other_details (text) | transcript_contents : student_course_id (number) , transcript_id (number)", "summarized-schema": "transcripts : transcript_date (time) , other_details (text) , transcript_id (number) | courses : other_details (text) , course_id (number) | departments : other_details (text) , department_id (number) | degree_programs : other_details (text) , degree_program_id (number) | sections : other_details (text) , section_id (number) | semesters : other_details (text) , semester_id (number) | student_enrolment : other_details (text) , student_enrolment_id (number)"} {"db_id": "student_transcripts_tracking", "question": "What is the earliest date of a transcript release, and what details can you tell me?", "schema": "addresses : address_id (number) , line_1 (text) , line_2 (text) , line_3 (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) , other_address_details (text) | courses : course_id (number) , course_name (text) , course_description (text) , other_details (text) | departments : department_id (number) , department_name (text) , department_description (text) , other_details (text) | degree_programs : degree_program_id (number) , department_id (number) , degree_summary_name (text) , degree_summary_description (text) , other_details (text) | sections : section_id (number) , course_id (number) , section_name (text) , section_description (text) , other_details (text) | semesters : semester_id (number) , semester_name (text) , semester_description (text) , other_details (text) | students : student_id (number) , current_address_id (number) , permanent_address_id (number) , first_name (text) , middle_name (text) , last_name (text) , cell_mobile_number (text) , email_address (text) , ssn (text) , date_first_registered (time) , date_left (time) , other_student_details (text) | student_enrolment : student_enrolment_id (number) , degree_program_id (number) , semester_id (number) , student_id (number) , other_details (text) | student_enrolment_courses : student_course_id (number) , course_id (number) , student_enrolment_id (number) | transcripts : transcript_id (number) , transcript_date (time) , other_details (text) | transcript_contents : student_course_id (number) , transcript_id (number)", "summarized-schema": "transcripts : transcript_date (time) , other_details (text) , transcript_id (number) | courses : other_details (text) , course_id (number) | departments : other_details (text) , department_id (number) | degree_programs : other_details (text) , degree_program_id (number) | sections : other_details (text) , section_id (number) | semesters : other_details (text) , semester_id (number) | student_enrolment : other_details (text) , student_enrolment_id (number)"} -{"db_id": "student_transcripts_tracking", "question": "How many transcripts are released?", "schema": "addresses : address_id (number) , line_1 (text) , line_2 (text) , line_3 (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) , other_address_details (text) | courses : course_id (number) , course_name (text) , course_description (text) , other_details (text) | departments : department_id (number) , department_name (text) , department_description (text) , other_details (text) | degree_programs : degree_program_id (number) , department_id (number) , degree_summary_name (text) , degree_summary_description (text) , other_details (text) | sections : section_id (number) , course_id (number) , section_name (text) , section_description (text) , other_details (text) | semesters : semester_id (number) , semester_name (text) , semester_description (text) , other_details (text) | students : student_id (number) , current_address_id (number) , permanent_address_id (number) , first_name (text) , middle_name (text) , last_name (text) , cell_mobile_number (text) , email_address (text) , ssn (text) , date_first_registered (time) , date_left (time) , other_student_details (text) | student_enrolment : student_enrolment_id (number) , degree_program_id (number) , semester_id (number) , student_id (number) , other_details (text) | student_enrolment_courses : student_course_id (number) , course_id (number) , student_enrolment_id (number) | transcripts : transcript_id (number) , transcript_date (time) , other_details (text) | transcript_contents : student_course_id (number) , transcript_id (number)", "summarized-schema": ""} -{"db_id": "student_transcripts_tracking", "question": "How many transcripts are listed?", "schema": "addresses : address_id (number) , line_1 (text) , line_2 (text) , line_3 (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) , other_address_details (text) | courses : course_id (number) , course_name (text) , course_description (text) , other_details (text) | departments : department_id (number) , department_name (text) , department_description (text) , other_details (text) | degree_programs : degree_program_id (number) , department_id (number) , degree_summary_name (text) , degree_summary_description (text) , other_details (text) | sections : section_id (number) , course_id (number) , section_name (text) , section_description (text) , other_details (text) | semesters : semester_id (number) , semester_name (text) , semester_description (text) , other_details (text) | students : student_id (number) , current_address_id (number) , permanent_address_id (number) , first_name (text) , middle_name (text) , last_name (text) , cell_mobile_number (text) , email_address (text) , ssn (text) , date_first_registered (time) , date_left (time) , other_student_details (text) | student_enrolment : student_enrolment_id (number) , degree_program_id (number) , semester_id (number) , student_id (number) , other_details (text) | student_enrolment_courses : student_course_id (number) , course_id (number) , student_enrolment_id (number) | transcripts : transcript_id (number) , transcript_date (time) , other_details (text) | transcript_contents : student_course_id (number) , transcript_id (number)", "summarized-schema": ""} +{"db_id": "student_transcripts_tracking", "question": "How many transcripts are released?", "schema": "addresses : address_id (number) , line_1 (text) , line_2 (text) , line_3 (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) , other_address_details (text) | courses : course_id (number) , course_name (text) , course_description (text) , other_details (text) | departments : department_id (number) , department_name (text) , department_description (text) , other_details (text) | degree_programs : degree_program_id (number) , department_id (number) , degree_summary_name (text) , degree_summary_description (text) , other_details (text) | sections : section_id (number) , course_id (number) , section_name (text) , section_description (text) , other_details (text) | semesters : semester_id (number) , semester_name (text) , semester_description (text) , other_details (text) | students : student_id (number) , current_address_id (number) , permanent_address_id (number) , first_name (text) , middle_name (text) , last_name (text) , cell_mobile_number (text) , email_address (text) , ssn (text) , date_first_registered (time) , date_left (time) , other_student_details (text) | student_enrolment : student_enrolment_id (number) , degree_program_id (number) , semester_id (number) , student_id (number) , other_details (text) | student_enrolment_courses : student_course_id (number) , course_id (number) , student_enrolment_id (number) | transcripts : transcript_id (number) , transcript_date (time) , other_details (text) | transcript_contents : student_course_id (number) , transcript_id (number)", "summarized-schema": "transcripts : transcript_id (number)"} +{"db_id": "student_transcripts_tracking", "question": "How many transcripts are listed?", "schema": "addresses : address_id (number) , line_1 (text) , line_2 (text) , line_3 (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) , other_address_details (text) | courses : course_id (number) , course_name (text) , course_description (text) , other_details (text) | departments : department_id (number) , department_name (text) , department_description (text) , other_details (text) | degree_programs : degree_program_id (number) , department_id (number) , degree_summary_name (text) , degree_summary_description (text) , other_details (text) | sections : section_id (number) , course_id (number) , section_name (text) , section_description (text) , other_details (text) | semesters : semester_id (number) , semester_name (text) , semester_description (text) , other_details (text) | students : student_id (number) , current_address_id (number) , permanent_address_id (number) , first_name (text) , middle_name (text) , last_name (text) , cell_mobile_number (text) , email_address (text) , ssn (text) , date_first_registered (time) , date_left (time) , other_student_details (text) | student_enrolment : student_enrolment_id (number) , degree_program_id (number) , semester_id (number) , student_id (number) , other_details (text) | student_enrolment_courses : student_course_id (number) , course_id (number) , student_enrolment_id (number) | transcripts : transcript_id (number) , transcript_date (time) , other_details (text) | transcript_contents : student_course_id (number) , transcript_id (number)", "summarized-schema": "transcripts : transcript_id (number)"} {"db_id": "student_transcripts_tracking", "question": "What is the last transcript release date?", "schema": "addresses : address_id (number) , line_1 (text) , line_2 (text) , line_3 (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) , other_address_details (text) | courses : course_id (number) , course_name (text) , course_description (text) , other_details (text) | departments : department_id (number) , department_name (text) , department_description (text) , other_details (text) | degree_programs : degree_program_id (number) , department_id (number) , degree_summary_name (text) , degree_summary_description (text) , other_details (text) | sections : section_id (number) , course_id (number) , section_name (text) , section_description (text) , other_details (text) | semesters : semester_id (number) , semester_name (text) , semester_description (text) , other_details (text) | students : student_id (number) , current_address_id (number) , permanent_address_id (number) , first_name (text) , middle_name (text) , last_name (text) , cell_mobile_number (text) , email_address (text) , ssn (text) , date_first_registered (time) , date_left (time) , other_student_details (text) | student_enrolment : student_enrolment_id (number) , degree_program_id (number) , semester_id (number) , student_id (number) , other_details (text) | student_enrolment_courses : student_course_id (number) , course_id (number) , student_enrolment_id (number) | transcripts : transcript_id (number) , transcript_date (time) , other_details (text) | transcript_contents : student_course_id (number) , transcript_id (number)", "summarized-schema": "transcripts : transcript_date (time) , transcript_id (number)"} {"db_id": "student_transcripts_tracking", "question": "When was the last transcript released?", "schema": "addresses : address_id (number) , line_1 (text) , line_2 (text) , line_3 (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) , other_address_details (text) | courses : course_id (number) , course_name (text) , course_description (text) , other_details (text) | departments : department_id (number) , department_name (text) , department_description (text) , other_details (text) | degree_programs : degree_program_id (number) , department_id (number) , degree_summary_name (text) , degree_summary_description (text) , other_details (text) | sections : section_id (number) , course_id (number) , section_name (text) , section_description (text) , other_details (text) | semesters : semester_id (number) , semester_name (text) , semester_description (text) , other_details (text) | students : student_id (number) , current_address_id (number) , permanent_address_id (number) , first_name (text) , middle_name (text) , last_name (text) , cell_mobile_number (text) , email_address (text) , ssn (text) , date_first_registered (time) , date_left (time) , other_student_details (text) | student_enrolment : student_enrolment_id (number) , degree_program_id (number) , semester_id (number) , student_id (number) , other_details (text) | student_enrolment_courses : student_course_id (number) , course_id (number) , student_enrolment_id (number) | transcripts : transcript_id (number) , transcript_date (time) , other_details (text) | transcript_contents : student_course_id (number) , transcript_id (number)", "summarized-schema": "transcripts : transcript_date (time) , transcript_id (number)"} {"db_id": "student_transcripts_tracking", "question": "How many times at most can a course enrollment result show in different transcripts? Also show the course enrollment id.", "schema": "addresses : address_id (number) , line_1 (text) , line_2 (text) , line_3 (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) , other_address_details (text) | courses : course_id (number) , course_name (text) , course_description (text) , other_details (text) | departments : department_id (number) , department_name (text) , department_description (text) , other_details (text) | degree_programs : degree_program_id (number) , department_id (number) , degree_summary_name (text) , degree_summary_description (text) , other_details (text) | sections : section_id (number) , course_id (number) , section_name (text) , section_description (text) , other_details (text) | semesters : semester_id (number) , semester_name (text) , semester_description (text) , other_details (text) | students : student_id (number) , current_address_id (number) , permanent_address_id (number) , first_name (text) , middle_name (text) , last_name (text) , cell_mobile_number (text) , email_address (text) , ssn (text) , date_first_registered (time) , date_left (time) , other_student_details (text) | student_enrolment : student_enrolment_id (number) , degree_program_id (number) , semester_id (number) , student_id (number) , other_details (text) | student_enrolment_courses : student_course_id (number) , course_id (number) , student_enrolment_id (number) | transcripts : transcript_id (number) , transcript_date (time) , other_details (text) | transcript_contents : student_course_id (number) , transcript_id (number)", "summarized-schema": "student_enrolment_courses : student_course_id (number) , student_course_id (number) | transcript_contents : student_course_id (number)"} @@ -645,8 +645,8 @@ {"db_id": "tvshow", "question": "What are the ids of the TV channels that do not have any cartoons directed by Ben Jones?", "schema": "tv_channel : id (text) , series_name (text) , country (text) , language (text) , content (text) , pixel_aspect_ratio_par (text) , hight_definition_tv (text) , pay_per_view_ppv (text) , package_option (text) | tv_series : id (number) , episode (text) , air_date (text) , rating (text) , share (number) , 18_49_rating_share (text) , viewers_m (text) , weekly_rank (number) , channel (text) | cartoon : id (number) , title (text) , directed_by (text) , written_by (text) , original_air_date (text) , production_code (number) , channel (text)", "summarized-schema": "tv_channel : id (text) , id (number) | tv_series : id (number) , channel (text) , id (number) | cartoon : id (number) , channel (text) , directed_by (text) , id (number)"} {"db_id": "tvshow", "question": "find the package option of the tv channel that do not have any cartoon directed by Ben Jones.", "schema": "tv_channel : id (text) , series_name (text) , country (text) , language (text) , content (text) , pixel_aspect_ratio_par (text) , hight_definition_tv (text) , pay_per_view_ppv (text) , package_option (text) | tv_series : id (number) , episode (text) , air_date (text) , rating (text) , share (number) , 18_49_rating_share (text) , viewers_m (text) , weekly_rank (number) , channel (text) | cartoon : id (number) , title (text) , directed_by (text) , written_by (text) , original_air_date (text) , production_code (number) , channel (text)", "summarized-schema": "tv_channel : package_option (text) , id (text) , id (number) | tv_series : id (number) , channel (text) , id (number) | cartoon : id (number) , channel (text) , directed_by (text) , id (number)"} {"db_id": "tvshow", "question": "What are the package options of all tv channels that are not playing any cartoons directed by Ben Jones?", "schema": "tv_channel : id (text) , series_name (text) , country (text) , language (text) , content (text) , pixel_aspect_ratio_par (text) , hight_definition_tv (text) , pay_per_view_ppv (text) , package_option (text) | tv_series : id (number) , episode (text) , air_date (text) , rating (text) , share (number) , 18_49_rating_share (text) , viewers_m (text) , weekly_rank (number) , channel (text) | cartoon : id (number) , title (text) , directed_by (text) , written_by (text) , original_air_date (text) , production_code (number) , channel (text)", "summarized-schema": "tv_channel : package_option (text) , id (text) , id (number) | tv_series : id (number) , channel (text) , id (number) | cartoon : id (number) , channel (text) , directed_by (text) , id (number)"} -{"db_id": "poker_player", "question": "How many poker players are there?", "schema": "poker_player : poker_player_id (number) , people_id (number) , final_table_made (number) , best_finish (number) , money_rank (number) , earnings (number) | people : people_id (number) , nationality (text) , name (text) , birth_date (text) , height (number)", "summarized-schema": ""} -{"db_id": "poker_player", "question": "Count the number of poker players.", "schema": "poker_player : poker_player_id (number) , people_id (number) , final_table_made (number) , best_finish (number) , money_rank (number) , earnings (number) | people : people_id (number) , nationality (text) , name (text) , birth_date (text) , height (number)", "summarized-schema": ""} +{"db_id": "poker_player", "question": "How many poker players are there?", "schema": "poker_player : poker_player_id (number) , people_id (number) , final_table_made (number) , best_finish (number) , money_rank (number) , earnings (number) | people : people_id (number) , nationality (text) , name (text) , birth_date (text) , height (number)", "summarized-schema": "poker_player : poker_player_id (number)"} +{"db_id": "poker_player", "question": "Count the number of poker players.", "schema": "poker_player : poker_player_id (number) , people_id (number) , final_table_made (number) , best_finish (number) , money_rank (number) , earnings (number) | people : people_id (number) , nationality (text) , name (text) , birth_date (text) , height (number)", "summarized-schema": "poker_player : poker_player_id (number)"} {"db_id": "poker_player", "question": "List the earnings of poker players in descending order.", "schema": "poker_player : poker_player_id (number) , people_id (number) , final_table_made (number) , best_finish (number) , money_rank (number) , earnings (number) | people : people_id (number) , nationality (text) , name (text) , birth_date (text) , height (number)", "summarized-schema": "poker_player : earnings (number) , poker_player_id (number)"} {"db_id": "poker_player", "question": "What are the earnings of poker players, ordered descending by value?", "schema": "poker_player : poker_player_id (number) , people_id (number) , final_table_made (number) , best_finish (number) , money_rank (number) , earnings (number) | people : people_id (number) , nationality (text) , name (text) , birth_date (text) , height (number)", "summarized-schema": "poker_player : earnings (number) , poker_player_id (number)"} {"db_id": "poker_player", "question": "List the final tables made and the best finishes of poker players.", "schema": "poker_player : poker_player_id (number) , people_id (number) , final_table_made (number) , best_finish (number) , money_rank (number) , earnings (number) | people : people_id (number) , nationality (text) , name (text) , birth_date (text) , height (number)", "summarized-schema": "poker_player : final_table_made (number) , best_finish (number) , poker_player_id (number)"} @@ -685,7 +685,7 @@ {"db_id": "poker_player", "question": "What are the names of people who do not play poker?", "schema": "poker_player : poker_player_id (number) , people_id (number) , final_table_made (number) , best_finish (number) , money_rank (number) , earnings (number) | people : people_id (number) , nationality (text) , name (text) , birth_date (text) , height (number)", "summarized-schema": "people : name (text) , people_id (number) , people_id (number) | poker_player : people_id (number) , poker_player_id (number)"} {"db_id": "poker_player", "question": "How many distinct nationalities are there?", "schema": "poker_player : poker_player_id (number) , people_id (number) , final_table_made (number) , best_finish (number) , money_rank (number) , earnings (number) | people : people_id (number) , nationality (text) , name (text) , birth_date (text) , height (number)", "summarized-schema": "people : nationality (text) , people_id (number)"} {"db_id": "poker_player", "question": "Count the number of different nationalities.", "schema": "poker_player : poker_player_id (number) , people_id (number) , final_table_made (number) , best_finish (number) , money_rank (number) , earnings (number) | people : people_id (number) , nationality (text) , name (text) , birth_date (text) , height (number)", "summarized-schema": "people : nationality (text) , people_id (number)"} -{"db_id": "voter_1", "question": "How many states are there?", "schema": "area_code_state : area_code (number) , state (text) | contestants : contestant_number (number) , contestant_name (text) | votes : vote_id (number) , phone_number (number) , state (text) , contestant_number (number) , created (time)", "summarized-schema": ""} +{"db_id": "voter_1", "question": "How many states are there?", "schema": "area_code_state : area_code (number) , state (text) | contestants : contestant_number (number) , contestant_name (text) | votes : vote_id (number) , phone_number (number) , state (text) , contestant_number (number) , created (time)", "summarized-schema": "area_code_state : area_code (number)"} {"db_id": "voter_1", "question": "List the contestant numbers and names, ordered by contestant name descending.", "schema": "area_code_state : area_code (number) , state (text) | contestants : contestant_number (number) , contestant_name (text) | votes : vote_id (number) , phone_number (number) , state (text) , contestant_number (number) , created (time)", "summarized-schema": "contestants : contestant_number (number) , contestant_name (text) , contestant_number (number) | votes : contestant_number (number) , vote_id (number)"} {"db_id": "voter_1", "question": "List the vote ids, phone numbers and states of all votes.", "schema": "area_code_state : area_code (number) , state (text) | contestants : contestant_number (number) , contestant_name (text) | votes : vote_id (number) , phone_number (number) , state (text) , contestant_number (number) , created (time)", "summarized-schema": "votes : vote_id (number) , phone_number (number) , state (text) , vote_id (number) | area_code_state : state (text) , area_code (number)"} {"db_id": "voter_1", "question": "What are the maximum and minimum values of area codes?", "schema": "area_code_state : area_code (number) , state (text) | contestants : contestant_number (number) , contestant_name (text) | votes : vote_id (number) , phone_number (number) , state (text) , contestant_number (number) , created (time)", "summarized-schema": "area_code_state : area_code (number) , area_code (number)"} @@ -820,8 +820,8 @@ {"db_id": "world_1", "question": "Count the number of countries for which Spanish is the predominantly spoken language.", "schema": "city : id (number) , name (text) , countrycode (text) , district (text) , population (number) | sqlite_sequence : name (text) , seq (text) | country : code (text) , name (text) , continent (text) , region (text) , surfacearea (number) , indepyear (number) , population (number) , lifeexpectancy (number) , gnp (number) , gnpold (number) , localname (text) , governmentform (text) , headofstate (text) , capital (number) , code2 (text) | countrylanguage : countrycode (text) , language (text) , isofficial (text) , percentage (number)", "summarized-schema": "countrylanguage : percentage (number) , language (text) , countrycode (text) , countrycode (number) | city : countrycode (text) , id (number)"} {"db_id": "world_1", "question": "What are the codes of countries where Spanish is spoken by the largest percentage of people?", "schema": "city : id (number) , name (text) , countrycode (text) , district (text) , population (number) | sqlite_sequence : name (text) , seq (text) | country : code (text) , name (text) , continent (text) , region (text) , surfacearea (number) , indepyear (number) , population (number) , lifeexpectancy (number) , gnp (number) , gnpold (number) , localname (text) , governmentform (text) , headofstate (text) , capital (number) , code2 (text) | countrylanguage : countrycode (text) , language (text) , isofficial (text) , percentage (number)", "summarized-schema": "city : countrycode (text) , id (number) | countrylanguage : countrycode (text) , percentage (number) , language (text) , countrycode (number)"} {"db_id": "world_1", "question": "Return the codes of countries for which Spanish is the predominantly spoken language.", "schema": "city : id (number) , name (text) , countrycode (text) , district (text) , population (number) | sqlite_sequence : name (text) , seq (text) | country : code (text) , name (text) , continent (text) , region (text) , surfacearea (number) , indepyear (number) , population (number) , lifeexpectancy (number) , gnp (number) , gnpold (number) , localname (text) , governmentform (text) , headofstate (text) , capital (number) , code2 (text) | countrylanguage : countrycode (text) , language (text) , isofficial (text) , percentage (number)", "summarized-schema": "city : countrycode (text) , id (number) | countrylanguage : countrycode (text) , percentage (number) , language (text) , countrycode (number)"} -{"db_id": "orchestra", "question": "How many conductors are there?", "schema": "conductor : conductor_id (number) , name (text) , age (number) , nationality (text) , year_of_work (number) | orchestra : orchestra_id (number) , orchestra (text) , conductor_id (number) , record_company (text) , year_of_founded (number) , major_record_format (text) | performance : performance_id (number) , orchestra_id (number) , type (text) , date (text) , official_ratings_(millions) (number) , weekly_rank (text) , share (text) | show : show_id (number) , performance_id (number) , if_first_show (others) , result (text) , attendance (number)", "summarized-schema": ""} -{"db_id": "orchestra", "question": "Count the number of conductors.", "schema": "conductor : conductor_id (number) , name (text) , age (number) , nationality (text) , year_of_work (number) | orchestra : orchestra_id (number) , orchestra (text) , conductor_id (number) , record_company (text) , year_of_founded (number) , major_record_format (text) | performance : performance_id (number) , orchestra_id (number) , type (text) , date (text) , official_ratings_(millions) (number) , weekly_rank (text) , share (text) | show : show_id (number) , performance_id (number) , if_first_show (others) , result (text) , attendance (number)", "summarized-schema": ""} +{"db_id": "orchestra", "question": "How many conductors are there?", "schema": "conductor : conductor_id (number) , name (text) , age (number) , nationality (text) , year_of_work (number) | orchestra : orchestra_id (number) , orchestra (text) , conductor_id (number) , record_company (text) , year_of_founded (number) , major_record_format (text) | performance : performance_id (number) , orchestra_id (number) , type (text) , date (text) , official_ratings_(millions) (number) , weekly_rank (text) , share (text) | show : show_id (number) , performance_id (number) , if_first_show (others) , result (text) , attendance (number)", "summarized-schema": "conductor : conductor_id (number)"} +{"db_id": "orchestra", "question": "Count the number of conductors.", "schema": "conductor : conductor_id (number) , name (text) , age (number) , nationality (text) , year_of_work (number) | orchestra : orchestra_id (number) , orchestra (text) , conductor_id (number) , record_company (text) , year_of_founded (number) , major_record_format (text) | performance : performance_id (number) , orchestra_id (number) , type (text) , date (text) , official_ratings_(millions) (number) , weekly_rank (text) , share (text) | show : show_id (number) , performance_id (number) , if_first_show (others) , result (text) , attendance (number)", "summarized-schema": "conductor : conductor_id (number)"} {"db_id": "orchestra", "question": "List the names of conductors in ascending order of age.", "schema": "conductor : conductor_id (number) , name (text) , age (number) , nationality (text) , year_of_work (number) | orchestra : orchestra_id (number) , orchestra (text) , conductor_id (number) , record_company (text) , year_of_founded (number) , major_record_format (text) | performance : performance_id (number) , orchestra_id (number) , type (text) , date (text) , official_ratings_(millions) (number) , weekly_rank (text) , share (text) | show : show_id (number) , performance_id (number) , if_first_show (others) , result (text) , attendance (number)", "summarized-schema": "conductor : name (text) , age (number) , conductor_id (number)"} {"db_id": "orchestra", "question": "What are the names of conductors, ordered by age?", "schema": "conductor : conductor_id (number) , name (text) , age (number) , nationality (text) , year_of_work (number) | orchestra : orchestra_id (number) , orchestra (text) , conductor_id (number) , record_company (text) , year_of_founded (number) , major_record_format (text) | performance : performance_id (number) , orchestra_id (number) , type (text) , date (text) , official_ratings_(millions) (number) , weekly_rank (text) , share (text) | show : show_id (number) , performance_id (number) , if_first_show (others) , result (text) , attendance (number)", "summarized-schema": "conductor : name (text) , age (number) , conductor_id (number)"} {"db_id": "orchestra", "question": "What are the names of conductors whose nationalities are not \"USA\"?", "schema": "conductor : conductor_id (number) , name (text) , age (number) , nationality (text) , year_of_work (number) | orchestra : orchestra_id (number) , orchestra (text) , conductor_id (number) , record_company (text) , year_of_founded (number) , major_record_format (text) | performance : performance_id (number) , orchestra_id (number) , type (text) , date (text) , official_ratings_(millions) (number) , weekly_rank (text) , share (text) | show : show_id (number) , performance_id (number) , if_first_show (others) , result (text) , attendance (number)", "summarized-schema": "conductor : name (text) , nationality (text) , conductor_id (number)"} @@ -860,8 +860,8 @@ {"db_id": "orchestra", "question": "Count the number of orchestras that have CD or DVD as their record format.", "schema": "conductor : conductor_id (number) , name (text) , age (number) , nationality (text) , year_of_work (number) | orchestra : orchestra_id (number) , orchestra (text) , conductor_id (number) , record_company (text) , year_of_founded (number) , major_record_format (text) | performance : performance_id (number) , orchestra_id (number) , type (text) , date (text) , official_ratings_(millions) (number) , weekly_rank (text) , share (text) | show : show_id (number) , performance_id (number) , if_first_show (others) , result (text) , attendance (number)", "summarized-schema": "orchestra : orchestra (text) , major_record_format (text) , orchestra_id (number)"} {"db_id": "orchestra", "question": "Show the years in which orchestras that have given more than one performance are founded.", "schema": "conductor : conductor_id (number) , name (text) , age (number) , nationality (text) , year_of_work (number) | orchestra : orchestra_id (number) , orchestra (text) , conductor_id (number) , record_company (text) , year_of_founded (number) , major_record_format (text) | performance : performance_id (number) , orchestra_id (number) , type (text) , date (text) , official_ratings_(millions) (number) , weekly_rank (text) , share (text) | show : show_id (number) , performance_id (number) , if_first_show (others) , result (text) , attendance (number)", "summarized-schema": "orchestra : year_of_founded (number) , orchestra (text) , orchestra_id (number) , orchestra_id (number) | performance : orchestra_id (number) , performance_id (number)"} {"db_id": "orchestra", "question": "What are years of founding for orchestras that have had more than a single performance?", "schema": "conductor : conductor_id (number) , name (text) , age (number) , nationality (text) , year_of_work (number) | orchestra : orchestra_id (number) , orchestra (text) , conductor_id (number) , record_company (text) , year_of_founded (number) , major_record_format (text) | performance : performance_id (number) , orchestra_id (number) , type (text) , date (text) , official_ratings_(millions) (number) , weekly_rank (text) , share (text) | show : show_id (number) , performance_id (number) , if_first_show (others) , result (text) , attendance (number)", "summarized-schema": "orchestra : year_of_founded (number) , orchestra (text) , orchestra_id (number) , orchestra_id (number) | performance : orchestra_id (number) , performance_id (number)"} -{"db_id": "network_1", "question": "How many high schoolers are there?", "schema": "highschooler : id (number) , name (text) , grade (number) | friend : student_id (number) , friend_id (number) | likes : student_id (number) , liked_id (number)", "summarized-schema": ""} -{"db_id": "network_1", "question": "Count the number of high schoolers.", "schema": "highschooler : id (number) , name (text) , grade (number) | friend : student_id (number) , friend_id (number) | likes : student_id (number) , liked_id (number)", "summarized-schema": ""} +{"db_id": "network_1", "question": "How many high schoolers are there?", "schema": "highschooler : id (number) , name (text) , grade (number) | friend : student_id (number) , friend_id (number) | likes : student_id (number) , liked_id (number)", "summarized-schema": "highschooler : id (number)"} +{"db_id": "network_1", "question": "Count the number of high schoolers.", "schema": "highschooler : id (number) , name (text) , grade (number) | friend : student_id (number) , friend_id (number) | likes : student_id (number) , liked_id (number)", "summarized-schema": "highschooler : id (number)"} {"db_id": "network_1", "question": "Show the names and grades of each high schooler.", "schema": "highschooler : id (number) , name (text) , grade (number) | friend : student_id (number) , friend_id (number) | likes : student_id (number) , liked_id (number)", "summarized-schema": "highschooler : name (text) , grade (number) , id (number)"} {"db_id": "network_1", "question": "What are the names and grades for each high schooler?", "schema": "highschooler : id (number) , name (text) , grade (number) | friend : student_id (number) , friend_id (number) | likes : student_id (number) , liked_id (number)", "summarized-schema": "highschooler : name (text) , grade (number) , id (number)"} {"db_id": "network_1", "question": "Show all the grades of the high schoolers.", "schema": "highschooler : id (number) , name (text) , grade (number) | friend : student_id (number) , friend_id (number) | likes : student_id (number) , liked_id (number)", "summarized-schema": "highschooler : grade (number) , id (number)"} @@ -998,8 +998,8 @@ {"db_id": "dog_kennels", "question": "Find the distinct breed type and size type combinations for dogs.", "schema": "breeds : breed_code (text) , breed_name (text) | charges : charge_id (number) , charge_type (text) , charge_amount (number) | sizes : size_code (text) , size_description (text) | treatment_types : treatment_type_code (text) , treatment_type_description (text) | owners : owner_id (number) , first_name (text) , last_name (text) , street (text) , city (text) , state (text) , zip_code (text) , email_address (text) , home_phone (text) , cell_number (text) | dogs : dog_id (number) , owner_id (number) , abandoned_yn (text) , breed_code (text) , size_code (text) , name (text) , age (text) , date_of_birth (time) , gender (text) , weight (text) , date_arrived (time) , date_adopted (time) , date_departed (time) | professionals : professional_id (number) , role_code (text) , first_name (text) , street (text) , city (text) , state (text) , zip_code (text) , last_name (text) , email_address (text) , home_phone (text) , cell_number (text) | treatments : treatment_id (number) , dog_id (number) , professional_id (number) , treatment_type_code (text) , date_of_treatment (time) , cost_of_treatment (number)", "summarized-schema": "breeds : breed_code (text) , breed_code (number) | dogs : breed_code (text) , size_code (text) , dog_id (number) | sizes : size_code (text) , size_code (number)"} {"db_id": "dog_kennels", "question": "List the first name of all the professionals along with the description of the treatment they have done.", "schema": "breeds : breed_code (text) , breed_name (text) | charges : charge_id (number) , charge_type (text) , charge_amount (number) | sizes : size_code (text) , size_description (text) | treatment_types : treatment_type_code (text) , treatment_type_description (text) | owners : owner_id (number) , first_name (text) , last_name (text) , street (text) , city (text) , state (text) , zip_code (text) , email_address (text) , home_phone (text) , cell_number (text) | dogs : dog_id (number) , owner_id (number) , abandoned_yn (text) , breed_code (text) , size_code (text) , name (text) , age (text) , date_of_birth (time) , gender (text) , weight (text) , date_arrived (time) , date_adopted (time) , date_departed (time) | professionals : professional_id (number) , role_code (text) , first_name (text) , street (text) , city (text) , state (text) , zip_code (text) , last_name (text) , email_address (text) , home_phone (text) , cell_number (text) | treatments : treatment_id (number) , dog_id (number) , professional_id (number) , treatment_type_code (text) , date_of_treatment (time) , cost_of_treatment (number)", "summarized-schema": "owners : first_name (text) , owner_id (number) | professionals : first_name (text) , professional_id (number) , professional_id (number) | treatment_types : treatment_type_description (text) , treatment_type_code (text) , treatment_type_code (number) | treatments : professional_id (number) , treatment_type_code (text) , treatment_id (number)"} {"db_id": "dog_kennels", "question": "What are each professional's first name and description of the treatment they have performed?", "schema": "breeds : breed_code (text) , breed_name (text) | charges : charge_id (number) , charge_type (text) , charge_amount (number) | sizes : size_code (text) , size_description (text) | treatment_types : treatment_type_code (text) , treatment_type_description (text) | owners : owner_id (number) , first_name (text) , last_name (text) , street (text) , city (text) , state (text) , zip_code (text) , email_address (text) , home_phone (text) , cell_number (text) | dogs : dog_id (number) , owner_id (number) , abandoned_yn (text) , breed_code (text) , size_code (text) , name (text) , age (text) , date_of_birth (time) , gender (text) , weight (text) , date_arrived (time) , date_adopted (time) , date_departed (time) | professionals : professional_id (number) , role_code (text) , first_name (text) , street (text) , city (text) , state (text) , zip_code (text) , last_name (text) , email_address (text) , home_phone (text) , cell_number (text) | treatments : treatment_id (number) , dog_id (number) , professional_id (number) , treatment_type_code (text) , date_of_treatment (time) , cost_of_treatment (number)", "summarized-schema": "owners : first_name (text) , owner_id (number) | professionals : first_name (text) , professional_id (number) , professional_id (number) | treatment_types : treatment_type_description (text) , treatment_type_code (text) , treatment_type_code (number) | treatments : professional_id (number) , treatment_type_code (text) , treatment_id (number)"} -{"db_id": "singer", "question": "How many singers are there?", "schema": "singer : singer_id (number) , name (text) , birth_year (number) , net_worth_millions (number) , citizenship (text) | song : song_id (number) , title (text) , singer_id (number) , sales (number) , highest_position (number)", "summarized-schema": ""} -{"db_id": "singer", "question": "What is the count of singers?", "schema": "singer : singer_id (number) , name (text) , birth_year (number) , net_worth_millions (number) , citizenship (text) | song : song_id (number) , title (text) , singer_id (number) , sales (number) , highest_position (number)", "summarized-schema": ""} +{"db_id": "singer", "question": "How many singers are there?", "schema": "singer : singer_id (number) , name (text) , birth_year (number) , net_worth_millions (number) , citizenship (text) | song : song_id (number) , title (text) , singer_id (number) , sales (number) , highest_position (number)", "summarized-schema": "singer : singer_id (number)"} +{"db_id": "singer", "question": "What is the count of singers?", "schema": "singer : singer_id (number) , name (text) , birth_year (number) , net_worth_millions (number) , citizenship (text) | song : song_id (number) , title (text) , singer_id (number) , sales (number) , highest_position (number)", "summarized-schema": "singer : singer_id (number)"} {"db_id": "singer", "question": "List the name of singers in ascending order of net worth.", "schema": "singer : singer_id (number) , name (text) , birth_year (number) , net_worth_millions (number) , citizenship (text) | song : song_id (number) , title (text) , singer_id (number) , sales (number) , highest_position (number)", "summarized-schema": "singer : name (text) , net_worth_millions (number) , singer_id (number)"} {"db_id": "singer", "question": "What are the names of singers ordered by ascending net worth?", "schema": "singer : singer_id (number) , name (text) , birth_year (number) , net_worth_millions (number) , citizenship (text) | song : song_id (number) , title (text) , singer_id (number) , sales (number) , highest_position (number)", "summarized-schema": "singer : name (text) , net_worth_millions (number) , singer_id (number)"} {"db_id": "singer", "question": "What are the birth year and citizenship of singers?", "schema": "singer : singer_id (number) , name (text) , birth_year (number) , net_worth_millions (number) , citizenship (text) | song : song_id (number) , title (text) , singer_id (number) , sales (number) , highest_position (number)", "summarized-schema": "singer : birth_year (number) , citizenship (text) , singer_id (number)"} @@ -1028,7 +1028,7 @@ {"db_id": "singer", "question": "What is the sname of every sing that does not have any song?", "schema": "singer : singer_id (number) , name (text) , birth_year (number) , net_worth_millions (number) , citizenship (text) | song : song_id (number) , title (text) , singer_id (number) , sales (number) , highest_position (number)", "summarized-schema": "singer : name (text) , singer_id (number) , singer_id (number) | song : singer_id (number) , song_id (number)"} {"db_id": "singer", "question": "Show the citizenship shared by singers with birth year before 1945 and after 1955.", "schema": "singer : singer_id (number) , name (text) , birth_year (number) , net_worth_millions (number) , citizenship (text) | song : song_id (number) , title (text) , singer_id (number) , sales (number) , highest_position (number)", "summarized-schema": "singer : citizenship (text) , birth_year (number) , singer_id (number)"} {"db_id": "singer", "question": "What are the citizenships that are shared by singers with a birth year before 1945 and after 1955?", "schema": "singer : singer_id (number) , name (text) , birth_year (number) , net_worth_millions (number) , citizenship (text) | song : song_id (number) , title (text) , singer_id (number) , sales (number) , highest_position (number)", "summarized-schema": "singer : citizenship (text) , birth_year (number) , singer_id (number)"} -{"db_id": "real_estate_properties", "question": "How many available features are there in total?", "schema": "ref_feature_types : feature_type_code (text) , feature_type_name (text) | ref_property_types : property_type_code (text) , property_type_description (text) | other_available_features : feature_id (number) , feature_type_code (text) , feature_name (text) , feature_description (text) | properties : property_id (number) , property_type_code (text) , date_on_market (time) , date_sold (time) , property_name (text) , property_address (text) , room_count (number) , vendor_requested_price (number) , buyer_offered_price (number) , agreed_selling_price (number) , apt_feature_1 (text) , apt_feature_2 (text) , apt_feature_3 (text) , fld_feature_1 (text) , fld_feature_2 (text) , fld_feature_3 (text) , hse_feature_1 (text) , hse_feature_2 (text) , hse_feature_3 (text) , oth_feature_1 (text) , oth_feature_2 (text) , oth_feature_3 (text) , shp_feature_1 (text) , shp_feature_2 (text) , shp_feature_3 (text) , other_property_details (text) | other_property_features : property_id (number) , feature_id (number) , property_feature_description (text)", "summarized-schema": ""} +{"db_id": "real_estate_properties", "question": "How many available features are there in total?", "schema": "ref_feature_types : feature_type_code (text) , feature_type_name (text) | ref_property_types : property_type_code (text) , property_type_description (text) | other_available_features : feature_id (number) , feature_type_code (text) , feature_name (text) , feature_description (text) | properties : property_id (number) , property_type_code (text) , date_on_market (time) , date_sold (time) , property_name (text) , property_address (text) , room_count (number) , vendor_requested_price (number) , buyer_offered_price (number) , agreed_selling_price (number) , apt_feature_1 (text) , apt_feature_2 (text) , apt_feature_3 (text) , fld_feature_1 (text) , fld_feature_2 (text) , fld_feature_3 (text) , hse_feature_1 (text) , hse_feature_2 (text) , hse_feature_3 (text) , oth_feature_1 (text) , oth_feature_2 (text) , oth_feature_3 (text) , shp_feature_1 (text) , shp_feature_2 (text) , shp_feature_3 (text) , other_property_details (text) | other_property_features : property_id (number) , feature_id (number) , property_feature_description (text)", "summarized-schema": "other_available_features : feature_id (number)"} {"db_id": "real_estate_properties", "question": "What is the feature type name of feature AirCon?", "schema": "ref_feature_types : feature_type_code (text) , feature_type_name (text) | ref_property_types : property_type_code (text) , property_type_description (text) | other_available_features : feature_id (number) , feature_type_code (text) , feature_name (text) , feature_description (text) | properties : property_id (number) , property_type_code (text) , date_on_market (time) , date_sold (time) , property_name (text) , property_address (text) , room_count (number) , vendor_requested_price (number) , buyer_offered_price (number) , agreed_selling_price (number) , apt_feature_1 (text) , apt_feature_2 (text) , apt_feature_3 (text) , fld_feature_1 (text) , fld_feature_2 (text) , fld_feature_3 (text) , hse_feature_1 (text) , hse_feature_2 (text) , hse_feature_3 (text) , oth_feature_1 (text) , oth_feature_2 (text) , oth_feature_3 (text) , shp_feature_1 (text) , shp_feature_2 (text) , shp_feature_3 (text) , other_property_details (text) | other_property_features : property_id (number) , feature_id (number) , property_feature_description (text)", "summarized-schema": "ref_feature_types : feature_type_name (text) , feature_type_code (text) , feature_type_code (number) | other_available_features : feature_type_code (text) , feature_name (text) , feature_id (number)"} {"db_id": "real_estate_properties", "question": "Show the property type descriptions of properties belonging to that code.", "schema": "ref_feature_types : feature_type_code (text) , feature_type_name (text) | ref_property_types : property_type_code (text) , property_type_description (text) | other_available_features : feature_id (number) , feature_type_code (text) , feature_name (text) , feature_description (text) | properties : property_id (number) , property_type_code (text) , date_on_market (time) , date_sold (time) , property_name (text) , property_address (text) , room_count (number) , vendor_requested_price (number) , buyer_offered_price (number) , agreed_selling_price (number) , apt_feature_1 (text) , apt_feature_2 (text) , apt_feature_3 (text) , fld_feature_1 (text) , fld_feature_2 (text) , fld_feature_3 (text) , hse_feature_1 (text) , hse_feature_2 (text) , hse_feature_3 (text) , oth_feature_1 (text) , oth_feature_2 (text) , oth_feature_3 (text) , shp_feature_1 (text) , shp_feature_2 (text) , shp_feature_3 (text) , other_property_details (text) | other_property_features : property_id (number) , feature_id (number) , property_feature_description (text)", "summarized-schema": "ref_property_types : property_type_description (text) , property_type_code (text) , property_type_code (number) | properties : property_type_code (text) , property_id (number)"} {"db_id": "real_estate_properties", "question": "What are the names of properties that are either houses or apartments with more than 1 room?", "schema": "ref_feature_types : feature_type_code (text) , feature_type_name (text) | ref_property_types : property_type_code (text) , property_type_description (text) | other_available_features : feature_id (number) , feature_type_code (text) , feature_name (text) , feature_description (text) | properties : property_id (number) , property_type_code (text) , date_on_market (time) , date_sold (time) , property_name (text) , property_address (text) , room_count (number) , vendor_requested_price (number) , buyer_offered_price (number) , agreed_selling_price (number) , apt_feature_1 (text) , apt_feature_2 (text) , apt_feature_3 (text) , fld_feature_1 (text) , fld_feature_2 (text) , fld_feature_3 (text) , hse_feature_1 (text) , hse_feature_2 (text) , hse_feature_3 (text) , oth_feature_1 (text) , oth_feature_2 (text) , oth_feature_3 (text) , shp_feature_1 (text) , shp_feature_2 (text) , shp_feature_3 (text) , other_property_details (text) | other_property_features : property_id (number) , feature_id (number) , property_feature_description (text)", "summarized-schema": "properties : property_name (text) , property_type_code (text) , room_count (number) , property_id (number) | ref_property_types : property_type_code (text) , property_type_code (number)"}