qnli question: What Empire neighbored and had a rivalry with Safavid Iran? sentence: The centuries-long geopolitical and ideological rivalry between Safavid Iran and the neighboring Ottoman Empire, led to numerous Ottoman–Persian Wars.