What is {nominated for} of {The Sound of Music} that is {nominee} is {Julie Andrews} ?
Name of award Julie Andrews was nominated for in The Sound of Music?
What Julie Andrews was nominated for The Sound of Music?
SELECT ?g WHERE { ?r property:nominated_for ?g . resource:The_Sound_of_Music property:nominated_for ?r . ?r property:nominee resource:Julie_Andrews }
select distinct ?obj  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q60072> .
?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/P2453> <http://wikidata.dbpedia.org/resource/Q161819>
} 

SELECT ?obj WHERE { wd:Q60072 p:P1411 ?s . ?s ps:P1411 ?obj . ?s pq:P2453 wd:Q161819 }