1sf/bird-sql-train-with-schema huggingface dataset:
Database: chicago_crime
Tables: Community_Area, District, FBI_Code, IUCR, Neighborhood, Ward, Crime
Columns (table index, column name): -1, *, 0, community_area_no, 0, community_area_name, 0, side, 0, population, 1, district_no, 1, district_name, 1, address, 1, zip_code, 1, commander, 1, email, 1, phone, 1, fax, 1, tty, 1, twitter, 2, fbi_code_no, 2, title, 2, description, 2, crime_against, 3, iucr_no, 3, primary_description, 3, secondary_description, 3, index_code, 4, neighborhood_name, 4, community_area_no, 5, ward_no, 5, alderman_first_name, 5, alderman_last_name, 5, alderman_name_suffix, 5, ward_office_address, 5, ward_office_zip, 5, ward_email, 5, ward_office_phone, 5, ward_office_fax, 5, city_hall_office_room, 5, city_hall_office_phone, 5, city_hall_office_fax, 5, Population, 6, report_no, 6, case_number, 6, date, 6, block, 6, iucr_no, 6, location_description, 6, arrest, 6, domestic, 6, beat, 6, district_no, 6, ward_no, 6, community_area_no, 6, fbi_code_no, 6, latitude, 6, longitude
Question: How many different types of crimes, according to the primary description, have occurred in the Hermosa neighborhood?
Evidence: "Hermosa" is the neighborhood_name
SQL: SELECT SUM(CASE WHEN T4.neighborhood_name = 'Hermosa' THEN 1 ELSE 0 END) FROM IUCR AS T1 INNER JOIN Crime AS T2 ON T2.iucr_no = T1.iucr_no INNER JOIN Community_Area AS T3 ON T3.community_area_no = T2.community_area_no INNER JOIN Neighborhood AS T4 ON T4.community_area_no = T3.community_area_no
Database: chicago_crime
Tables: Community_Area, District, FBI_Code, IUCR, Neighborhood, Ward, Crime
Columns (table index, column name): -1, *, 0, community_area_no, 0, community_area_name, 0, side, 0, population, 1, district_no, 1, district_name, 1, address, 1, zip_code, 1, commander, 1, email, 1, phone, 1, fax, 1, tty, 1, twitter, 2, fbi_code_no, 2, title, 2, description, 2, crime_against, 3, iucr_no, 3, primary_description, 3, secondary_description, 3, index_code, 4, neighborhood_name, 4, community_area_no, 5, ward_no, 5, alderman_first_name, 5, alderman_last_name, 5, alderman_name_suffix, 5, ward_office_address, 5, ward_office_zip, 5, ward_email, 5, ward_office_phone, 5, ward_office_fax, 5, city_hall_office_room, 5, city_hall_office_phone, 5, city_hall_office_fax, 5, Population, 6, report_no, 6, case_number, 6, date, 6, block, 6, iucr_no, 6, location_description, 6, arrest, 6, domestic, 6, beat, 6, district_no, 6, ward_no, 6, community_area_no, 6, fbi_code_no, 6, latitude, 6, longitude
Question: How many domestic crime cases has Commander Ronald A. Pontecore Jr. been responsible for investigating?
Evidence: domestic crime refers to domestic = 'TRUE'; person responsible for investigating refers to commander
SQL: SELECT SUM(CASE WHEN T2.domestic = 'TRUE' THEN 1 ELSE 0 END) FROM District AS T1 INNER JOIN Crime AS T2 ON T2.district_no = T1.district_no WHERE T1.commander = 'Ronald A. Pontecore Jr.'
Database: chicago_crime
Tables: Community_Area, District, FBI_Code, IUCR, Neighborhood, Ward, Crime
Columns (table index, column name): -1, *, 0, community_area_no, 0, community_area_name, 0, side, 0, population, 1, district_no, 1, district_name, 1, address, 1, zip_code, 1, commander, 1, email, 1, phone, 1, fax, 1, tty, 1, twitter, 2, fbi_code_no, 2, title, 2, description, 2, crime_against, 3, iucr_no, 3, primary_description, 3, secondary_description, 3, index_code, 4, neighborhood_name, 4, community_area_no, 5, ward_no, 5, alderman_first_name, 5, alderman_last_name, 5, alderman_name_suffix, 5, ward_office_address, 5, ward_office_zip, 5, ward_email, 5, ward_office_phone, 5, ward_office_fax, 5, city_hall_office_room, 5, city_hall_office_phone, 5, city_hall_office_fax, 5, Population, 6, report_no, 6, case_number, 6, date, 6, block, 6, iucr_no, 6, location_description, 6, arrest, 6, domestic, 6, beat, 6, district_no, 6, ward_no, 6, community_area_no, 6, fbi_code_no, 6, latitude, 6, longitude
Question: How many crimes against society happened in the Wentworth district according to the FBI?
Evidence: "Wentworth" is the district_name; crime against society refers to crime_against = 'Society"
SQL: SELECT SUM(CASE WHEN T1.crime_against = 'Society' THEN 1 ELSE 0 END) FROM FBI_Code AS T1 INNER JOIN Crime AS T2 ON T2.fbi_code_no = T1.fbi_code_no INNER JOIN District AS T3 ON T3.district_no = T2.district_no WHERE T3.district_name = 'Wentworth'
Database: chicago_crime
Tables: Community_Area, District, FBI_Code, IUCR, Neighborhood, Ward, Crime
Columns (table index, column name): -1, *, 0, community_area_no, 0, community_area_name, 0, side, 0, population, 1, district_no, 1, district_name, 1, address, 1, zip_code, 1, commander, 1, email, 1, phone, 1, fax, 1, tty, 1, twitter, 2, fbi_code_no, 2, title, 2, description, 2, crime_against, 3, iucr_no, 3, primary_description, 3, secondary_description, 3, index_code, 4, neighborhood_name, 4, community_area_no, 5, ward_no, 5, alderman_first_name, 5, alderman_last_name, 5, alderman_name_suffix, 5, ward_office_address, 5, ward_office_zip, 5, ward_email, 5, ward_office_phone, 5, ward_office_fax, 5, city_hall_office_room, 5, city_hall_office_phone, 5, city_hall_office_fax, 5, Population, 6, report_no, 6, case_number, 6, date, 6, block, 6, iucr_no, 6, location_description, 6, arrest, 6, domestic, 6, beat, 6, district_no, 6, ward_no, 6, community_area_no, 6, fbi_code_no, 6, latitude, 6, longitude
Question: What phone number does alderman Emma Mitts have to call if she wants to speak to the commander in charge of the investigation of the crimes that have occurred in her ward?
SQL: SELECT T3.phone FROM Ward AS T1 INNER JOIN Crime AS T2 ON T2.ward_no = T1.ward_no INNER JOIN District AS T3 ON T3.district_no = T2.district_no WHERE T1.alderman_first_name = 'Emma' AND T1.alderman_last_name = 'Mitts'
Database: chicago_crime
Tables: Community_Area, District, FBI_Code, IUCR, Neighborhood, Ward, Crime
Columns (table index, column name): -1, *, 0, community_area_no, 0, community_area_name, 0, side, 0, population, 1, district_no, 1, district_name, 1, address, 1, zip_code, 1, commander, 1, email, 1, phone, 1, fax, 1, tty, 1, twitter, 2, fbi_code_no, 2, title, 2, description, 2, crime_against, 3, iucr_no, 3, primary_description, 3, secondary_description, 3, index_code, 4, neighborhood_name, 4, community_area_no, 5, ward_no, 5, alderman_first_name, 5, alderman_last_name, 5, alderman_name_suffix, 5, ward_office_address, 5, ward_office_zip, 5, ward_email, 5, ward_office_phone, 5, ward_office_fax, 5, city_hall_office_room, 5, city_hall_office_phone, 5, city_hall_office_fax, 5, Population, 6, report_no, 6, case_number, 6, date, 6, block, 6, iucr_no, 6, location_description, 6, arrest, 6, domestic, 6, beat, 6, district_no, 6, ward_no, 6, community_area_no, 6, fbi_code_no, 6, latitude, 6, longitude
Question: How many crimes described as 'The theft of a motor vehicle' by the FBI have taken place in the Lake View community?
Evidence: lake view community refers to community_area_name = 'Lake View'; 'The theft of a motor vehicle' is the description
SQL: SELECT SUM(CASE WHEN T3.community_area_name = 'Lake View' THEN 1 ELSE 0 END) FROM FBI_Code AS T1 INNER JOIN Crime AS T2 ON T2.fbi_code_no = T1.fbi_code_no INNER JOIN Community_Area AS T3 ON T3.community_area_no = T2.community_area_no WHERE T1.description = 'The theft of a motor vehicle.'
Database: chicago_crime
Tables: Community_Area, District, FBI_Code, IUCR, Neighborhood, Ward, Crime
Columns (table index, column name): -1, *, 0, community_area_no, 0, community_area_name, 0, side, 0, population, 1, district_no, 1, district_name, 1, address, 1, zip_code, 1, commander, 1, email, 1, phone, 1, fax, 1, tty, 1, twitter, 2, fbi_code_no, 2, title, 2, description, 2, crime_against, 3, iucr_no, 3, primary_description, 3, secondary_description, 3, index_code, 4, neighborhood_name, 4, community_area_no, 5, ward_no, 5, alderman_first_name, 5, alderman_last_name, 5, alderman_name_suffix, 5, ward_office_address, 5, ward_office_zip, 5, ward_email, 5, ward_office_phone, 5, ward_office_fax, 5, city_hall_office_room, 5, city_hall_office_phone, 5, city_hall_office_fax, 5, Population, 6, report_no, 6, case_number, 6, date, 6, block, 6, iucr_no, 6, location_description, 6, arrest, 6, domestic, 6, beat, 6, district_no, 6, ward_no, 6, community_area_no, 6, fbi_code_no, 6, latitude, 6, longitude
Question: In which district have there been more intimidation-type crimes?
Evidence: more intimidation-type crime refers to Max(Count(primary_description = 'INTIMIDATION')); district refers to district_name
SQL: SELECT T3.district_name FROM IUCR AS T1 INNER JOIN Crime AS T2 ON T2.iucr_no = T1.iucr_no INNER JOIN District AS T3 ON T3.district_no = T2.district_no WHERE T1.primary_description = 'INTIMIDATION' GROUP BY T3.district_name ORDER BY COUNT(T1.primary_description) DESC LIMIT 1
Database: chicago_crime
Tables: Community_Area, District, FBI_Code, IUCR, Neighborhood, Ward, Crime
Columns (table index, column name): -1, *, 0, community_area_no, 0, community_area_name, 0, side, 0, population, 1, district_no, 1, district_name, 1, address, 1, zip_code, 1, commander, 1, email, 1, phone, 1, fax, 1, tty, 1, twitter, 2, fbi_code_no, 2, title, 2, description, 2, crime_against, 3, iucr_no, 3, primary_description, 3, secondary_description, 3, index_code, 4, neighborhood_name, 4, community_area_no, 5, ward_no, 5, alderman_first_name, 5, alderman_last_name, 5, alderman_name_suffix, 5, ward_office_address, 5, ward_office_zip, 5, ward_email, 5, ward_office_phone, 5, ward_office_fax, 5, city_hall_office_room, 5, city_hall_office_phone, 5, city_hall_office_fax, 5, Population, 6, report_no, 6, case_number, 6, date, 6, block, 6, iucr_no, 6, location_description, 6, arrest, 6, domestic, 6, beat, 6, district_no, 6, ward_no, 6, community_area_no, 6, fbi_code_no, 6, latitude, 6, longitude
Question: What types of domestic crimes have occurred the most in the North Lawndale community?
Evidence: "North Lawndale' is the community_area_name; occur the most domestic crime refers to Max(Count(domestic = 'TRUE'))
SQL: SELECT T2.domestic FROM Community_Area AS T1 INNER JOIN Crime AS T2 ON T2.community_area_no = T1.community_area_no WHERE T1.community_area_name = 'North Lawndale' AND T2.domestic = 'TRUE' GROUP BY T2.domestic ORDER BY COUNT(T2.domestic) DESC LIMIT 1
Database: chicago_crime
Tables: Community_Area, District, FBI_Code, IUCR, Neighborhood, Ward, Crime
Columns (table index, column name): -1, *, 0, community_area_no, 0, community_area_name, 0, side, 0, population, 1, district_no, 1, district_name, 1, address, 1, zip_code, 1, commander, 1, email, 1, phone, 1, fax, 1, tty, 1, twitter, 2, fbi_code_no, 2, title, 2, description, 2, crime_against, 3, iucr_no, 3, primary_description, 3, secondary_description, 3, index_code, 4, neighborhood_name, 4, community_area_no, 5, ward_no, 5, alderman_first_name, 5, alderman_last_name, 5, alderman_name_suffix, 5, ward_office_address, 5, ward_office_zip, 5, ward_email, 5, ward_office_phone, 5, ward_office_fax, 5, city_hall_office_room, 5, city_hall_office_phone, 5, city_hall_office_fax, 5, Population, 6, report_no, 6, case_number, 6, date, 6, block, 6, iucr_no, 6, location_description, 6, arrest, 6, domestic, 6, beat, 6, district_no, 6, ward_no, 6, community_area_no, 6, fbi_code_no, 6, latitude, 6, longitude
Question: In which ward of more than 55,000 inhabitants are there more crimes of intimidation with extortion?
Evidence: more than 55000 inhabitants refers to Population > 55000; 'INTIMIDATION' is the primary_description; 'EXTORTION' refers to secondary_description; more crime refers to Count(ward_no)
SQL: SELECT T3.ward_no FROM IUCR AS T1 INNER JOIN Crime AS T2 ON T2.iucr_no = T1.iucr_no INNER JOIN Ward AS T3 ON T3.ward_no = T2.ward_no WHERE T1.primary_description = 'INTIMIDATION' AND T1.secondary_description = 'EXTORTION' AND T3.Population > 55000 GROUP BY T3.ward_no ORDER BY COUNT(T3.ward_no) DESC LIMIT 1
Database: chicago_crime
Tables: Community_Area, District, FBI_Code, IUCR, Neighborhood, Ward, Crime
Columns (table index, column name): -1, *, 0, community_area_no, 0, community_area_name, 0, side, 0, population, 1, district_no, 1, district_name, 1, address, 1, zip_code, 1, commander, 1, email, 1, phone, 1, fax, 1, tty, 1, twitter, 2, fbi_code_no, 2, title, 2, description, 2, crime_against, 3, iucr_no, 3, primary_description, 3, secondary_description, 3, index_code, 4, neighborhood_name, 4, community_area_no, 5, ward_no, 5, alderman_first_name, 5, alderman_last_name, 5, alderman_name_suffix, 5, ward_office_address, 5, ward_office_zip, 5, ward_email, 5, ward_office_phone, 5, ward_office_fax, 5, city_hall_office_room, 5, city_hall_office_phone, 5, city_hall_office_fax, 5, Population, 6, report_no, 6, case_number, 6, date, 6, block, 6, iucr_no, 6, location_description, 6, arrest, 6, domestic, 6, beat, 6, district_no, 6, ward_no, 6, community_area_no, 6, fbi_code_no, 6, latitude, 6, longitude
Question: Which commander has had to deal with more cases of criminal sexual abuse?
Evidence: more cases of criminal sexual abuse refers to Max(Count(secondary_description = 'CRIMINAL SEXUAL ABUSE'))
SQL: SELECT T3.commander FROM IUCR AS T1 INNER JOIN Crime AS T2 ON T2.iucr_no = T1.iucr_no INNER JOIN District AS T3 ON T3.district_no = T2.district_no WHERE T1.secondary_description = 'CRIMINAL SEXUAL ABUSE' GROUP BY T3.commander ORDER BY COUNT(T1.secondary_description) DESC LIMIT 1
Database: chicago_crime
Tables: Community_Area, District, FBI_Code, IUCR, Neighborhood, Ward, Crime
Columns (table index, column name): -1, *, 0, community_area_no, 0, community_area_name, 0, side, 0, population, 1, district_no, 1, district_name, 1, address, 1, zip_code, 1, commander, 1, email, 1, phone, 1, fax, 1, tty, 1, twitter, 2, fbi_code_no, 2, title, 2, description, 2, crime_against, 3, iucr_no, 3, primary_description, 3, secondary_description, 3, index_code, 4, neighborhood_name, 4, community_area_no, 5, ward_no, 5, alderman_first_name, 5, alderman_last_name, 5, alderman_name_suffix, 5, ward_office_address, 5, ward_office_zip, 5, ward_email, 5, ward_office_phone, 5, ward_office_fax, 5, city_hall_office_room, 5, city_hall_office_phone, 5, city_hall_office_fax, 5, Population, 6, report_no, 6, case_number, 6, date, 6, block, 6, iucr_no, 6, location_description, 6, arrest, 6, domestic, 6, beat, 6, district_no, 6, ward_no, 6, community_area_no, 6, fbi_code_no, 6, latitude, 6, longitude
Question: What percentage of non-domestic crimes have occurred in the Jefferson Park district?
Evidence: non domestic crime refers to domestic = 'FALSE'; 'Jefferson Park' is the district_name; percentage = Divide (Count (case_number where domestic = 'FALSE'), Count(case_number)) * 100
SQL: SELECT CAST(COUNT(CASE WHEN T2.domestic = 'FALSE' THEN T2.case_number END) AS REAL) * 100 / COUNT(T2.case_number) FROM District AS T1 INNER JOIN Crime AS T2 ON T2.district_no = T1.district_no WHERE T1.district_name = 'Jefferson Park'
Database: chicago_crime
Tables: Community_Area, District, FBI_Code, IUCR, Neighborhood, Ward, Crime
Columns (table index, column name): -1, *, 0, community_area_no, 0, community_area_name, 0, side, 0, population, 1, district_no, 1, district_name, 1, address, 1, zip_code, 1, commander, 1, email, 1, phone, 1, fax, 1, tty, 1, twitter, 2, fbi_code_no, 2, title, 2, description, 2, crime_against, 3, iucr_no, 3, primary_description, 3, secondary_description, 3, index_code, 4, neighborhood_name, 4, community_area_no, 5, ward_no, 5, alderman_first_name, 5, alderman_last_name, 5, alderman_name_suffix, 5, ward_office_address, 5, ward_office_zip, 5, ward_email, 5, ward_office_phone, 5, ward_office_fax, 5, city_hall_office_room, 5, city_hall_office_phone, 5, city_hall_office_fax, 5, Population, 6, report_no, 6, case_number, 6, date, 6, block, 6, iucr_no, 6, location_description, 6, arrest, 6, domestic, 6, beat, 6, district_no, 6, ward_no, 6, community_area_no, 6, fbi_code_no, 6, latitude, 6, longitude
Question: What is the average population of the wards where apartment crimes have been reported without arrests?
Evidence: apartment crime refers to location_description = 'APARTMENT';  without arrest refers to arrest = 'FALSE'; average population = AVG(Population)
SQL: SELECT AVG(T2.Population) FROM Crime AS T1 INNER JOIN Ward AS T2 ON T2.ward_no = T1.ward_no WHERE T1.location_description = 'APARTMENT' AND T1.arrest = 'FALSE'
Database: chicago_crime
Tables: Community_Area, District, FBI_Code, IUCR, Neighborhood, Ward, Crime
Columns (table index, column name): -1, *, 0, community_area_no, 0, community_area_name, 0, side, 0, population, 1, district_no, 1, district_name, 1, address, 1, zip_code, 1, commander, 1, email, 1, phone, 1, fax, 1, tty, 1, twitter, 2, fbi_code_no, 2, title, 2, description, 2, crime_against, 3, iucr_no, 3, primary_description, 3, secondary_description, 3, index_code, 4, neighborhood_name, 4, community_area_no, 5, ward_no, 5, alderman_first_name, 5, alderman_last_name, 5, alderman_name_suffix, 5, ward_office_address, 5, ward_office_zip, 5, ward_email, 5, ward_office_phone, 5, ward_office_fax, 5, city_hall_office_room, 5, city_hall_office_phone, 5, city_hall_office_fax, 5, Population, 6, report_no, 6, case_number, 6, date, 6, block, 6, iucr_no, 6, location_description, 6, arrest, 6, domestic, 6, beat, 6, district_no, 6, ward_no, 6, community_area_no, 6, fbi_code_no, 6, latitude, 6, longitude
Question: What are the full names of the top 5 most crowded ward aldermen?
Evidence: most crowded ward refers to Max(Population); full name of alderman refers to alderman_first_name, alderman_last_name
SQL: SELECT alderman_first_name, alderman_last_name FROM Ward ORDER BY Population DESC LIMIT 5
Database: chicago_crime
Tables: Community_Area, District, FBI_Code, IUCR, Neighborhood, Ward, Crime
Columns (table index, column name): -1, *, 0, community_area_no, 0, community_area_name, 0, side, 0, population, 1, district_no, 1, district_name, 1, address, 1, zip_code, 1, commander, 1, email, 1, phone, 1, fax, 1, tty, 1, twitter, 2, fbi_code_no, 2, title, 2, description, 2, crime_against, 3, iucr_no, 3, primary_description, 3, secondary_description, 3, index_code, 4, neighborhood_name, 4, community_area_no, 5, ward_no, 5, alderman_first_name, 5, alderman_last_name, 5, alderman_name_suffix, 5, ward_office_address, 5, ward_office_zip, 5, ward_email, 5, ward_office_phone, 5, ward_office_fax, 5, city_hall_office_room, 5, city_hall_office_phone, 5, city_hall_office_fax, 5, Population, 6, report_no, 6, case_number, 6, date, 6, block, 6, iucr_no, 6, location_description, 6, arrest, 6, domestic, 6, beat, 6, district_no, 6, ward_no, 6, community_area_no, 6, fbi_code_no, 6, latitude, 6, longitude
Question: How many crime against property are there?
SQL: SELECT COUNT(*) AS cnt FROM FBI_Code WHERE crime_against = 'Property'
Database: chicago_crime
Tables: Community_Area, District, FBI_Code, IUCR, Neighborhood, Ward, Crime
Columns (table index, column name): -1, *, 0, community_area_no, 0, community_area_name, 0, side, 0, population, 1, district_no, 1, district_name, 1, address, 1, zip_code, 1, commander, 1, email, 1, phone, 1, fax, 1, tty, 1, twitter, 2, fbi_code_no, 2, title, 2, description, 2, crime_against, 3, iucr_no, 3, primary_description, 3, secondary_description, 3, index_code, 4, neighborhood_name, 4, community_area_no, 5, ward_no, 5, alderman_first_name, 5, alderman_last_name, 5, alderman_name_suffix, 5, ward_office_address, 5, ward_office_zip, 5, ward_email, 5, ward_office_phone, 5, ward_office_fax, 5, city_hall_office_room, 5, city_hall_office_phone, 5, city_hall_office_fax, 5, Population, 6, report_no, 6, case_number, 6, date, 6, block, 6, iucr_no, 6, location_description, 6, arrest, 6, domestic, 6, beat, 6, district_no, 6, ward_no, 6, community_area_no, 6, fbi_code_no, 6, latitude, 6, longitude
Question: How many districts are there in the police district building with a zip code of 60608?
Evidence: district refers to district_name
SQL: SELECT COUNT(*) AS cnt FROM District WHERE zip_code = 60608
Database: chicago_crime
Tables: Community_Area, District, FBI_Code, IUCR, Neighborhood, Ward, Crime
Columns (table index, column name): -1, *, 0, community_area_no, 0, community_area_name, 0, side, 0, population, 1, district_no, 1, district_name, 1, address, 1, zip_code, 1, commander, 1, email, 1, phone, 1, fax, 1, tty, 1, twitter, 2, fbi_code_no, 2, title, 2, description, 2, crime_against, 3, iucr_no, 3, primary_description, 3, secondary_description, 3, index_code, 4, neighborhood_name, 4, community_area_no, 5, ward_no, 5, alderman_first_name, 5, alderman_last_name, 5, alderman_name_suffix, 5, ward_office_address, 5, ward_office_zip, 5, ward_email, 5, ward_office_phone, 5, ward_office_fax, 5, city_hall_office_room, 5, city_hall_office_phone, 5, city_hall_office_fax, 5, Population, 6, report_no, 6, case_number, 6, date, 6, block, 6, iucr_no, 6, location_description, 6, arrest, 6, domestic, 6, beat, 6, district_no, 6, ward_no, 6, community_area_no, 6, fbi_code_no, 6, latitude, 6, longitude
Question: Who is the crime against criminal sexual abuse?
Evidence: "Criminal Sexual Abuse" is the title of crime
SQL: SELECT crime_against FROM FBI_Code WHERE title = 'Criminal Sexual Abuse'
Database: chicago_crime
Tables: Community_Area, District, FBI_Code, IUCR, Neighborhood, Ward, Crime
Columns (table index, column name): -1, *, 0, community_area_no, 0, community_area_name, 0, side, 0, population, 1, district_no, 1, district_name, 1, address, 1, zip_code, 1, commander, 1, email, 1, phone, 1, fax, 1, tty, 1, twitter, 2, fbi_code_no, 2, title, 2, description, 2, crime_against, 3, iucr_no, 3, primary_description, 3, secondary_description, 3, index_code, 4, neighborhood_name, 4, community_area_no, 5, ward_no, 5, alderman_first_name, 5, alderman_last_name, 5, alderman_name_suffix, 5, ward_office_address, 5, ward_office_zip, 5, ward_email, 5, ward_office_phone, 5, ward_office_fax, 5, city_hall_office_room, 5, city_hall_office_phone, 5, city_hall_office_fax, 5, Population, 6, report_no, 6, case_number, 6, date, 6, block, 6, iucr_no, 6, location_description, 6, arrest, 6, domestic, 6, beat, 6, district_no, 6, ward_no, 6, community_area_no, 6, fbi_code_no, 6, latitude, 6, longitude
Question: Which community has the highest number of neighborhoods?
Evidence: community with highest number of neighborhoods refers to Max(Count(community_area_no)); community refers to community_area_name
SQL: SELECT T1.community_area_name FROM Community_Area AS T1 INNER JOIN Neighborhood AS T2 ON T1.community_area_no = T2.community_area_no ORDER BY T2.community_area_no DESC LIMIT 1
Database: chicago_crime
Tables: Community_Area, District, FBI_Code, IUCR, Neighborhood, Ward, Crime
Columns (table index, column name): -1, *, 0, community_area_no, 0, community_area_name, 0, side, 0, population, 1, district_no, 1, district_name, 1, address, 1, zip_code, 1, commander, 1, email, 1, phone, 1, fax, 1, tty, 1, twitter, 2, fbi_code_no, 2, title, 2, description, 2, crime_against, 3, iucr_no, 3, primary_description, 3, secondary_description, 3, index_code, 4, neighborhood_name, 4, community_area_no, 5, ward_no, 5, alderman_first_name, 5, alderman_last_name, 5, alderman_name_suffix, 5, ward_office_address, 5, ward_office_zip, 5, ward_email, 5, ward_office_phone, 5, ward_office_fax, 5, city_hall_office_room, 5, city_hall_office_phone, 5, city_hall_office_fax, 5, Population, 6, report_no, 6, case_number, 6, date, 6, block, 6, iucr_no, 6, location_description, 6, arrest, 6, domestic, 6, beat, 6, district_no, 6, ward_no, 6, community_area_no, 6, fbi_code_no, 6, latitude, 6, longitude
Question: How many severe crime incidents were reported at coordinate 41.64820151, -87.54430496?
Evidence: coordinates refers to latitude, longitude; severe crime refers to index_code = 'I'
SQL: SELECT SUM(CASE WHEN T1.longitude = '-87.54430496' THEN 1 ELSE 0 END) FROM Crime AS T1 INNER JOIN IUCR AS T2 ON T1.report_no = T2.iucr_no WHERE T2.index_code = 'I' AND T1.latitude = '41.64820251'