Original: Yass had the nearest railway station on the Sydney Melbourne railway to serve the national capital at Canberra.
Simplified: Yass Junction was the nearest railway station on the Sydney Melbourne railway to serve the national capital at Canberra.