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