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