sentence1: All lines have ceased to exist , except that a short section of the Charlestown line forms a part of the inverkeithing to Dunfermline line .
sentence2: All lines have ceased to exist , except that a short section of the Dunfermline line forms a part of the Charlestown - Inverkeithing line .