Question: Ted Stevens was in what branch of the military until when?
Paraphrase: Ted Stevens was in what department of the military until when?
SPARQL (Wikidata): SELECT ?value1 ?obj WHERE { wd:Q50599 p:P241 ?s . ?s ps:P241 ?obj . ?s pq:P582 ?value1 . }