What is {elected in} and {electoral district} of {{Edmund Barton} has {position held} as {Member of the Australian House of Representatives}}
Which constituent area Edmund Barton was eletected by when holding a position as the Part of the Australian House of Representatives?
Which electoral district Edmund Barton was eletected by when holding a position as the Member of the Australian House of Representatives?
SELECT ?l ?k WHERE { resource:Edmund_Barton property:position_held ?x . ?x property:position_held resource:Member_of_the_Australian_House_of_Representatives . ?x property:electoral_district ?k . ?x property:elected_in ?l }
select distinct ?value1 ?value2 where { ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q23342> . ?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/Q18912794>. ?statement <http://www.wikidata.org/entity/P580> ?value1 . ?statement <http://www.wikidata.org/entity/P2842> ?value2 } 
SELECT ?value1 ?value2 WHERE { wd:Q23342 p:P39 ?s . ?s ps:P39 wd:Q18912794 . ?s pq:P2715 ?value1 . ?s pq:P768 ?value2 }