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