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