Question: Where did they film the movie in the heat of the night?

context: Although the film was set in the fictional Mississippi town of Sparta (with supposedly no connection to the real Sparta, Mississippi), most of the movie was filmed in Sparta, Illinois, where many of the film's landmarks can still be seen. The quote "They call me "Mister Tibbs!" was listed as number 16 on the American Film Institute's "100 Years...100 Movie Quotes", a list of top film quotes. In 2002, the film was selected for preservation in the United States National Film Registry by the Library of Congress as being "culturally, historically, or aesthetically significant".
question: Where did they film most of the movie in the heat of the night?
short_answers: Sparta, Illinois
context: Jewison, Poitier, and Steiger worked together and got along well during the filming, but Jewison had problems with the Southern authorities, and Poitier had reservations about coming south of the Mason–Dixon line for filming. However, despite their reservations, Jewison decided to film part of the film in Dyersburg and Union City, Tennessee, anyway while the rest was filmed in Sparta, Chester (Harvey Oberst chase scene), and Freeburg (Compton's diner), Illinois.
question: Where in Tennesse did they film part of the movie in the heat of the night?
short_answers: Union City
Dyersburg and Union City, Tennessee
Dyersburg
context: No context provided
question: Where did they film the chase scene in the movie in the heat of the night?
short_answers: Chest
Chester, Illinois
context: Jewison, Poitier, and Steiger worked together and got along well during the filming, but Jewison had problems with the Southern authorities, and Poitier had reservations about coming south of the Mason–Dixon line for filming. However, despite their reservations, Jewison decided to film part of the film in Dyersburg and Union City, Tennessee, anyway while the rest was filmed in Sparta, Chester (Harvey Oberst chase scene), and Freeburg (Compton's diner), Illinois.
question: Where did they film the Compton's diner scenes in the movie in the heat of the night?
short_answers: Freeburg
Freeburg, Illinoi

Answer: In the Heat of the Night is a 1967 American mystery drama film directed by Norman Jewison. Although the film was set in the fictional Mississippi town of Sparta, most of the movie was filmed in Sparta, Illinois, where many of the film's landmarks can still be seen. Jewison decided to film part of the film in Dyersburg and Union City, Tennessee, while the rest was filmed in Sparta, Chester (Harvey Oberst chase scene), and Freeburg (Compton's diner), Illinois.