Question: When was James Callaghan elected as a Member of the 40th Parliament of the United Kingdom?
SPARQL (Wikidata): SELECT ?value1 ?value2 WHERE { wd:Q9576 p:P39 ?s . ?s ps:P39 wd:Q41582603 . ?s pq:P2715 ?value1 . ?s pq:P1534 ?value2 }