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