Question: Which one has fewer kids, Lily Allen or Jimmy Carter (the one that uses English) ?
Choices:
Jimmy Carter
Max Fleischer
James E. Reilly
Richard Gere
Simon Cowell
David Byrne
Paul Simon
Rahul Dev Burman
Lily Allen
Sylvester Stallone
Answer: Lily Allen
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Lily Allen" .  } UNION { ?e <pred:name> "Jimmy Carter" . ?e <languages_spoken,_written_or_signed> ?e_1 . ?e_1 <pred:name> "English" .   } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Lily Allen
function: Find
inputs: English
function: Relate
dependencies: 1
inputs: languages spoken, written or signed
backward
function: Find
inputs: Jimmy Carter
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: number of children
less