Question: Is James Gandolfini or Barack Obama taller?
Choices:
Simon Cowell
William Henry Harrison
Sylvester Stallone
James Gandolfini
Max Fleischer
James E. Reilly
Rahul Dev Burman
Paul Simon
David Byrne
Barack Obama
Program:
function: Find
inputs: James Gandolfini
function: Find
inputs: Barack Obama
function: SelectBetween
dependencies: 0
1
inputs: height
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "James Gandolfini" .  } UNION { ?e <pred:name> "Barack Obama" .  } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Barack Obama