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