Question: Does Kirstie Alley or John Dingell, Jr. have fewer offspring?
Choices:
Rahul Dev Burman
David Byrne
William Henry Harrison
Simon Cowell
James E. Reilly
Paul Simon
Kirstie Alley
Max Fleischer
John Dingell, Jr.
Sylvester Stallone
Program:
function: Find
inputs: Kirstie Alley
function: Find
inputs: John Dingell, Jr.
function: SelectBetween
dependencies: 0
1
inputs: number of children
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Kirstie Alley" .  } UNION { ?e <pred:name> "John Dingell, Jr." .  } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Kirstie Alley