Question: When was John F. Kennedy the United States representative?
Paraphrase: What date was John F. Kennedy a United States representative?
SPARQL (Wikidata): SELECT ?value WHERE { wd:Q9696 p:P39 ?s . ?s ps:P39 wd:Q13218630 . ?s pq:P582 ?value}