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