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