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