What is {heritage designation} of {Lascaux} that is {start time} is {1979-0-0} ?
Where in Lascaux has a famous heritage designation?
Which location in Lascaux is famous as a heritage designation?
SELECT ?r WHERE { resource:Lascaux property:heritage_designation ?s . FILTER ( CONTAINS ( YEAR ( ?h ) , '1979' ) ) . ?s property:heritage_designation ?r . ?s property:start_time ?h }
select distinct ?obj  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q172125> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P1435> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?obj .
?statement <http://www.wikidata.org/entity/P580> <1979-0-0>
} 

SELECT ?obj WHERE { wd:Q172125 p:P1435 ?s . ?s ps:P1435 ?obj . ?s pq:P580 ?x filter(contains(YEAR(?x),'1979')) }