Question: Which movie is shorter, The Maltese Falcon (the one that is the movement Pre-Code Hollywood) or Where the Wild Things Are (the one whose director is Spike Jonze)?
Choices:
Rebecca
The Maltese Falcon
Where the Wild Things Are
The Hunchback of Notre Dame
Pleasantville
Training Day
The Fifth Element
The Towering Inferno
Curse of the Golden Flower
Talk to Her
Answer: The Maltese Falcon
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Maltese Falcon" . ?e <movement> ?e_1 . ?e_1 <pred:name> "Pre-Code Hollywood" .   } UNION { ?e <pred:name> "Where the Wild Things Are" . ?e <director> ?e_2 . ?e_2 <pred:name> "Spike Jonze" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Pre-Code Hollywood
function: Relate
dependencies: 0
inputs: movement
backward
function: Find
inputs: The Maltese Falcon
function: And
dependencies: 1
2
function: Find
inputs: Spike Jonze
function: Relate
dependencies: 4
inputs: director
backward
function: Find
inputs: Where the Wild Things Are
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: duration
less