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