Question: Is Chris Paul or Alou Diarra shorter?
Choices:
Chris Paul
Paul Simon
David Byrne
Max Fleischer
Richard Gere
William Henry Harrison
Alou Diarra
Rahul Dev Burman
Simon Cowell
Sylvester Stallone
Program:
function: Find
inputs: Chris Paul
function: Find
inputs: Alou Diarra
function: SelectBetween
dependencies: 0
1
inputs: height
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Chris Paul" .  } UNION { ?e <pred:name> "Alou Diarra" .  } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Chris Paul