What is {member of} of {John Key} that is {electoral district} is {Helensville} ?
John Key of Helensville is a part of which electoral district?
Which electoral district is John Key of Helensville apart?
SELECT ?w WHERE { resource:John_Key property:member_of ?b . ?b property:member_of ?w . ?b property:electoral_district resource:Helensville }
select distinct ?obj  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> ?obj .
?statement <http://www.wikidata.org/entity/P768> <http://wikidata.dbpedia.org/resource/Q5704055>
} 

SELECT ?obj WHERE { wd:Q57783 p:P463 ?s . ?s ps:P463 ?obj . ?s pq:P768 wd:Q5704055 }