Question: Does Gary Oldman or David Beckham have more kids?
Choices: Rahul Dev Burman
James E. Reilly
Simon Cowell
William Henry Harrison
Paul Simon
Sylvester Stallone
Richard Gere
David Byrne
David Beckham
Gary Oldman
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Gary Oldman" .  } UNION { ?e <pred:name> "David Beckham" .  } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Gary Oldman
function: Find
inputs: David Beckham
function: SelectBetween
dependencies: 0
1
inputs: number of children
greater
Answer: David Beckham