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