Question: Who has more children, George Washington (the one whose date of burial or cremation is 1799-12-18) or Catherine Zeta-Jones?
Choices: Simon Cowell
William Henry Harrison
George Washington
Rahul Dev Burman
James E. Reilly
David Byrne
Catherine Zeta-Jones
Sylvester Stallone
Max Fleischer
Paul Simon
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "George Washington" . ?e <date_of_burial_or_cremation> ?pv_1 . ?pv_1 <pred:date> "1799-12-18"^^xsd:date . } UNION { ?e <pred:name> "Catherine Zeta-Jones" . } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: George Washington
function: FilterDate
dependencies: 0
inputs: date of burial or cremation
1799-12-18
=
function: Find
inputs: Catherine Zeta-Jones
function: SelectBetween
dependencies: 1
2
inputs: number of children
greater
Answer: Catherine Zeta-Jones