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