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