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