What is {head of government} of {Curitiba} that is {start time} is {2013-1-1} ?
In 2013 who was in charge of Curitibar?
Who was the leader of Curitiba in 2013?
SELECT ?d WHERE { FILTER ( CONTAINS ( YEAR ( ?y ) , '2013' ) ) . ?i property:start_time ?y . ?i property:head_of_government ?d . resource:Curitiba property:head_of_government ?i }
select distinct ?obj  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q4361> .
?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> <2013-1-1>
} 

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