What is {award received} of {Marvin Hamlisch} that is {statement is subject of} is {46th Academy Awards} ?
At the 46th Academy Awards, what award did Marvin Hamlisch win?
What award did Marvin Hamlisch win at the 46th Academy Awards?
SELECT ?l WHERE { ?t property:statement_is_subject_of resource:46th_Academy_Awards . ?t property:award_received ?l . resource:Marvin_Hamlisch property:award_received ?t }
select distinct ?obj  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q337206> .
?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/P805> <http://wikidata.dbpedia.org/resource/Q570921>
} 

SELECT ?obj WHERE { wd:Q337206 p:P166 ?s . ?s ps:P166 ?obj . ?s pq:P805 wd:Q570921 }