Question: Which movie is shorter in length, Whip It or Paddington (the one that has Julie Walters as a cast member)?
Choices:
Pleasantville
Curse of the Golden Flower
The Towering Inferno
A Prairie Home Companion
Training Day
Rebecca
Paddington
Whip It
Talk to Her
The Fifth Element
Program:
function: Find
inputs: Whip It
function: Find
inputs: Julie Walters
function: Relate
dependencies: 1
inputs: cast member
backward
function: Find
inputs: Paddington
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Whip It" .  } UNION { ?e <pred:name> "Paddington" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Julie Walters" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Paddington