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