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