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