Question: Who is shorter, Joe Jackson who lives in Memphis or Kim Basinger?
Choices: Paul Simon
Max Fleischer
Rahul Dev Burman
Sylvester Stallone
Joe Jackson
Kim Basinger
Richard Gere
William Henry Harrison
James E. Reilly
David Byrne
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Joe Jackson" . ?e <residence> ?e_1 . ?e_1 <pred:name> "Memphis" .   } UNION { ?e <pred:name> "Kim Basinger" .  } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Memphis
function: Relate
dependencies: 0
inputs: residence
backward
function: Find
inputs: Joe Jackson
function: And
dependencies: 1
2
function: Find
inputs: Kim Basinger
function: SelectBetween
dependencies: 3
4
inputs: height
less
Answer: Kim Basinger