Complex sentence: It serves the city of Toowoomba, which is the junction for the Western, Main and Southern lines.
Split into simpler sentences: It serves the city of Toowoomba. Toowoomba is the junction for the Western, Main and Southern lines.