What is {award received} of {J. M. Coetzee} that is {point in time} is {1987-0-0} ?
What award did J.M. coetzee win in 1987?
what is award received of J.M. coetzee that is point in time is 1987-0-0?
SELECT ?t WHERE { resource:J._M._Coetzee property:award_received ?d . ?d property:award_received ?t . FILTER ( CONTAINS ( YEAR ( ?q ) , '1987' ) ) . ?d property:point_in_time ?q }
select distinct ?obj  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q43293> .
?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> <1987-0-0>
} 

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