What is {head of government} of {Nizhny Novgorod} that is {start time} is {2015-10-7} ?
What government did Nizhny Novgorod head in 2015?
For what body of government was Nizhny Novgorod the head starting on October 7, 2015?
SELECT ?o WHERE { ?r property:start_time ?d . FILTER ( CONTAINS ( YEAR ( ?d ) , '2015' ) ) . ?r property:head_of_government ?o . resource:Nizhny_Novgorod property:head_of_government ?r }
select distinct ?obj  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q891> .
?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> <2015-10-7>
} 

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