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