Question: Which movie is shorter, New York Stories or Final Destination (the one whose release region is United States of America)?
Choices:
The Hunchback of Notre Dame
Rebecca
The Towering Inferno
Pleasantville
New York Stories
Talk to Her
The Fifth Element
A Prairie Home Companion
Curse of the Golden Flower
Final Destination
Answer: Final Destination
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "New York Stories" .  } UNION { ?e <pred:name> "Final Destination" . ?e <film_release_region> ?e_1 . ?e_1 <pred:name> "United States of America" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: New York Stories
function: Find
inputs: United States of America
function: Relate
dependencies: 1
inputs: film release region
backward
function: Find
inputs: Final Destination
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
less