Question: Who has more offspring: Dwight D. Eisenhower or the Michelle Williams whose career began in 1989?
Choices: Rahul Dev Burman
Michelle Williams
James E. Reilly
David Byrne
Simon Cowell
Paul Simon
Max Fleischer
Sylvester Stallone
Dwight D. Eisenhower
William Henry Harrison
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Dwight D. Eisenhower" . } UNION { ?e <pred:name> "Michelle Williams" . ?e <work_period_(start)> ?pv_1 . ?pv_1 <pred:year> 1989 . } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Dwight D. Eisenhower
function: Find
inputs: Michelle Williams
function: FilterYear
dependencies: 1
inputs: work period (start)
1989
=
function: SelectBetween
dependencies: 0
2
inputs: number of children
greater
Answer: Dwight D. Eisenhower