Question: Who is shorter: Magic Johnson or John Spencer (the one that is a member of Rangers F.C.)?
Choices: Sylvester Stallone
Richard Gere
Simon Cowell
Magic Johnson
James E. Reilly
Max Fleischer
William Henry Harrison
Rahul Dev Burman
David Byrne
John Spencer
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Magic Johnson" .  } UNION { ?e <pred:name> "John Spencer" . ?e <member_of_sports_team> ?e_1 . ?e_1 <pred:name> "Rangers F.C." .   } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Magic Johnson
function: Find
inputs: Rangers F.C.
function: Relate
dependencies: 1
inputs: member of sports team
backward
function: Find
inputs: John Spencer
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: height
less
Answer: John Spencer