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