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