Question: Who is taller, Bono or Tom Hanks?
Choices:
Richard Gere
David Byrne
Tom Hanks
Paul Simon
William Henry Harrison
Bono
Max Fleischer
Sylvester Stallone
Simon Cowell
James E. Reilly
Program:
function: Find
inputs: Bono
function: Find
inputs: Tom Hanks
function: SelectBetween
dependencies: 0
1
inputs: height
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Bono" .  } UNION { ?e <pred:name> "Tom Hanks" .  } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Tom Hanks