Which is a compound sentence?

 - Coffee beans are the seeds of the coffee plant.
 - The airport is closed, so we will have to take the train.
The second sentence is the compound sentence. It is made up of two simple sentences joined by a comma and the conjunction so.
The airport is closed, so we will have to take the train.