what is the {statement is subject of} for {Cecil B. DeMille} has {nominated for} as {Academy Award for Best Picture} ?
Cecil B. DeMille was nominated for Academy Award for Best Picture for what film?
Which film was Cecil B. DeMille nominated for Academy Award for Best Picture?
SELECT ?q WHERE { resource:Cecil_B._DeMille property:nominated_for ?i . ?i property:statement_is_subject_of ?q . ?i property:nominated_for resource:Academy_Award_for_Best_Picture }
select distinct ?value  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q72267> .
?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> <http://wikidata.dbpedia.org/resource/Q102427> .
?statement <http://www.wikidata.org/entity/P805> ?value. 
} 

SELECT ?value WHERE { wd:Q72267 p:P1411 ?s . ?s ps:P1411 wd:Q102427 . ?s pq:P805 ?value}