Question: Who has fewer children, Dean Stockwell or Jason Lee (the one that is a cast member of Mumford)?
Choices:
William Henry Harrison
Paul Simon
Dean Stockwell
Simon Cowell
David Byrne
James E. Reilly
Richard Gere
Rahul Dev Burman
Max Fleischer
Jason Lee
Program:
function: Find
inputs: Dean Stockwell
function: Find
inputs: Mumford
function: Relate
dependencies: 1
inputs: cast member
forward
function: Find
inputs: Jason Lee
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: number of children
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Dean Stockwell" .  } UNION { ?e <pred:name> "Jason Lee" . ?e_1 <cast_member> ?e . ?e_1 <pred:name> "Mumford" .   } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Dean Stockwell