What is {represents} and {electoral district} of {{John Key} has {member of} as {51st New Zealand Parliament}}
Which electoral district was represented by John Key who was a member of the 51st New Zealand Parliament?
John Key who was a member of 51st New Zealand Parliament represented which electoral district?
SELECT ?i ?l WHERE { ?k property:member_of resource:51st_New_Zealand_Parliament . resource:John_Key property:member_of ?k . ?k property:represents ?i . ?k property:electoral_district ?l }
select distinct ?value1 ?value2 where { ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q57783> . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P463> . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q4640115>. ?statement <http://www.wikidata.org/entity/P580> ?value1 . ?statement <http://www.wikidata.org/entity/P2842> ?value2 } 
SELECT ?value1 ?value2 WHERE { wd:Q57783 p:P463 ?s . ?s ps:P463 wd:Q4640115 . ?s pq:P1268 ?value1 . ?s pq:P768 ?value2 }