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