Question: Which one has fewer kids, Drew Barrymore or Warren G. Harding (who died on 2nd August 1923) ?
Choices: Max Fleischer
David Byrne
James E. Reilly
Sylvester Stallone
Rahul Dev Burman
Simon Cowell
William Henry Harrison
Paul Simon
Richard Gere
Warren G. Harding
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Drew Barrymore" . } UNION { ?e <pred:name> "Warren G. Harding" . ?e <date_of_death> ?pv_1 . ?pv_1 <pred:date> "1923-08-02"^^xsd:date . } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Drew Barrymore
function: Find
inputs: Warren G. Harding
function: FilterDate
dependencies: 1
inputs: date of death
1923-08-02
=
function: SelectBetween
dependencies: 0
2
inputs: number of children
less
Answer: Warren G. Harding