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