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