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