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