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