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