what is the {start time} for {Jerusalem} has {head of government} as {Daniel Auster} ?
Which year did Daniel Auster win the Jerusalem mayoral race.
When did Daniel Auster become Mayor of Jerusalem?
SELECT ?r WHERE { ?t property:head_of_government resource:Daniel_Auster . ?t property:start_time ?r . resource:Jerusalem property:head_of_government ?t }
select distinct ?value  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q1218> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P6> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q676953> .
?statement <http://www.wikidata.org/entity/P580> ?value. 
} 

SELECT ?value WHERE { wd:Q1218 p:P6 ?s . ?s ps:P6 wd:Q676953 . ?s pq:P580 ?value}