Question: Does Mike Myers (the one whose position is center) or Natalie Portman have greater height?
Choices:
Mike Myers
Paul Simon
James E. Reilly
Sylvester Stallone
Max Fleischer
William Henry Harrison
Simon Cowell
Richard Gere
Rahul Dev Burman
Natalie Portman
Program:
function: Find
inputs: center
function: Relate
dependencies: 0
inputs: position played on team / speciality
backward
function: Find
inputs: Mike Myers
function: And
dependencies: 1
2
function: Find
inputs: Natalie Portman
function: SelectBetween
dependencies: 3
4
inputs: height
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Mike Myers" . ?e <position_played_on_team_/_speciality> ?e_1 . ?e_1 <pred:name> "center" .   } UNION { ?e <pred:name> "Natalie Portman" .  } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Mike Myers