question: Who had control over Iraq before it was recaptured in 1639 ?
answer: the Safavids
turker_answer: The Safavids had control over Iraq before it was recaptured in 1639 .
rule-based: The Safavids had control over Iraq before it was recaptured in 1639 .