Question: Is Nikolai Rimsky-Korsakov or David Schwimmer the parent of more children?
Choices:
Simon Cowell
David Byrne
Max Fleischer
Sylvester Stallone
James E. Reilly
Richard Gere
Nikolai Rimsky-Korsakov
David Schwimmer
William Henry Harrison
Rahul Dev Burman
Program:
function: Find
inputs: Nikolai Rimsky-Korsakov
function: Find
inputs: David Schwimmer
function: SelectBetween
dependencies: 0
1
inputs: number of children
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Nikolai Rimsky-Korsakov" .  } UNION { ?e <pred:name> "David Schwimmer" .  } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Nikolai Rimsky-Korsakov