Question: When did Pisa stop having the Grand Duchy of Tuscany?
Paraphrase: When did the Grand Duchy of Tuscany cease in Pisa?
SPARQL (Wikidata): SELECT ?value WHERE { wd:Q13375 p:P17 ?s . ?s ps:P17 wd:Q154849 . ?s pq:P582 ?value}