Question: Who has less children, Rivers Cuomo or George Washington (the notable person that had smallpox)?
Choices:
Sylvester Stallone
Max Fleischer
Simon Cowell
William Henry Harrison
Richard Gere
Rahul Dev Burman
Paul Simon
James E. Reilly
David Byrne
George Washington
Program:
function: Find
inputs: Rivers Cuomo
function: Find
inputs: smallpox
function: Relate
dependencies: 1
inputs: notable people with this condition
forward
function: Find
inputs: George Washington
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: number of children
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Rivers Cuomo" .  } UNION { ?e <pred:name> "George Washington" . ?e_1 <notable_people_with_this_condition> ?e . ?e_1 <pred:name> "smallpox" .   } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: George Washington