What is {award received} of {Orson Scott Card} that is {point in time} is {1987-0-0} ?
Tell me the award Orson Scott Card received in 1987.
What award did Orson Scott Card receive in 1987?
SELECT ?v WHERE { ?l property:point_in_time ?l . resource:Orson_Scott_Card property:award_received ?l . FILTER ( CONTAINS ( YEAR ( ?l ) , '1987' ) ) . ?l property:award_received ?v }
select distinct ?obj  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q217110> .
?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:Q217110 p:P166 ?s . ?s ps:P166 ?obj . ?s pq:P585 ?x filter(contains(YEAR(?x),'1987')) }