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