Chinastark/bird_dataset huggingface dataset:
Database: chicago_crime
Question: In the South side community, what is the name of the community with the most reported incidents of unlawful taking, carrying, leading, or riding away of property from the possession or constructive possession of another person?
Evidence: "unlawful taking, carrying, leading, or riding away of property from the possession or constructive possession of another person" is the description; name of community refer to community_area_name; most reported incidents refers to Max(Count(fbi_code_no))
SQL: SELECT T3.community_area_name FROM FBI_Code AS T1 INNER JOIN Crime AS T2 ON T1.fbi_code_no = T2.fbi_code_no INNER JOIN Community_Area AS T3 ON T2.community_area_no = T3.community_area_no WHERE T3.side = 'South' AND T1.description = 'The unlawful taking, carrying, leading, or riding away of property FROM the possession or constructive possession of another person.' GROUP BY T3.community_area_name ORDER BY COUNT(T1.fbi_code_no) DESC LIMIT 1
Database: chicago_crime
Question: How many crime against society were reported in Englewood?
Evidence: "Englewood" is the community_area_name; 'Society' is the crime_against
SQL: SELECT SUM(CASE WHEN T3.community_area_name = 'Englewood' THEN 1 ELSE 0 END) FROM FBI_Code AS T1 INNER JOIN Crime AS T2 ON T1.fbi_code_no = T2.fbi_code_no INNER JOIN Community_Area AS T3 ON T2.community_area_no = T3.community_area_no WHERE T1.crime_against = 'Society'
Database: chicago_crime
Question: What is the weekly average number of fraud incidents that were reported in January 2018? Provide the description of the location where the majority of fraud incidents occurred in the said month.
Evidence: fraud incident refers to title = 'Fraud'; reported in January 2018 refers to Substr(date, 1, 1) = '1' AND Substr(date, 5, 4) = '2018'; description of location refers to location_description; weekly average refers to Divide (Count(report_no), 4); majority of incidents occurred refers to Max(Count(location_description))
SQL: SELECT CAST(COUNT(T1.fbi_code_no) AS REAL) / 4 FROM FBI_Code AS T1 INNER JOIN Crime AS T2 ON T1.fbi_code_no = T2.fbi_code_no WHERE SUBSTR(T2.date, 1, 1) = '1' AND SUBSTR(T2.date, 5, 4) = '2018'
Database: chicago_crime
Question: Please list any three community areas with a population of more than 50,000.
Evidence: population of more than 50000 refers to Population > 50000; community area refers to community_area_name
SQL: SELECT community_area_name FROM Community_Area WHERE population > 50000 LIMIT 3
Database: chicago_crime
Question: What are the communities that are grouped together on the central side?
Evidence: central side refers to side = 'Central'; community refers to community_area_name
SQL: SELECT community_area_name FROM Community_Area WHERE side = 'Central'
Database: chicago_crime
Question: What is the difference between the number of communities that are located on the north and south sides with a population of more than 30,000?
Evidence: population of more than 30000 refers to Population > 30000; 'North' and 'South' both are the side; different number of community refers to Subtract(Count(Community_area_no where side = 'South'), Count(Community_area_no where side = 'North'))
SQL: SELECT SUM(CASE WHEN side = 'South ' THEN 1 ELSE 0 END) - SUM(CASE WHEN side = 'North' THEN 1 ELSE 0 END) AS DIFF FROM Community_Area WHERE population > 300000
Database: chicago_crime
Question: Please list all of the contact information for the police district Near West.
Evidence: "Near West" is the district_name; all contact information refers to phone, fax, tty, twitter
SQL: SELECT phone, fax, tty, twitter FROM District WHERE district_name = 'Near West'
Database: chicago_crime
Question: Who is responsible for crime cases in district Lincoln?
Evidence: "Lincoln" is the district_name; responsible for crime case refers to commander
SQL: SELECT commander FROM District WHERE district_name = 'Lincoln'
Database: chicago_crime
Question: What is the general and specific description of incident 275?
Evidence: incident 275 refers to iucr_no = 275; general description refers to primary_description; specific description refers to secondary_description
SQL: SELECT primary_description, secondary_description FROM IUCR WHERE iucr_no = 275
Database: chicago_crime
Question: What is the percentage of severe cases that are related to sexual assault?
Evidence: related to sexual assault refers to primary_description = 'CRIME SEXUAL ASSAULT'; severe case refers to index_code = 'I'; percentage = Divide (Count (iucr_no where primary_description = 'CRIME SEXUAL ASSAULT'), Count (iucr_no)) * 100
SQL: SELECT CAST(SUM(CASE WHEN primary_description = 'CRIM SEXUAL ASSAULT' THEN 1 ELSE 0 END) AS REAL) * 100 / COUNT(*) FROM IUCR WHERE index_code = 'I'
Database: chicago_crime
Question: What are the neighborhoods that are located in the North Center community area?
Evidence: "North Center" is the community_area_name; neighborhoods refers to neighborhood_name
SQL: SELECT T2.neighborhood_name FROM Community_Area AS T1 INNER JOIN Neighborhood AS T2 ON T1.community_area_no = T2.community_area_no WHERE T1.community_area_name = 'North Center'
Database: chicago_crime
Question: How many neighborhoods can be found in the Forest Glen community area?
Evidence: "Forest Glen" is the community_area_name; neighborhoods refers to neighborhood_name
SQL: SELECT SUM(CASE WHEN T2.community_area_name = 'Forest Glen' THEN 1 ELSE 0 END) FROM Neighborhood AS T1 INNER JOIN Community_Area AS T2 ON T1.community_area_no = T2.community_area_no
Database: chicago_crime
Question: What is the total population of the neighborhoods Avondale Gardens, Irving Park, Kilbourn Park, Merchant Park, Old Irving Park, and The Villa?
Evidence: "Avoladale Gardens", "Irving Park", "Kilbourn Park", "Merchant Park", "Old Irving Park", "The Villa" are neighborhood_name; total population refers to Sum(Population)
SQL: SELECT SUM(T2.population) AS sum FROM Neighborhood AS T1 INNER JOIN Community_Area AS T2 ON T1.community_area_no = T2.community_area_no WHERE T1.neighborhood_name = 'Avondale Gardens' OR T1.neighborhood_name = 'Irving Park' OR T1.neighborhood_name = 'Kilbourn Park' OR T1.neighborhood_name = 'Merchant Park' OR T1.neighborhood_name = 'Old Irving Park' OR T1.neighborhood_name = 'The Villa'
Database: chicago_crime
Question: How many crime cases have been classified as "Weapons Violation" by the FBI?
Evidence: "Weapons Violation" is the title of crime; crime cases refers to report_no;
SQL: SELECT SUM(CASE WHEN T2.title = 'Weapons Violation' THEN 1 ELSE 0 END) FROM Crime AS T1 INNER JOIN FBI_Code AS T2 ON T1.fbi_code_no = T2.fbi_code_no
Database: chicago_crime
Question: Please list any three criminal sexual assault cases against persons where the criminals have been arrested.
Evidence: "Criminal Sexual Assault" is the title of crime; against person refers to crime_against = 'Persons'; criminals have been arrested refers to arrest = 'TRUE'; cases refers to case_number
SQL: SELECT T2.case_number FROM FBI_Code AS T1 INNER JOIN Crime AS T2 ON T1.fbi_code_no = T2.fbi_code_no WHERE T1.title = 'Criminal Sexual Assault' AND T2.arrest = 'TRUE' AND T1.crime_against = 'Persons' LIMIT 3
Database: chicago_crime
Question: Please state the district name where incident number JB106545 took place.
Evidence: incident number JB106545 refers to case_number = 'JB106545'
SQL: SELECT T1.case_number FROM Crime AS T1 INNER JOIN FBI_Code AS T2 ON T1.fbi_code_no = T2.fbi_code_no WHERE T2.title = 'Criminal Sexual Assault' AND T2.crime_against = 'Persons' AND T1.arrest = 'TRUE' LIMIT 3
Database: chicago_crime
Question: What is the general description for case number JB106010?
Evidence: general description refers to primary_description
SQL: SELECT T1.primary_description FROM IUCR AS T1 INNER JOIN Crime AS T2 ON T1.iucr_no = T2.iucr_no WHERE T2.case_number = 'JB106010'
Database: chicago_crime
Question: Please name three communities that experience the fraud incident.
Evidence: communities refers to community_area_name; 'Fraud Incident' is the title of crime
SQL: SELECT T3.community_area_name FROM FBI_Code AS T1 INNER JOIN Crime AS T2 ON T1.fbi_code_no = T2.fbi_code_no INNER JOIN Community_Area AS T3 ON T2.community_area_no = T3.community_area_no WHERE T1.title = 'Criminal Sexual Assault' LIMIT 3
Database: chicago_crime
Question: What was the major type of crime that happened in the Rogers Park community area?
Evidence: "Rogers Park" is the community_area_name; major type of crime refers to title
SQL: SELECT T1.fbi_code_no, T1.title FROM FBI_Code AS T1 INNER JOIN Crime AS T2 ON T1.fbi_code_no = T2.fbi_code_no INNER JOIN Community_Area AS T3 ON T2.community_area_no = T3.community_area_no WHERE T3.community_area_name = 'Rogers Park' GROUP BY T1.fbi_code_no, T1.title
Database: chicago_crime
Question: At which district did the multiple homicide case number JB120039 occurred?
Evidence: multiple homicide refers to Count(case_number) > 1; district refers to district_name
SQL: SELECT T1.district_no, T1.district_name FROM District AS T1 INNER JOIN Crime AS T2 ON T1.district_no = T2.district_no WHERE T2.case_number = 'JB120039' GROUP BY T1.district_no, T1.district_name
Database: chicago_crime
Question: What is the percentage of crime cases that have been classified as "drug abuse" by the FBI and happened on the street?
Evidence: "Drug Abuse" is the title of crime; happened on the street refers to location_description = 'STREET';  percentage = Divide (Count(fbi_code_no where location_description = 'STREET'), Count(fbi_code_no)) * 100
SQL: SELECT CAST(SUM(CASE WHEN T2.title = 'Drug Abuse' AND T1.location_description = 'STREET' THEN 1 ELSE 0 END) AS REAL) * 100 / COUNT(T1.fbi_code_no) FROM Crime AS T1 INNER JOIN FBI_Code AS T2 ON T1.fbi_code_no = T2.fbi_code_no
Database: chicago_crime
Question: Provide the ward number with the highest population.
Evidence: highest population refers to Max(Population); ward number refers to ward_no
SQL: SELECT ward_no FROM Ward ORDER BY Population DESC LIMIT 1
Database: chicago_crime
Question: What is the beat and location description of the case JB112212?
Evidence: case JB112212 refers to case_number = 'JB112212'
SQL: SELECT beat, location_description FROM Crime WHERE case_number = 'JB112212'
Database: chicago_crime
Question: Give the FBI code for the crime described by "The killing of one human being by another."
Evidence: "The killing of one human being by another" is the description; FBI code refers to fbi_code_no
SQL: SELECT fbi_code_no FROM FBI_Code WHERE description = 'The killing of one human being by another.'
Database: chicago_crime
Question: Provide at least 5 ward office addresses associated with the crimes that happened in the community of Montclare.
Evidence: "Montclare" is the community_area_name
SQL: SELECT T3.ward_office_address FROM Community_Area AS T1 INNER JOIN Crime AS T2 ON T1.community_area_no = T2.community_area_no INNER JOIN Ward AS T3 ON T2.ward_no = T3.ward_no WHERE T1.community_area_name = 'Montclare' GROUP BY T3.ward_office_address LIMIT 5
Database: chicago_crime
Question: List down the district's commander associated with the crime that happened at the yard and has a beat of 532.
Evidence: beat of 532 refers to beat = 532; happened in the Yard refers to location_description = 'YARD'; district commander refers to commander
SQL: SELECT T2.address, T2.commander FROM Crime AS T1 INNER JOIN District AS T2 ON T1.district_no = T2.district_no WHERE T1.location_description = 'YARD' AND T1.beat = 532
Database: chicago_crime
Question: What is the neighborhood name in the community area of Lake View?
Evidence: "Lake View" is the community_area_name
SQL: SELECT T2.neighborhood_name FROM Community_Area AS T1 INNER JOIN Neighborhood AS T2 ON T1.community_area_no = T2.community_area_no WHERE T1.community_area_name = 'Lake View'
Database: chicago_crime
Question: Name the neighborhood of the community area in crime with report number 23843?
Evidence: neighborhood refers to neighborhood_name; '23778' is the report_no
SQL: SELECT T3.neighborhood_name FROM Community_Area AS T1 INNER JOIN Crime AS T2 ON T1.community_area_no = T2.community_area_no INNER JOIN Neighborhood AS T3 ON T2.community_area_no = T3.community_area_no WHERE T2.report_no = 23778
Database: chicago_crime
Question: What is the FBI description of the crime for report number 23778?
Evidence: "23778" is the report_no; FBI description refers to description
SQL: SELECT T1.description FROM FBI_Code AS T1 INNER JOIN Crime AS T2 ON T1.fbi_code_no = T2.fbi_code_no WHERE T2.report_no = 23843
Database: chicago_crime
Question: List down the report number of crimes associated with the district commander named Jill M. Stevens.
Evidence: report number refers report_no; 'Jill M. Stevens" is the commander
SQL: SELECT SUM(CASE WHEN T1.commander = 'Jill M. Stevens' THEN 1 ELSE 0 END) FROM District AS T1 INNER JOIN Crime AS T2 ON T1.district_no = T2.district_no
Database: chicago_crime
Question: Among the crimes happened in the neighborhood called "Avalon Park", what is the percentage of crimes that happened inside the house?
Evidence: "Avalon Park" is the neghborhood_name; happened inside the house refers to location_description = 'HOUSE'; percentage = Divide (Count(location_description = 'HOUSE'), Count(location_description)) * 100
SQL: SELECT CAST(SUM(CASE WHEN T2.location_description = 'HOUSE' THEN 1 ELSE 0 END) AS REAL) * 100 / COUNT(T2.location_description) AS persent FROM Community_Area AS T1 INNER JOIN Crime AS T2 ON T1.community_area_no = T2.community_area_no INNER JOIN Neighborhood AS T3 ON T2.community_area_no = T3.community_area_no WHERE T3.neighborhood_name = 'Avalon Park'
Database: chicago_crime
Question: What is the full name of the alderman of ward no.21?
Evidence: full name of alderman refers to alderman_first_name, alderman_last_name, alderman_name_suffix
SQL: SELECT alderman_first_name, alderman_last_name, alderman_name_suffix FROM Ward WHERE ward_no = 21
Database: chicago_crime
Question: What is the ward ID of the most crowded ward?
Evidence: most crowded ward refers to Max(Population)
SQL: SELECT ward_no FROM Ward ORDER BY Population DESC LIMIT 1
Database: chicago_crime
Question: How many incidents have the general description of "ASSAULT" in the IUCR classification?
Evidence: general description refers to primary_description; 'ASSAULT' is the primary_description; incidents refers to iucr_no
SQL: SELECT COUNT(*) FROM IUCR WHERE primary_description = 'ASSAULT'
Database: chicago_crime
Question: How many incidents are considered "severe" in the IUCR classification?
Evidence: severe refers to index_code = 'I'; incidents refers to iucr_no
SQL: SELECT COUNT(*) FROM IUCR WHERE index_code = 'I'
Database: chicago_crime
Question: Among the crimes with no arrest made, how many of them happened in the ward represented by alderman Pat Dowell?
Evidence: no arrest has been made refers to arrest = 'FALSE'
SQL: SELECT SUM(CASE WHEN T1.alderman_last_name = 'Dowell' THEN 1 ELSE 0 END) FROM Ward AS T1 INNER JOIN Crime AS T2 ON T1.ward_no = T2.ward_no WHERE T2.arrest = 'FALSE' AND T1.alderman_first_name = 'Pat'
Database: chicago_crime
Question: Which alderman represents the ward with the most number of crimes in January, 2018? Please give his or her full name.
Evidence: in January 2018 refers to Substr(date, 1, 1) = '1' AND Substr(date, 5, 4) = '2018'; ward with the most number of crime refers to Max (Count(ward_no)); full name refers to alderman_first_name, alderman_last_name, alderman_name_suffix
SQL: SELECT T1.ward_no, T1.alderman_first_name, T1.alderman_last_name, T1.alderman_name_suffix FROM Ward AS T1 INNER JOIN Crime AS T2 ON T1.ward_no = T2.ward_no WHERE SUBSTR(T2.date, 1, 1) = '1' AND SUBSTR(T2.date, 5, 4) = '2018' GROUP BY T1.ward_no ORDER BY COUNT(T1.ward_no) DESC LIMIT 1
Database: chicago_crime
Question: Among the crimes in the ward with the most population, how many of them are cases of domestic violence?
Evidence: most population refers to Max(Population); domestic violence refers to domestic = 'TRUE'
SQL: SELECT COUNT(T1.ward_no) AS num FROM Ward AS T1 INNER JOIN Crime AS T2 ON T1.ward_no = T2.ward_no WHERE T2.domestic = 'TRUE' ORDER BY T1.Population = ( SELECT Population FROM Ward ORDER BY Population DESC LIMIT 1 )
Database: chicago_crime
Question: Please list the location coordinates of all the incidents that had happened in the ward represented by alderman Pat Dowell.
Evidence: location coordinates refers to latitude, longitude
SQL: SELECT T2.latitude, T2.longitude FROM Ward AS T1 INNER JOIN Crime AS T2 ON T1.ward_no = T2.ward_no WHERE T1.alderman_first_name = 'Pat' AND T1.alderman_last_name = 'Dowell' AND T2.latitude IS NOT NULL AND T2.longitude IS NOT NULL
Database: chicago_crime
Question: The ward represented by which alderman had more incidents in January, 2018, Pat Dowell or Sophia King?
Evidence: January, 2018 refers to Substr(date, 1, 1) = '1' AND Substr(date, 5, 4) = '2018'; had more incidents refers to Max(Count(ward_no))
SQL: SELECT T1.alderman_first_name, T1.alderman_last_name, COUNT(T1.ward_no) AS num FROM Ward AS T1 INNER JOIN Crime AS T2 ON T1.ward_no = T2.ward_no WHERE (SUBSTR(T2.date, 1, 1) = '1' AND SUBSTR(T2.date, 5, 4) = '2018' AND T1.alderman_first_name = 'Pat' AND T1.alderman_last_name = 'Dowell') OR (T1.alderman_first_name = 'Sophia' AND T1.alderman_last_name = 'King') GROUP BY T1.ward_no
Database: chicago_crime
Question: Please list the case numbers of all the incidents with the generic description of "BATTERY" in the IUCR classification.
Evidence: general description refers to primary_description; 'BATTERY' is the primary_description
SQL: SELECT T2.case_number FROM IUCR AS T1 INNER JOIN Crime AS T2 ON T1.iucr_no = T2.iucr_no WHERE T1.primary_description = 'BATTERY'
Database: chicago_crime
Question: Among the incidents with the generic description of "BATTERY" in the IUCR classification, how many of them do not have arrests made?
Evidence: general description refers to primary_description; 'BATTERY' is the primary_description; do not have arrest made refers to arrest = 'FALSE'
SQL: SELECT SUM(CASE WHEN T2.arrest = 'FALSE' THEN 1 ELSE 0 END) FROM IUCR AS T1 INNER JOIN Crime AS T2 ON T1.iucr_no = T2.iucr_no WHERE T1.primary_description = 'BATTERY'
Database: chicago_crime
Question: Please list the case numbers of all the crimes whose short description of the kind of crime is "Homicide 1st & 2nd Degree" in the FBI classification.
Evidence: "Homicide 1st & 2nd Degree" is the title
SQL: SELECT T2.case_number FROM FBI_Code AS T1 INNER JOIN Crime AS T2 ON T1.fbi_code_no = T2.fbi_code_no WHERE T1.title = 'Homicide 1st & 2nd Degree'
Database: chicago_crime
Question: Among the incidents in January, 2018, how many of them were stated "against Property" in the FBI classification?
Evidence: in January 2018 refers to Substr(date, 1, 1) = '1' AND Substr(date, 5, 4) = '2018'; against property refers to crime_against = 'Property'
SQL: SELECT SUM(CASE WHEN SUBSTR(T2.date, 5, 4) = '2018' THEN 1 ELSE 0 END) FROM FBI_Code AS T1 INNER JOIN Crime AS T2 ON T1.fbi_code_no = T2.fbi_code_no WHERE T1.crime_against = 'Property' AND SUBSTR(T2.date, 1, 1) = '1'
Database: chicago_crime
Question: District commander Robert A. Rubio was responsible for how many incidents in January, 2018?
Evidence: in January 2018 refers to Substr(date, 1, 1) = '1' AND Substr(date, 5, 4) = '2018'
SQL: SELECT SUM(CASE WHEN SUBSTR(T2.date, 5, 4) = '2018' THEN 1 ELSE 0 END) FROM District AS T1 INNER JOIN Crime AS T2 ON T1.district_no = T2.district_no WHERE T1.commander = 'Robert A. Rubio' AND SUBSTR(T2.date, 1, 1) = '1'
Database: chicago_crime
Question: Which district commander was responsible for more incidents in January, 2018, Robert A. Rubio or Glenn White?
Evidence: in January 2018 refers to Substr(date, 1, 1) = '1' AND Substr(date, 5, 4) = '2018'; 'Robert A. Rubio' and 'Glenn White' are both commander; responsible for more incident refers to Max(count(ward_no))
SQL: SELECT T1.commander FROM District AS T1 INNER JOIN Crime AS T2 ON T1.district_no = T2.district_no WHERE T1.commander IN ('Robert A. Rubio', 'Glenn White') AND SUBSTR(T2.date, 1, 1) = '1' AND SUBSTR(T2.date, 5, 4) = '2018' GROUP BY T1.commander
Database: chicago_crime
Question: Please list the blocks where all the incidents in the district commanded by Robert A. Rubio took place.
Evidence: "Robert A. Rubio" is the commander
SQL: SELECT T2.block FROM District AS T1 INNER JOIN Crime AS T2 ON T1.district_no = T2.district_no WHERE T1.commander = 'Robert A. Rubio'
Database: chicago_crime
Question: What is the average number of incidents per month in 2018 in the ward with the most population?
Evidence: in 2018 refers to date like '%2018%'; ward with most population refers to Max(Population); average number of incident per month refers to Divide(Count(ward_no), 12)
SQL: SELECT COUNT(T1.ward_no) / 12 AS average FROM Ward AS T1 INNER JOIN Crime AS T2 ON T1.ward_no = T2.ward_no WHERE T2.date LIKE '%2018%' AND T1.Population = ( SELECT MAX(T1.Population) FROM Ward AS T1 INNER JOIN Crime AS T2 ON T1.ward_no = T2.ward_no WHERE T2.date LIKE '%2018%' )
Database: chicago_crime
Question: Among all the incidents with no arrest made, what is the percentage of them having a generic description of "BATTERY" in the IUCR classification?
Evidence: incident with no arrest made refers to arrest = 'FALSE'; general description refers to primary_description; "BATTERY" is the primary_description; percentage = Divide (Count(iucr_no where primary_description = 'BATTERY'), Count(iucr_no)) * 100
SQL: SELECT CAST(SUM(CASE WHEN T1.primary_description = 'BATTERY' THEN 1 ELSE 0 END) AS REAL) * 100 / COUNT(*)FROM IUCR AS T1 INNER JOIN Crime AS T2 ON T1.iucr_no = T2.iucr_no WHERE T2.arrest = 'FALSE'
Database: food_inspection
Question: How many restaurants' owners are in California?
Evidence: restaurants' owners in California refer to owner_state = 'CA';
SQL: SELECT COUNT(owner_state) FROM businesses WHERE owner_state = 'CA'
Database: food_inspection
Question: How many restaurants have met all requirements in the inspection?
Evidence: met all requirements in the inspection refers to score = 100;
SQL: SELECT COUNT(score) FROM inspections WHERE score = 100
Database: food_inspection
Question: Among the inspections carried out in 2016, how many of them are routine?
Evidence: inspections carried out in 2016 refer to YEAR(date) = 2016; routine inspections refer to type = 'Routine - Unscheduled';
SQL: SELECT COUNT(`date`) FROM inspections WHERE STRFTIME('%Y', `date`) = '2016' AND type = 'Routine - Unscheduled'
Database: food_inspection
Question: Please list the names of all the restaurants that have met all requirements in one inspection.
Evidence: met all requirements refers to inspections where score = 100;
SQL: SELECT DISTINCT T2.name FROM inspections AS T1 INNER JOIN businesses AS T2 ON T1.business_id = T2.business_id WHERE T1.score = 100
Database: food_inspection
Question: Among the restaurants being inspected in 2016, how many of them are in San Francisco?
Evidence: inspected in 2016 refers to YEAR(date) = 2016; San Francisco refers to city in ('San Francisco', 'SF' ,'S.F.', 'SAN FRANCISCO');
SQL: SELECT COUNT(DISTINCT T2.business_id) FROM inspections AS T1 INNER JOIN businesses AS T2 ON T1.business_id = T2.business_id WHERE STRFTIME('%Y', T1.`date`) = '2016' AND T2.city IN ('San Francisco', 'SAN FRANCISCO', 'SF', 'S.F.')
Database: food_inspection
Question: What was the type of inspection Tiramisu Kitchen had on 2014/1/14?
Evidence: Tiramisu Kitchen is the name of the business; inspection on 2014/1/14 refers to date = '2014-01-14';
SQL: SELECT T1.type FROM inspections AS T1 INNER JOIN businesses AS T2 ON T1.business_id = T2.business_id WHERE T1.`date` = '2014-01-14' AND T2.name = 'Tiramisu Kitchen'
Database: food_inspection
Question: How many low risk violations were found in the inspection on 2014/1/14 for Tiramisu Kitchen?
Evidence: Tiramisu Kitchen is the name of the business; inspection on 2014/1/14 refers to date = '2014-01-14'; low risk violations refer to risk_category = 'Low Risk';
SQL: SELECT COUNT(T1.business_id) FROM violations AS T1 INNER JOIN businesses AS T2 ON T1.business_id = T2.business_id WHERE T1.`date` = '2014-01-14' AND T2.name = 'Tiramisu Kitchen' AND T1.risk_category = 'Low Risk'