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