Question: Who has fewer children, Theodore Roosevelt or Zachary Taylor born on 1784-11-24?
Choices: Max Fleischer
Simon Cowell
Paul Simon
Richard Gere
Sylvester Stallone
Zachary Taylor
James E. Reilly
William Henry Harrison
Theodore Roosevelt
Rahul Dev Burman
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Theodore Roosevelt" . } UNION { ?e <pred:name> "Zachary Taylor" . ?e <date_of_birth> ?pv_1 . ?pv_1 <pred:date> "1784-11-24"^^xsd:date . } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Theodore Roosevelt
function: Find
inputs: Zachary Taylor
function: FilterDate
dependencies: 1
inputs: date of birth
1784-11-24
=
function: SelectBetween
dependencies: 0
2
inputs: number of children
less
Answer: Zachary Taylor