Question: Which movie is shorter, Savages (the one whose release region is Finland) or Oklahoma! (the one that received National Film Registry)?
Choices:
Rebecca
A Prairie Home Companion
Savages
Curse of the Golden Flower
Pleasantville
The Hunchback of Notre Dame
The Towering Inferno
Talk to Her
The Fifth Element
Training Day
Program:
function: Find
inputs: Finland
function: Relate
dependencies: 0
inputs: film release region
backward
function: Find
inputs: Savages
function: And
dependencies: 1
2
function: Find
inputs: National Film Registry
function: Relate
dependencies: 4
inputs: award received
backward
function: Find
inputs: Oklahoma!
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Savages" . ?e <film_release_region> ?e_1 . ?e_1 <pred:name> "Finland" .   } UNION { ?e <pred:name> "Oklahoma!" . ?e <award_received> ?e_2 . ?e_2 <pred:name> "National Film Registry" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Savages