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