Question: Who has a greater height, Tony Bennett (an Indianapolis Colts member) or Michael Jordan (a participant of the 1984 Summer Olympics)?
Choices: David Byrne
James E. Reilly
Tony Bennett
Simon Cowell
Paul Simon
William Henry Harrison
Michael Jordan
Richard Gere
Sylvester Stallone
Max Fleischer
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Tony Bennett" . ?e <member_of_sports_team> ?e_1 . ?e_1 <pred:name> "Indianapolis Colts" .   } UNION { ?e <pred:name> "Michael Jordan" . ?e <participant_of> ?e_2 . ?e_2 <pred:name> "1984 Summer Olympics" .  } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Indianapolis Colts
function: Relate
dependencies: 0
inputs: member of sports team
backward
function: Find
inputs: Tony Bennett
function: And
dependencies: 1
2
function: Find
inputs: 1984 Summer Olympics
function: Relate
dependencies: 4
inputs: participant of
backward
function: Find
inputs: Michael Jordan
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: height
greater
Answer: Michael Jordan