Question: Is Gwen Stefani or Alfred Molina the parent of fewer children?
Choices:
James E. Reilly
Paul Simon
David Byrne
William Henry Harrison
Gwen Stefani
Sylvester Stallone
Rahul Dev Burman
Simon Cowell
Alfred Molina
Max Fleischer
Program:
function: Find
inputs: Gwen Stefani
function: Find
inputs: Alfred Molina
function: SelectBetween
dependencies: 0
1
inputs: number of children
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Gwen Stefani" .  } UNION { ?e <pred:name> "Alfred Molina" .  } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Alfred Molina