Question: which country in Beersheba  has am end time of 1917-10-31?
Paraphrase: There is a country in Beersheba that has am end time of 1917-10-31, which one is it?
SPARQL (Wikidata): SELECT ?obj WHERE { wd:Q41843 p:P17 ?s . ?s ps:P17 ?obj . ?s pq:P582 ?x filter(contains(YEAR(?x),'1917')) }