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