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