Question: Which {electoral district} {elected in} {{John F. Kennedy} has {position held} as {United States senator}}?
SPARQL (Wikidata): SELECT ?value1 ?value2 WHERE { wd:Q9696 p:P39 ?s . ?s ps:P39 wd:Q13217683 . ?s pq:P768 ?value1 . ?s pq:P2715 ?value2 }