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