What is {award received} of {Edwin Hubble} that is {point in time} is {1939-1-1} ?
On January 1st, 1939 which was the award given the Edwin Hubble.
What award did Edwin Hubble receive on January 1st, 1939?
SELECT ?e WHERE { FILTER ( CONTAINS ( YEAR ( ?d ) , '1939' ) ) . ?k property:award_received ?e . resource:Edwin_Hubble property:award_received ?k . ?k property:point_in_time ?d }
select distinct ?obj  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q43027> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P166> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?obj .
?statement <http://www.wikidata.org/entity/P585> <1939-1-1>
} 

SELECT ?obj WHERE { wd:Q43027 p:P166 ?s . ?s ps:P166 ?obj . ?s pq:P585 ?x filter(contains(YEAR(?x),'1939')) }