Question: For what work did James Cagney receive Academy Award for Best Actor ?
Choices:
How to Play Football
Man of Conquest
The Muppet Show
The Second Civil War
The Best Exotic Marigold Hotel
Out of Africa
Yankee Doodle Dandy
The Hemingway Hoax
Mad About You
Judgment at Nuremberg
Answer: Yankee Doodle Dandy
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "James Cagney" . ?e_2 <pred:name> "Academy Award for Best Actor" . ?e_1 <award_received> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <award_received> ; <pred:fact_t> ?e_2 ] <for_work> ?qpv .  }
Program:
function: Find
inputs: James Cagney
function: Find
inputs: Academy Award for Best Actor
function: QueryRelationQualifier
dependencies: 0
1
inputs: award received
for work