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