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