Input (grade 4): Karachi is linked by rail to the rest of the country by Pakistan Railways.
Output (grade 2): Karachi is linked by railway to the rest of Pakistan.