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