What is {award received} of {Rajesh Khanna} that is {point in time} is {1987-0-0} ?
Which prize was awarded to Rajesh Khanna in 1987?
Which award was given to Rajesh Khanna in the year 1987?
SELECT ?i WHERE { FILTER ( CONTAINS ( YEAR ( ?l ) , '1987' ) ) . ?c property:point_in_time ?l . ?c property:award_received ?i . resource:Rajesh_Khanna property:award_received ?c }
select distinct ?obj  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q107130> .
?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:Q107130 p:P166 ?s . ?s ps:P166 ?obj . ?s pq:P585 ?x filter(contains(YEAR(?x),'1987')) }