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