Question: Who is the parent of fewer kids: Rob Paulsen or Céline Dion?
Choices:
Richard Gere
Sylvester Stallone
Rahul Dev Burman
William Henry Harrison
Rob Paulsen
James E. Reilly
David Byrne
Céline Dion
Simon Cowell
Paul Simon
Program:
function: Find
inputs: Rob Paulsen
function: Find
inputs: Céline Dion
function: SelectBetween
dependencies: 0
1
inputs: number of children
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Rob Paulsen" .  } UNION { ?e <pred:name> "Céline Dion" .  } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Rob Paulsen