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