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