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