Question: When Nikola Pašić ended his position as Prime Minister of Serbia?
SPARQL (Wikidata): SELECT ?value WHERE { wd:Q313843 p:P39 ?s . ?s ps:P39 wd:Q835586 . ?s pq:P582 ?value}