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