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