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