A Turkish court has sentenced Selahattin Demirtas, a popular Kurdish politician who challenged Recept Tayyip Erdogan in the presidential election, to almost five years in prison on terrorism charges, in a case the European Union has said may flout democratic values. (FT)