Question: Which is longer, The Pride of the Yankees or Star Trek which was nominated for a BAFTA Award for Best Sound?
Choices:
Curse of the Golden Flower
Talk to Her
The Hunchback of Notre Dame
A Prairie Home Companion
The Towering Inferno
Rebecca
The Fifth Element
The Pride of the Yankees
Training Day
Pleasantville
Program:
function: Find
inputs: The Pride of the Yankees
function: Find
inputs: BAFTA Award for Best Sound
function: Relate
dependencies: 1
inputs: nominated for
backward
function: Find
inputs: Star Trek
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Pride of the Yankees" .  } UNION { ?e <pred:name> "Star Trek" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> "BAFTA Award for Best Sound" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: The Pride of the Yankees