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