Question: Who has fewer children, Jane Alexander, who uses the language English, or Patricia Heaton?
Choices: Sylvester Stallone
Jane Alexander
William Henry Harrison
James E. Reilly
Max Fleischer
Paul Simon
Patricia Heaton
David Byrne
Richard Gere
Rahul Dev Burman
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Jane Alexander" . ?e <languages_spoken,_written_or_signed> ?e_1 . ?e_1 <pred:name> "English" .   } UNION { ?e <pred:name> "Patricia Heaton" .  } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: English
function: Relate
dependencies: 0
inputs: languages spoken, written or signed
backward
function: Find
inputs: Jane Alexander
function: And
dependencies: 1
2
function: Find
inputs: Patricia Heaton
function: SelectBetween
dependencies: 3
4
inputs: number of children
less
Answer: Jane Alexander