Question: Who has less children, Jason Lee (the one that has the religion Scientology) or Laura Dern?
Choices:
William Henry Harrison
Rahul Dev Burman
James E. Reilly
Sylvester Stallone
Simon Cowell
Richard Gere
Jason Lee
Max Fleischer
David Byrne
Laura Dern
Program:
function: Find
inputs: Scientology
function: Relate
dependencies: 0
inputs: religion
backward
function: Find
inputs: Jason Lee
function: And
dependencies: 1
2
function: Find
inputs: Laura Dern
function: SelectBetween
dependencies: 3
4
inputs: number of children
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Jason Lee" . ?e <religion> ?e_1 . ?e_1 <pred:name> "Scientology" .   } UNION { ?e <pred:name> "Laura Dern" .  } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Laura Dern