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