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