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