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