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