The European Parliament elected Italian socialist lawmaker David Sassoli on Wednesday as its speaker for the next 2-1/2 years.