Question: When did Marrakesh become a city in Morocco?
Paraphrase: On what date was Marrakesh incorporated into Morocco?
SPARQL (Wikidata): SELECT ?value WHERE { wd:Q101625 p:P17 ?s . ?s ps:P17 wd:Q1028 . ?s pq:P580 ?value}