Question: Between Kelly Preston and Adam Carolla, which of them has fewer kids?
Choices:
Richard Gere
Sylvester Stallone
David Byrne
Simon Cowell
Rahul Dev Burman
Max Fleischer
Paul Simon
Adam Carolla
William Henry Harrison
James E. Reilly
Program:
function: Find
inputs: Kelly Preston
function: Find
inputs: Adam Carolla
function: SelectBetween
dependencies: 0
1
inputs: number of children
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Kelly Preston" .  } UNION { ?e <pred:name> "Adam Carolla" .  } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Adam Carolla