Question: Who is shorter, Ki Sung-yueng or James K. Polk?
Choices:
David Byrne
James K. Polk
Sylvester Stallone
Paul Simon
Max Fleischer
Simon Cowell
James E. Reilly
Ki Sung-yueng
Richard Gere
Rahul Dev Burman
Program:
function: Find
inputs: Ki Sung-yueng
function: Find
inputs: James K. Polk
function: SelectBetween
dependencies: 0
1
inputs: height
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Ki Sung-yueng" .  } UNION { ?e <pred:name> "James K. Polk" .  } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: James K. Polk