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