Question: What is shorter, Wyatt Earp directed by Lawrence Kasdan, or Jane Eyre released in Argentina?
Choices:
A Prairie Home Companion
The Towering Inferno
Rebecca
The Hunchback of Notre Dame
Curse of the Golden Flower
Wyatt Earp
Pleasantville
Training Day
The Fifth Element
Jane Eyre
Answer: Jane Eyre
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Wyatt Earp" . ?e <director> ?e_1 . ?e_1 <pred:name> "Lawrence Kasdan" .   } UNION { ?e <pred:name> "Jane Eyre" . ?e <film_release_region> ?e_2 . ?e_2 <pred:name> "Argentina" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Lawrence Kasdan
function: Relate
dependencies: 0
inputs: director
backward
function: Find
inputs: Wyatt Earp
function: And
dependencies: 1
2
function: Find
inputs: Argentina
function: Relate
dependencies: 4
inputs: film release region
backward
function: Find
inputs: Jane Eyre
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: duration
less