Question: Which movie is shorter, Dick Tracy (the one whose distributor is RKO Pictures) or Richard III (the one whose release region is Sweden)?
Choices: A Prairie Home Companion
Pleasantville
The Fifth Element
Rebecca
Richard III
Dick Tracy
The Hunchback of Notre Dame
Curse of the Golden Flower
The Towering Inferno
Training Day
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Dick Tracy" . ?e <distributor> ?e_1 . ?e_1 <pred:name> "RKO Pictures" .   } UNION { ?e <pred:name> "Richard III" . ?e <film_release_region> ?e_2 . ?e_2 <pred:name> "Sweden" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: RKO Pictures
function: Relate
dependencies: 0
inputs: distributor
backward
function: Find
inputs: Dick Tracy
function: And
dependencies: 1
2
function: Find
inputs: Sweden
function: Relate
dependencies: 4
inputs: film release region
backward
function: Find
inputs: Richard III
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: duration
less
Answer: Dick Tracy