Question: Which movie is shorter, Miracle on 34th Street (the one whose composer is Bruce Broughton) or The Brothers Grimm?
Choices:
Curse of the Golden Flower
The Brothers Grimm
The Hunchback of Notre Dame
Rebecca
Training Day
The Towering Inferno
The Fifth Element
Pleasantville
Miracle on 34th Street
A Prairie Home Companion
Answer: Miracle on 34th Street
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Miracle on 34th Street" . ?e <composer> ?e_1 . ?e_1 <pred:name> "Bruce Broughton" .   } UNION { ?e <pred:name> "The Brothers Grimm" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Bruce Broughton
function: Relate
dependencies: 0
inputs: composer
backward
function: Find
inputs: Miracle on 34th Street
function: And
dependencies: 1
2
function: Find
inputs: The Brothers Grimm
function: SelectBetween
dependencies: 3
4
inputs: duration
less