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