Question: Does the priest Jerry Lewis or Mary Pickford have more kids?
Choices: Jerry Lewis
Richard Gere
James E. Reilly
Mary Pickford
Sylvester Stallone
William Henry Harrison
David Byrne
Simon Cowell
Paul Simon
Max Fleischer
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Jerry Lewis" . ?e <occupation> ?e_1 . ?e_1 <pred:name> "priest" .   } UNION { ?e <pred:name> "Mary Pickford" .  } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: priest
function: Relate
dependencies: 0
inputs: occupation
backward
function: Find
inputs: Jerry Lewis
function: And
dependencies: 1
2
function: Find
inputs: Mary Pickford
function: SelectBetween
dependencies: 3
4
inputs: number of children
greater
Answer: Jerry Lewis