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