Question: For which work was Tom McCarthy (the one that has the occupation of film producer) nominated for Academy Award for Best Director ?
Choices:
Denmark–Norway relations
Germany–Palau relations
Cuba–Tuvalu relations
Israel–United Kingdom relations
North Carolina–South Carolina border
Armenia–European Union relations
88th Academy Awards
Colombia–Ecuador relations
Czechoslovakia–Soviet Union relations
Germany–Jamaica relations
Program:
function: Find
inputs: film producer
function: Relate
dependencies: 0
inputs: occupation
backward
function: Find
inputs: Tom McCarthy
function: And
dependencies: 1
2
function: Find
inputs: Academy Award for Best Director
function: QueryRelationQualifier
dependencies: 3
4
inputs: nominated for
statement is subject of
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Tom McCarthy" . ?e_1 <occupation> ?e_3 . ?e_3 <pred:name> "film producer" . ?e_2 <pred:name> "Academy Award for Best Director" . ?e_1 <nominated_for> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_2 ] <statement_is_subject_of> ?qpv .  }
Answer: 88th Academy Awards