Hi John
That data isn't Open Data yet. Some people, e.g. Tom Cairns at RealTimeTrains, have signed some kind of commercial agreement with TOCs to share the data, but I don't think this scales.
RDG also have a platform in the Industry Data Portal (IDP) called 'Connecting Train Identifiers' (CTI), but again, this isn't open and I gather access to it is rather difficult to get.
Peter Hicks
Director
OpenTrainTimes Ltd.
OpenTrainTimes Ltd. registered in England and Wales, company no. 09504022.
Registered office: Suite 1-3, Hop Exchange, 24 Southwark Street, London SE1 1TY