who was the ruler of the ottoman empire in 1914