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