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