Question: Who is shorter: John Abraham of the New York Jets or Jonathan Walters?
Choices:
Paul Simon
Jonathan Walters
James E. Reilly
Max Fleischer
Richard Gere
Sylvester Stallone
David Byrne
John Abraham
Simon Cowell
Rahul Dev Burman
Program:
function: Find
inputs: New York Jets
function: Relate
dependencies: 0
inputs: member of sports team
backward
function: Find
inputs: John Abraham
function: And
dependencies: 1
2
function: Find
inputs: Jonathan Walters
function: SelectBetween
dependencies: 3
4
inputs: height
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "John Abraham" . ?e <member_of_sports_team> ?e_1 . ?e_1 <pred:name> "New York Jets" .   } UNION { ?e <pred:name> "Jonathan Walters" .  } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Jonathan Walters