Question: Who is shorter, John Madden of the Chicago Blackhawks or American football player Jack Thompson?
Choices:
William Henry Harrison
Sylvester Stallone
James E. Reilly
Simon Cowell
David Byrne
Jack Thompson
Max Fleischer
John Madden
Richard Gere
Rahul Dev Burman
Answer: John Madden
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "John Madden" . ?e <member_of_sports_team> ?e_1 . ?e_1 <pred:name> "Chicago Blackhawks" .   } UNION { ?e <pred:name> "Jack Thompson" . ?e <sport> ?e_2 . ?e_2 <pred:name> "American football" .  } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Chicago Blackhawks
function: Relate
dependencies: 0
inputs: member of sports team
backward
function: Find
inputs: John Madden
function: And
dependencies: 1
2
function: Find
inputs: American football
function: Relate
dependencies: 4
inputs: sport
backward
function: Find
inputs: Jack Thompson
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: height
less