Question: Who is taller, Megan Fox or Lee Grant (the one that is a member of Stoke City F.C.)?
Choices:
Lee Grant
Richard Gere
Paul Simon
Max Fleischer
James E. Reilly
Rahul Dev Burman
William Henry Harrison
Megan Fox
David Byrne
Sylvester Stallone
Program:
function: Find
inputs: Megan Fox
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> "Megan Fox" .  } 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