Question: Does Empire of the Sun (the one whose production company is Warner Bros.) or Wedding Crashers has lesser duration ?
Choices:
Pleasantville
Empire of the Sun
Rebecca
Curse of the Golden Flower
Wedding Crashers
A Prairie Home Companion
The Fifth Element
Training Day
The Hunchback of Notre Dame
The Towering Inferno
Program:
function: Find
inputs: Warner Bros.
function: Relate
dependencies: 0
inputs: production company
backward
function: Find
inputs: Empire of the Sun
function: And
dependencies: 1
2
function: Find
inputs: Wedding Crashers
function: SelectBetween
dependencies: 3
4
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Empire of the Sun" . ?e <production_company> ?e_1 . ?e_1 <pred:name> "Warner Bros." .   } UNION { ?e <pred:name> "Wedding Crashers" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Wedding Crashers