Question: Does Frank Marshall (producer of The Sixth Sense) or Henry Gibson have more children?
Choices: Sylvester Stallone
Richard Gere
David Byrne
William Henry Harrison
Simon Cowell
Rahul Dev Burman
Frank Marshall
Henry Gibson
James E. Reilly
Max Fleischer
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Frank Marshall" . ?e_1 <producer> ?e . ?e_1 <pred:name> "The Sixth Sense" .   } UNION { ?e <pred:name> "Henry Gibson" .  } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: The Sixth Sense
function: Relate
dependencies: 0
inputs: producer
forward
function: Find
inputs: Frank Marshall
function: And
dependencies: 1
2
function: Find
inputs: Henry Gibson
function: SelectBetween
dependencies: 3
4
inputs: number of children
greater
Answer: Henry Gibson