Question: Who is taller, Junichi Inamoto or John Abraham (the one that is a member of Atlanta Falcons)?
Choices:
Rahul Dev Burman
Max Fleischer
John Abraham
Junichi Inamoto
Richard Gere
James E. Reilly
William Henry Harrison
Sylvester Stallone
David Byrne
Paul Simon
Program:
function: Find
inputs: Junichi Inamoto
function: Find
inputs: Atlanta Falcons
function: Relate
dependencies: 1
inputs: member of sports team
backward
function: Find
inputs: John Abraham
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: height
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Junichi Inamoto" .  } UNION { ?e <pred:name> "John Abraham" . ?e <member_of_sports_team> ?e_1 . ?e_1 <pred:name> "Atlanta Falcons" .   } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: John Abraham