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