Which is a compound sentence?

 - The subway runs beneath the streets of the city.
 - A chimpanzee escaped from the zoo, so the police are searching for it.
The first sentence is the compound sentence. It is made up of two simple sentences joined by a comma and the conjunction so.
A chimpanzee escaped from the zoo, so the police are searching for it.