Question: Who is shorter, Dwight D. Eisenhower or Ulysses S. Grant?>
Choices:
Richard Gere
Sylvester Stallone
Ulysses S. Grant
Simon Cowell
Paul Simon
Dwight D. Eisenhower
William Henry Harrison
Max Fleischer
Rahul Dev Burman
James E. Reilly
Program:
function: Find
inputs: Dwight D. Eisenhower
function: Find
inputs: Ulysses S. Grant
function: SelectBetween
dependencies: 0
1
inputs: height
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Dwight D. Eisenhower" .  } UNION { ?e <pred:name> "Ulysses S. Grant" .  } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Ulysses S. Grant