Question: Which movie is shorter, The Guns of Navarone or Jonah Hex (the one whose release region is United States of America)?
Choices:
Pleasantville
Training Day
The Fifth Element
A Prairie Home Companion
Talk to Her
Jonah Hex
Curse of the Golden Flower
The Hunchback of Notre Dame
The Guns of Navarone
Rebecca
Program:
function: Find
inputs: The Guns of Navarone
function: Find
inputs: United States of America
function: Relate
dependencies: 1
inputs: film release region
backward
function: Find
inputs: Jonah Hex
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Guns of Navarone" .  } UNION { ?e <pred:name> "Jonah Hex" . ?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
Answer: Jonah Hex