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