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