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