Question: Who is taller: Eva Longoria, or Chris Carter of the Pittsburgh Steelers?
Choices:
David Byrne
Simon Cowell
William Henry Harrison
Eva Longoria
Max Fleischer
Rahul Dev Burman
Chris Carter
Paul Simon
Richard Gere
Sylvester Stallone
Program:
function: Find
inputs: Eva Longoria
function: Find
inputs: Pittsburgh Steelers
function: Relate
dependencies: 1
inputs: member of sports team
backward
function: Find
inputs: Chris Carter
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> "Chris Carter" . ?e <member_of_sports_team> ?e_1 . ?e_1 <pred:name> "Pittsburgh Steelers" .   } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Chris Carter