Question: Who is shorter, Lee Grant (the one that is a member of Derby County F.C.) or Leo Bertos?
Choices:
Richard Gere
Simon Cowell
Sylvester Stallone
Paul Simon
Lee Grant
Max Fleischer
David Byrne
William Henry Harrison
Leo Bertos
Rahul Dev Burman
Program:
function: Find
inputs: Derby County F.C.
function: Relate
dependencies: 0
inputs: member of sports team
backward
function: Find
inputs: Lee Grant
function: And
dependencies: 1
2
function: Find
inputs: Leo Bertos
function: SelectBetween
dependencies: 3
4
inputs: height
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Lee Grant" . ?e <member_of_sports_team> ?e_1 . ?e_1 <pred:name> "Derby County F.C." .   } UNION { ?e <pred:name> "Leo Bertos" .  } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Leo Bertos