Complex sentence: The first section, from İzmir to Seydiköy, was opened on October 30,1858 and was the first railway in Anatolia and in the Ottoman Empire, the second in the Middle East after the Alexandria to Cairo line in Egypt (opened in 1856).
Split into simpler sentences: The first section, from İzmir to Seydiköy, was opened on October 30,1858. This was the first railway in Anatolia and in present-day Turkey, and the second railway in the Ottoman Empire and the Middle East after the Alexandria to Cairo line in the Ottoman eyalet of Egypt (opened in 1856).