Question: Who is taller, Eva Longoria or Scott Wilson (from Rangers F.C.)?
Choices:
Rahul Dev Burman
Eva Longoria
David Byrne
Scott Wilson
James E. Reilly
William Henry Harrison
Simon Cowell
Sylvester Stallone
Richard Gere
Max Fleischer
Program:
function: Find
inputs: Eva Longoria
function: Find
inputs: Rangers F.C.
function: Relate
dependencies: 1
inputs: member of sports team
backward
function: Find
inputs: Scott Wilson
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: height
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Eva Longoria" .  } UNION { ?e <pred:name> "Scott Wilson" . ?e <member_of_sports_team> ?e_1 . ?e_1 <pred:name> "Rangers F.C." .   } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Scott Wilson