Question: Which work was William Joyce (the one that was nominated for Academy Award for Best Animated Short Film) nominated for Academy Award for Best Animated Short Film for ?
Choices: Junebug
Images
King Gimp
All Quiet on the Western Front
The Turning Point
Drive, He Said
Rabbit at Rest
Midnight in Paris
The Actress
The Fantastic Flying Books of Mr. Morris Lessmore
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "William Joyce" . ?e_1 <nominated_for> ?e_3 . ?e_3 <pred:name> "Academy Award for Best Animated Short Film" . ?e_2 <pred:name> "Academy Award for Best Animated Short Film" . ?e_1 <nominated_for> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_2 ] <for_work> ?qpv .  }
Program:
function: Find
inputs: Academy Award for Best Animated Short Film
function: Relate
dependencies: 0
inputs: nominated for
backward
function: Find
inputs: William Joyce
function: And
dependencies: 1
2
function: Find
inputs: Academy Award for Best Animated Short Film
function: QueryRelationQualifier
dependencies: 3
4
inputs: nominated for
for work
Answer: The Fantastic Flying Books of Mr. Morris Lessmore