Question: Which one has more children between Céline Dion and Arnold Schwarzenegger?
Choices:
Paul Simon
James E. Reilly
William Henry Harrison
Richard Gere
Simon Cowell
Sylvester Stallone
Arnold Schwarzenegger
David Byrne
Rahul Dev Burman
Max Fleischer
Program:
function: Find
inputs: Céline Dion
function: Find
inputs: Arnold Schwarzenegger
function: SelectBetween
dependencies: 0
1
inputs: number of children
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Céline Dion" .  } UNION { ?e <pred:name> "Arnold Schwarzenegger" .  } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Arnold Schwarzenegger