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