Question: Who has more children, Idris Elba or Peter Capaldi?
Choices: Simon Cowell
Idris Elba
David Byrne
Peter Capaldi
Rahul Dev Burman
Max Fleischer
James E. Reilly
William Henry Harrison
Paul Simon
Richard Gere
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Idris Elba" .  } UNION { ?e <pred:name> "Peter Capaldi" .  } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Idris Elba
function: Find
inputs: Peter Capaldi
function: SelectBetween
dependencies: 0
1
inputs: number of children
greater
Answer: Idris Elba