What is {head of government} of {Atlanta} that is {start time} is {2002-0-0} ?
What person was the Mayor of Atlanta starting in 2002?
Who was the Mayor of Atlanta starting in 2002?
SELECT ?u WHERE { ?s property:head_of_government ?u . resource:Atlanta property:head_of_government ?s . ?s property:start_time ?n . FILTER ( CONTAINS ( YEAR ( ?n ) , '2002' ) ) }
select distinct ?obj  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q23556> .
?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> ?obj .
?statement <http://www.wikidata.org/entity/P580> <2002-0-0>
} 

SELECT ?obj WHERE { wd:Q23556 p:P6 ?s . ?s ps:P6 ?obj . ?s pq:P580 ?x filter(contains(YEAR(?x),'2002')) }