Question: Which work of Republican Party member Steve McQueen was nominated for an Academy Award for Best Actor?
Choices:
Training Day
The Bridge on the River Kwai
Heat Wave
Prime Suspect
Operator 13
The Sand Pebbles
Doo Wop
Munich
Man of La Mancha
The Machine That Changed the World
Program:
function: Find
inputs: Republican Party
function: Relate
dependencies: 0
inputs: member of political party
backward
function: Find
inputs: Steve McQueen
function: And
dependencies: 1
2
function: Find
inputs: Academy Award for Best Actor
function: QueryRelationQualifier
dependencies: 3
4
inputs: nominated for
for work
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Steve McQueen" . ?e_1 <member_of_political_party> ?e_3 . ?e_3 <pred:name> "Republican Party" . ?e_2 <pred:name> "Academy Award for Best Actor" . ?e_1 <nominated_for> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_2 ] <for_work> ?qpv .  }
Answer: The Sand Pebbles