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