Question: Which one, Pamela Anderson or Lionel Messi, has greater height?
Choices: Lionel Messi
Simon Cowell
James E. Reilly
Sylvester Stallone
Rahul Dev Burman
Pamela Anderson
Richard Gere
Paul Simon
Max Fleischer
William Henry Harrison
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Pamela Anderson" .  } UNION { ?e <pred:name> "Lionel Messi" .  } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Pamela Anderson
function: Find
inputs: Lionel Messi
function: SelectBetween
dependencies: 0
1
inputs: height
greater
Answer: Lionel Messi