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