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