Question: Which one is smaller, Jason Kidd or George W. Bush?
Choices:
Richard Gere
James E. Reilly
David Byrne
Max Fleischer
George W. Bush
Paul Simon
Rahul Dev Burman
William Henry Harrison
Jason Kidd
Simon Cowell
Program:
function: Find
inputs: Jason Kidd
function: Find
inputs: George W. Bush
function: SelectBetween
dependencies: 0
1
inputs: height
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Jason Kidd" .  } UNION { ?e <pred:name> "George W. Bush" .  } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: George W. Bush