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