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