What is {position held} of {Glenda Jackson} and {elected in}
When and to which office was Glenda Jackson chosen to?
When and to which office was Glenda Jackson elected to?
SELECT ?d ?x WHERE { resource:Glenda_Jackson property:position_held ?p . ?p property:elected_in ?d . . ?p property:position_held ?x }
select distinct ?dataprop1 ?obj where { ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q182408> . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P39> . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?obj . ?statement <http://www.wikidata.org/entity/P580> ?dataprop1 . } 
SELECT ?value1 ?obj WHERE { wd:Q182408 p:P39 ?s . ?s ps:P39 ?obj . ?s pq:P2715 ?value1 . }