Question: Is Johnny Green (who is a member of the New York Knicks) or Avril Lavigne taller in height?
Choices: James E. Reilly
Avril Lavigne
Johnny Green
Richard Gere
Sylvester Stallone
Paul Simon
Simon Cowell
Rahul Dev Burman
Max Fleischer
David Byrne
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Johnny Green" . ?e <member_of_sports_team> ?e_1 . ?e_1 <pred:name> "New York Knicks" .   } UNION { ?e <pred:name> "Avril Lavigne" .  } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: New York Knicks
function: Relate
dependencies: 0
inputs: member of sports team
backward
function: Find
inputs: Johnny Green
function: And
dependencies: 1
2
function: Find
inputs: Avril Lavigne
function: SelectBetween
dependencies: 3
4
inputs: height
greater
Answer: Johnny Green