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