Question: Who is shorter in height, the Mars Attacks! cast member Jim Brown, or David Beckham?
Choices: David Beckham
Richard Gere
Sylvester Stallone
Simon Cowell
Jim Brown
James E. Reilly
Paul Simon
David Byrne
Rahul Dev Burman
Max Fleischer
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Jim Brown" . ?e_1 <cast_member> ?e . ?e_1 <pred:name> "Mars Attacks!" .   } UNION { ?e <pred:name> "David Beckham" .  } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Mars Attacks!
function: Relate
dependencies: 0
inputs: cast member
forward
function: Find
inputs: Jim Brown
function: And
dependencies: 1
2
function: Find
inputs: David Beckham
function: SelectBetween
dependencies: 3
4
inputs: height
less
Answer: David Beckham