What is {head of government} of {Poznań} that is {start time} is {2014-0-0} ?
Give me the name of the person who headed government of Poznań in 2014?
Who was the head of government of Poznań in 2014?
SELECT ?o WHERE { FILTER ( CONTAINS ( YEAR ( ?e ) , '2014' ) ) . resource:Poznań property:head_of_government ?d . ?d property:start_time ?e . ?d property:head_of_government ?o }
select distinct ?obj  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q268> .
?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> <2014-0-0>
} 

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