Question: Who has less children, Jerry Lewis (born in 1956) or Tony Goldwyn?
Choices: Paul Simon
Simon Cowell
Jerry Lewis
Sylvester Stallone
William Henry Harrison
Rahul Dev Burman
James E. Reilly
David Byrne
Tony Goldwyn
Max Fleischer
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Jerry Lewis" . ?e <date_of_birth> ?pv_1 . ?pv_1 <pred:year> 1956 . } UNION { ?e <pred:name> "Tony Goldwyn" . } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Jerry Lewis
function: FilterYear
dependencies: 0
inputs: date of birth
1956
=
function: Find
inputs: Tony Goldwyn
function: SelectBetween
dependencies: 1
2
inputs: number of children
less
Answer: Tony Goldwyn