Complex sentence: It runs through Brisbane's northern suburbs to Caboolture, and connects to the Sunshine Coast via the North Coast line, and connects with the Ipswich line south-west of Brisbane.
Split into simpler sentences: It runs through Brisbane's northern suburbs to Caboolture, and connects to the Sunshine Coast via the North Coast line. It connects with the Ipswich line which runs south-west of Brisbane.