Question: Which movie is shorter, Million Dollar Baby (the one that received 77th Academy Awards) or Going My Way (the one that was nominated for Academy Award for Best Writing, Adapted Screenplay)?
Choices:
The Hunchback of Notre Dame
Talk to Her
The Fifth Element
Curse of the Golden Flower
Million Dollar Baby
A Prairie Home Companion
Rebecca
Pleasantville
Going My Way
Training Day
Program:
function: Find
inputs: 77th Academy Awards
function: Relate
dependencies: 0
inputs: award received
backward
function: Find
inputs: Million Dollar Baby
function: And
dependencies: 1
2
function: Find
inputs: Academy Award for Best Writing, Adapted Screenplay
function: Relate
dependencies: 4
inputs: nominated for
backward
function: Find
inputs: Going My Way
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Million Dollar Baby" . ?e <award_received> ?e_1 . ?e_1 <pred:name> "77th Academy Awards" .   } UNION { ?e <pred:name> "Going My Way" . ?e <nominated_for> ?e_2 . ?e_2 <pred:name> "Academy Award for Best Writing, Adapted Screenplay" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Million Dollar Baby