Question: Is Dwyane Wade or is John Spencer of the Greenock Morton F.C. shorter?
Choices:
Richard Gere
Sylvester Stallone
Rahul Dev Burman
Paul Simon
John Spencer
David Byrne
Max Fleischer
James E. Reilly
William Henry Harrison
Simon Cowell
Program:
function: Find
inputs: Dwyane Wade
function: Find
inputs: Greenock Morton 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
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Dwyane Wade" .  } UNION { ?e <pred:name> "John Spencer" . ?e <member_of_sports_team> ?e_1 . ?e_1 <pred:name> "Greenock Morton F.C." .   } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: John Spencer