Question: Which has fewer children, Rosie O'Donnell or Carroll O'Connor?
Choices:
Carroll O'Connor
Simon Cowell
Max Fleischer
David Byrne
Rosie O'Donnell
Sylvester Stallone
Paul Simon
William Henry Harrison
James E. Reilly
Rahul Dev Burman
Program:
function: Find
inputs: Rosie O'Donnell
function: Find
inputs: Carroll O'Connor
function: SelectBetween
dependencies: 0
1
inputs: number of children
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Rosie O'Donnell" .  } UNION { ?e <pred:name> "Carroll O'Connor" .  } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Carroll O'Connor