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