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