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