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