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