Question: Which has a longer run time, The Good Shepherd or Yuma, which was nominated for an Academy Award for Best Original Score?
Choices:
Pleasantville
The Fifth Element
The Hunchback of Notre Dame
The Good Shepherd
Curse of the Golden Flower
Rebecca
Talk to Her
3:10 to Yuma
Training Day
The Towering Inferno
Program:
function: Find
inputs: The Good Shepherd
function: Find
inputs: Academy Award for Best Original Score
function: Relate
dependencies: 1
inputs: nominated for
backward
function: Find
inputs: 3:10 to Yuma
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Good Shepherd" .  } UNION { ?e <pred:name> "3:10 to Yuma" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> "Academy Award for Best Original Score" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: The Good Shepherd