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