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