Question: Which movie has a longer runtime, The Lookout or Out of Africa (the one that was nominated for Academy Award for Best Costume Design)?
Choices:
Pleasantville
Talk to Her
Rebecca
Curse of the Golden Flower
Out of Africa
The Hunchback of Notre Dame
Training Day
The Lookout
The Towering Inferno
A Prairie Home Companion
Answer: Out of Africa
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Lookout" .  } UNION { ?e <pred:name> "Out of Africa" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> "Academy Award for Best Costume Design" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: The Lookout
function: Find
inputs: Academy Award for Best Costume Design
function: Relate
dependencies: 1
inputs: nominated for
backward
function: Find
inputs: Out of Africa
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
greater