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