Question: Which movie is shorter, Hilary and Jackie or Montana (the one whose composer is David Buttolph)?
Choices:
Hilary and Jackie
The Fifth Element
Training Day
The Towering Inferno
Montana
Talk to Her
Curse of the Golden Flower
Pleasantville
Rebecca
The Hunchback of Notre Dame
Answer: Montana
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Hilary and Jackie" .  } UNION { ?e <pred:name> "Montana" . ?e <composer> ?e_1 . ?e_1 <pred:name> "David Buttolph" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Hilary and Jackie
function: Find
inputs: David Buttolph
function: Relate
dependencies: 1
inputs: composer
backward
function: Find
inputs: Montana
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
less