Question: Is Ron Carter (who is a member of the Los Angeles Lakers) or Rory Fallon taller in height?
Choices:
Sylvester Stallone
Ron Carter
Richard Gere
Rory Fallon
Paul Simon
Rahul Dev Burman
Simon Cowell
James E. Reilly
William Henry Harrison
Max Fleischer
Program:
function: Find
inputs: Los Angeles Lakers
function: Relate
dependencies: 0
inputs: member of sports team
backward
function: Find
inputs: Ron Carter
function: And
dependencies: 1
2
function: Find
inputs: Rory Fallon
function: SelectBetween
dependencies: 3
4
inputs: height
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Ron Carter" . ?e <member_of_sports_team> ?e_1 . ?e_1 <pred:name> "Los Angeles Lakers" .   } UNION { ?e <pred:name> "Rory Fallon" .  } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Ron Carter