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