Question: Who was he leader of Niamey until 1970?
Paraphrase: Name the leader of Niamey until 1970
SPARQL (Wikidata): SELECT ?obj WHERE { wd:Q3674 p:P6 ?s . ?s ps:P6 ?obj . ?s pq:P582 ?x filter(contains(YEAR(?x),'1970')) }