Question: Who has fewer offspring: George Washington who is a citizen of the Kingdom of Great Britain, or Julia Ormond?
Choices: Paul Simon
Sylvester Stallone
James E. Reilly
Max Fleischer
Richard Gere
Julia Ormond
George Washington
Rahul Dev Burman
William Henry Harrison
David Byrne
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "George Washington" . ?e <country_of_citizenship> ?e_1 . ?e_1 <pred:name> "Kingdom of Great Britain" .   } UNION { ?e <pred:name> "Julia Ormond" .  } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Kingdom of Great Britain
function: Relate
dependencies: 0
inputs: country of citizenship
backward
function: Find
inputs: George Washington
function: And
dependencies: 1
2
function: Find
inputs: Julia Ormond
function: SelectBetween
dependencies: 3
4
inputs: number of children
less
Answer: George Washington