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