Question: Which movie is shorter, The Merry Widow (the one that origins from France) or Infernal Affairs II?
Choices: The Hunchback of Notre Dame
A Prairie Home Companion
Pleasantville
Training Day
Curse of the Golden Flower
The Merry Widow
Infernal Affairs II
Talk to Her
The Fifth Element
The Towering Inferno
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Merry Widow" . ?e <country_of_origin> ?e_1 . ?e_1 <pred:name> "France" .   } UNION { ?e <pred:name> "Infernal Affairs II" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: France
function: Relate
dependencies: 0
inputs: country of origin
backward
function: Find
inputs: The Merry Widow
function: And
dependencies: 1
2
function: Find
inputs: Infernal Affairs II
function: SelectBetween
dependencies: 3
4
inputs: duration
less
Answer: The Merry Widow