What is {position held} of {Kevin Rudd} and {elected in}
What is Kevin Rudd's position and when has he been elected?
What position does Kevin Rudd hold and when was he elected?
SELECT ?u ?g WHERE { ?x property:position_held ?g . ?x property:elected_in ?u . . resource:Kevin_Rudd property:position_held ?x }
select distinct ?dataprop1 ?obj where { ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q43135> . ?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:Q43135 p:P39 ?s . ?s ps:P39 ?obj . ?s pq:P2715 ?value1 . }