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