what is the {parliamentary term} for {Glenda Jackson} has {position held} as {Member of the 51st Parliament of the United Kingdom} ?
In what capacity did Glenda Jackson serve while she was a member of the UK Parliament?
What was the position held by Glenda Jackson when she was a Member of the 51st Parliament of the United Kingdom?
SELECT ?u WHERE { ?q property:parliamentary_term ?u . ?q property:position_held resource:Member_of_the_51st_Parliament_of_the_United_Kingdom . resource:Glenda_Jackson property:position_held ?q }
select distinct ?value  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> <http://wikidata.dbpedia.org/resource/Q41582627> .
?statement <http://www.wikidata.org/entity/P2937> ?value. 
} 

SELECT ?value WHERE { wd:Q182408 p:P39 ?s . ?s ps:P39 wd:Q41582627 . ?s pq:P2937 ?value}