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