What is {nominated for} of {Laurence Olivier} that is {statement is subject of} is {12th Academy Awards} ?
Laurence Olivier was nominated for what at the 12th annual Academy Awards?
What was Laurence Olivier nominated for at the 12th Academy Awards?
SELECT ?g WHERE { ?r property:nominated_for ?g . ?r property:statement_is_subject_of resource:12th_Academy_Awards . resource:Laurence_Olivier property:nominated_for ?r }
select distinct ?obj  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q55245> .
?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/Q508513>
} 

SELECT ?obj WHERE { wd:Q55245 p:P1411 ?s . ?s ps:P1411 ?obj . ?s pq:P805 wd:Q508513 }