Question: Who has fewer kids, puppeteer Jerry Nelson or Jason Priestley?
Choices: James E. Reilly
Paul Simon
Simon Cowell
Rahul Dev Burman
Max Fleischer
William Henry Harrison
Jason Priestley
Sylvester Stallone
Jerry Nelson
Richard Gere
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Jerry Nelson" . ?e <occupation> ?e_1 . ?e_1 <pred:name> "puppeteer" .   } UNION { ?e <pred:name> "Jason Priestley" .  } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: puppeteer
function: Relate
dependencies: 0
inputs: occupation
backward
function: Find
inputs: Jerry Nelson
function: And
dependencies: 1
2
function: Find
inputs: Jason Priestley
function: SelectBetween
dependencies: 3
4
inputs: number of children
less
Answer: Jerry Nelson