Question: Is Leon Trotsky or Jermaine Easter shorter than the other?
Choices:
Paul Simon
Sylvester Stallone
James E. Reilly
William Henry Harrison
Richard Gere
David Byrne
Simon Cowell
Jermaine Easter
Leon Trotsky
Rahul Dev Burman
Program:
function: Find
inputs: Leon Trotsky
function: Find
inputs: Jermaine Easter
function: SelectBetween
dependencies: 0
1
inputs: height
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Leon Trotsky" .  } UNION { ?e <pred:name> "Jermaine Easter" .  } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Leon Trotsky