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