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