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