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