Question: Which was longer, In the Bedroom or Bolt (released in Poland)?
Choices:
The Towering Inferno
In the Bedroom
Rebecca
A Prairie Home Companion
Talk to Her
The Fifth Element
Pleasantville
Curse of the Golden Flower
The Hunchback of Notre Dame
Training Day
Answer: In the Bedroom
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "In the Bedroom" .  } UNION { ?e <pred:name> "Bolt" . ?e <film_release_region> ?e_1 . ?e_1 <pred:name> "Poland" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: In the Bedroom
function: Find
inputs: Poland
function: Relate
dependencies: 1
inputs: film release region
backward
function: Find
inputs: Bolt
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
greater