Question: Is Rear Window, with Hal Pereira as designer, or 2046 the shorter work?
Choices:
Pleasantville
The Hunchback of Notre Dame
2046
Rebecca
The Towering Inferno
A Prairie Home Companion
Talk to Her
Training Day
Rear Window
The Fifth Element
Answer: Rear Window
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Rear Window" . ?e <production_designer> ?e_1 . ?e_1 <pred:name> "Hal Pereira" .   } UNION { ?e <pred:name> "2046" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Hal Pereira
function: Relate
dependencies: 0
inputs: production designer
backward
function: Find
inputs: Rear Window
function: And
dependencies: 1
2
function: Find
inputs: 2046
function: SelectBetween
dependencies: 3
4
inputs: duration
less