Question: Which is shorter, Waterloo, produced by Dino De Laurentiis or Team America: World Police?
Choices:
Talk to Her
The Fifth Element
Team America: World Police
Training Day
The Towering Inferno
A Prairie Home Companion
Curse of the Golden Flower
Pleasantville
Rebecca
Waterloo
Program:
function: Find
inputs: Dino De Laurentiis
function: Relate
dependencies: 0
inputs: producer
backward
function: Find
inputs: Waterloo
function: And
dependencies: 1
2
function: Find
inputs: Team America: World Police
function: SelectBetween
dependencies: 3
4
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Waterloo" . ?e <producer> ?e_1 . ?e_1 <pred:name> "Dino De Laurentiis" .   } UNION { ?e <pred:name> "Team America: World Police" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Team America: World Police