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