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