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