Few survive, some just in fragments: In the 15th century, the Mamluk sultan in Cairo built up the city’s carpet workshops. The large masterpieces they produced soon graced palaces—notably in Italy and Spain.