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