Question: Which one has more kids, Rob Paulsen or John Rhys-Davies?
Choices:
John Rhys-Davies
Paul Simon
Simon Cowell
James E. Reilly
Richard Gere
Sylvester Stallone
Rob Paulsen
David Byrne
William Henry Harrison
Rahul Dev Burman
Program:
function: Find
inputs: Rob Paulsen
function: Find
inputs: John Rhys-Davies
function: SelectBetween
dependencies: 0
1
inputs: number of children
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Rob Paulsen" .  } UNION { ?e <pred:name> "John Rhys-Davies" .  } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: John Rhys-Davies