Question: Does David Beckham or John Cho have fewer kids?
Choices:
John Cho
Rahul Dev Burman
David Byrne
William Henry Harrison
Richard Gere
Simon Cowell
Max Fleischer
David Beckham
James E. Reilly
Sylvester Stallone
Program:
function: Find
inputs: David Beckham
function: Find
inputs: John Cho
function: SelectBetween
dependencies: 0
1
inputs: number of children
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "David Beckham" .  } UNION { ?e <pred:name> "John Cho" .  } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: John Cho