What is {position held} of {Bob Hawke} and {electoral district}
What electoral district is Bob Hawke in and what is his position?
What electoral district is Bob Hawke in and what is his position?
SELECT ?n ?u WHERE { resource:Bob_Hawke property:position_held ?c . ?c property:electoral_district ?n . . ?c property:position_held ?u }
select distinct ?dataprop1 ?obj where { ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q269372> . ?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> ?obj . ?statement <http://www.wikidata.org/entity/P580> ?dataprop1 . } 
SELECT ?value1 ?obj WHERE { wd:Q269372 p:P39 ?s . ?s ps:P39 ?obj . ?s pq:P768 ?value1 . }