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