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