Question: What position does John F. Kennedy hold and what position was he elected in?
Paraphrase: What position does John F. Kennedy hold and what position was he chosen in?
SPARQL (Wikidata): SELECT ?value1 ?obj WHERE { wd:Q9696 p:P39 ?s . ?s ps:P39 ?obj . ?s pq:P2715 ?value1 . }