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