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