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