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