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