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