Question: What is the { end time } for { Bergamo } as { Italian Republic }?
Paraphrase: At what time Bergamo ceased being part of Italian Republic?
SPARQL (Wikidata): SELECT ?value WHERE { wd:Q628 p:P17 ?s . ?s ps:P17 wd:Q723118 . ?s pq:P582 ?value}