Question: Which one, Sam Raimi or Woodrow Wilson, has a greater number of children?
Choices: Rahul Dev Burman
Woodrow Wilson
Richard Gere
David Byrne
James E. Reilly
Max Fleischer
Simon Cowell
William Henry Harrison
Sam Raimi
Paul Simon
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Sam Raimi" .  } UNION { ?e <pred:name> "Woodrow Wilson" .  } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Sam Raimi
function: Find
inputs: Woodrow Wilson
function: SelectBetween
dependencies: 0
1
inputs: number of children
greater
Answer: Sam Raimi