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