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