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