Question: Which position of Julius Nyerere was came to an end in the year 1985?
Paraphrase: Which position did Julius Nyerere held had ended in 1985?
SPARQL (Wikidata): SELECT ?obj WHERE { wd:Q186525 p:P39 ?s . ?s ps:P39 ?obj . ?s pq:P582 ?x filter(contains(YEAR(?x),'1985')) }