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