What is {position held} of {Julia Gillard} that is {start time} is {2010-6-24} ?
What position did Julia Gillard hold beginning in June 24th, 2010?
SELECT ?obj WHERE { wd:Q41563 p:P39 ?s . ?s ps:P39 ?obj . ?s pq:P580 ?x filter(contains(YEAR(?x),'2010')) }
select distinct ?obj  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q41563> .
?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> <2010-6-24>
} 

On June 24th, 2010 Julia Gillard held which position?