Question: Which one is taller, Michael O'Neill (the one that is a member of Wigan Athletic F.C.) or Michael Phelps ?
Choices:
David Byrne
Michael O'Neill
James E. Reilly
Michael Phelps
Paul Simon
William Henry Harrison
Richard Gere
Rahul Dev Burman
Simon Cowell
Sylvester Stallone
Answer: Michael Phelps
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Michael O'Neill" . ?e <member_of_sports_team> ?e_1 . ?e_1 <pred:name> "Wigan Athletic F.C." .   } UNION { ?e <pred:name> "Michael Phelps" .  } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Wigan Athletic F.C.
function: Relate
dependencies: 0
inputs: member of sports team
backward
function: Find
inputs: Michael O'Neill
function: And
dependencies: 1
2
function: Find
inputs: Michael Phelps
function: SelectBetween
dependencies: 3
4
inputs: height
greater