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