Question: What time did the country of Ravenna in the Republic of Venice end?
Paraphrase: The country of Ravenna in the Republic of Venice was terminated in what year?
SPARQL (Wikidata): SELECT ?value WHERE { wd:Q13364 p:P17 ?s . ?s ps:P17 wd:Q4948 . ?s pq:P582 ?value}