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