Between the 8th and 14th centuries, cities like Baghdad, Cordoba and Cairo shaped the intellectual direction of humanity.