Question: Tell me the one who is taller, Stephen Jackson (whose position is shooting guard) or Novak Djokovic.
Choices:
Max Fleischer
Rahul Dev Burman
James E. Reilly
Simon Cowell
Paul Simon
Stephen Jackson
David Byrne
Richard Gere
Novak Djokovic
Sylvester Stallone
Program:
function: Find
inputs: shooting guard
function: Relate
dependencies: 0
inputs: position played on team / speciality
backward
function: Find
inputs: Stephen Jackson
function: And
dependencies: 1
2
function: Find
inputs: Novak Djokovic
function: SelectBetween
dependencies: 3
4
inputs: height
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Stephen Jackson" . ?e <position_played_on_team_/_speciality> ?e_1 . ?e_1 <pred:name> "shooting guard" .   } UNION { ?e <pred:name> "Novak Djokovic" .  } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Stephen Jackson