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