Question: Who has fewer children, Warren G. Harding (the one that was born in Warren) or John Leguizamo?
Choices: Rahul Dev Burman
Paul Simon
Richard Gere
Warren G. Harding
John Leguizamo
David Byrne
Simon Cowell
James E. Reilly
William Henry Harrison
Max Fleischer
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Warren G. Harding" . ?e <place_of_birth> ?e_1 . ?e_1 <pred:name> "Warren" .   } UNION { ?e <pred:name> "John Leguizamo" .  } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Warren
function: Relate
dependencies: 0
inputs: place of birth
backward
function: Find
inputs: Warren G. Harding
function: And
dependencies: 1
2
function: Find
inputs: John Leguizamo
function: SelectBetween
dependencies: 3
4
inputs: number of children
less
Answer: Warren G. Harding