Question: Who has fewer children, Akkineni Nagarjuna or Peter Capaldi?
Choices: Simon Cowell
Akkineni Nagarjuna
Richard Gere
Max Fleischer
Paul Simon
David Byrne
Peter Capaldi
Sylvester Stallone
Rahul Dev Burman
William Henry Harrison
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Akkineni Nagarjuna" .  } UNION { ?e <pred:name> "Peter Capaldi" .  } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Akkineni Nagarjuna
function: Find
inputs: Peter Capaldi
function: SelectBetween
dependencies: 0
1
inputs: number of children
less
Answer: Peter Capaldi