What is {head of government} of {Aosta Valley} that is {start time} is {1984-1-4} ?
Give me the head of government of Aosta Valley on January4, 1984?
Who was the head of government of Aosta Valley on January 4, 1984?
SELECT ?t WHERE { ?t property:head_of_government ?t . FILTER ( CONTAINS ( YEAR ( ?p ) , '1984' ) ) . resource:Aosta_Valley property:head_of_government ?t . ?t property:start_time ?p }
select distinct ?obj  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q1222> .
?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> <1984-1-4>
} 

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