Question: Who has fewer children, John Slattery or Thomas Jefferson (the one that died in Charlottesville)?
Choices: John Slattery
David Byrne
Paul Simon
Richard Gere
Sylvester Stallone
James E. Reilly
William Henry Harrison
Simon Cowell
Rahul Dev Burman
Thomas Jefferson
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "John Slattery" .  } UNION { ?e <pred:name> "Thomas Jefferson" . ?e <place_of_death> ?e_1 . ?e_1 <pred:name> "Charlottesville" .   } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: John Slattery
function: Find
inputs: Charlottesville
function: Relate
dependencies: 1
inputs: place of death
backward
function: Find
inputs: Thomas Jefferson
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: number of children
less
Answer: John Slattery