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