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