Question: when did the country of Baghdad end in 1621?
Paraphrase: On what date did the country of Baghdad end in 1621
SPARQL (Wikidata): SELECT ?obj WHERE { wd:Q1530 p:P17 ?s . ?s ps:P17 ?obj . ?s pq:P582 ?x filter(contains(YEAR(?x),'1621')) }