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