What is {nominated for} of {Peter Sellers} that is {statement is subject of} is {37th Academy Awards} ?
Which award was Peter Sellers nominated for at the 37th Academy Awards?
What awarded Peter Sellers was nominated for at 37th Academy Awards?
SELECT ?n WHERE { ?s property:nominated_for ?n . ?s property:statement_is_subject_of resource:37th_Academy_Awards . resource:Peter_Sellers property:nominated_for ?s }
select distinct ?obj  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q177984> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P1411> .
?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/Q917138>
} 

SELECT ?obj WHERE { wd:Q177984 p:P1411 ?s . ?s ps:P1411 ?obj . ?s pq:P805 wd:Q917138 }