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