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