Question: Which movie is shorter, The Best Years of Our Lives or Ali (the one whose narrative location is Miami metropolitan area)?
Choices: Rebecca
Training Day
The Fifth Element
The Hunchback of Notre Dame
The Towering Inferno
A Prairie Home Companion
Pleasantville
Curse of the Golden Flower
The Best Years of Our Lives
Ali
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Best Years of Our Lives" .  } UNION { ?e <pred:name> "Ali" . ?e <narrative_location> ?e_1 . ?e_1 <pred:name> "Miami metropolitan area" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: The Best Years of Our Lives
function: Find
inputs: Miami metropolitan area
function: Relate
dependencies: 1
inputs: narrative location
backward
function: Find
inputs: Ali
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
less
Answer: Ali