Question: Who is shorter in height, Amrish Puri or Emma Watson?
Choices:
Max Fleischer
David Byrne
Simon Cowell
Sylvester Stallone
Paul Simon
Rahul Dev Burman
Emma Watson
James E. Reilly
Richard Gere
William Henry Harrison
Program:
function: Find
inputs: Amrish Puri
function: Find
inputs: Emma Watson
function: SelectBetween
dependencies: 0
1
inputs: height
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Amrish Puri" .  } UNION { ?e <pred:name> "Emma Watson" .  } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Emma Watson