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