The European Parliament has ruled that 1915 mass killings of some 1.5 million Armenians by the Istanbul-ruled Ottoman Empire amount to genocide.