what is the {elected in} for {David Lloyd George} has {position held} as {Member of the 35th Parliament of the United Kingdom} ?
Who was elected as a Member of the 35th Parliament of the UK; a position previously held by David Lloyd George?
who is the {elected in} for {David Lloyd George} that has {position held} as {Member of the 35th Parliament of the United Kingdom} ?
SELECT ?d WHERE { ?r property:position_held resource:Member_of_the_35th_Parliament_of_the_United_Kingdom . ?r property:elected_in ?d . resource:David_Lloyd_George property:position_held ?r }
select distinct ?value  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q134982> .
?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/Q41582588> .
?statement <http://www.wikidata.org/entity/P2715> ?value. 
} 

SELECT ?value WHERE { wd:Q134982 p:P39 ?s . ?s ps:P39 wd:Q41582588 . ?s pq:P2715 ?value}