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