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