Question: Does Abhishek Bachchan or Frank Marshall (who is a cast member of Raiders of the Lost Ark) have more children?
Choices:
William Henry Harrison
Rahul Dev Burman
Richard Gere
Paul Simon
Abhishek Bachchan
David Byrne
James E. Reilly
Sylvester Stallone
Simon Cowell
Frank Marshall
Answer: Frank Marshall
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Abhishek Bachchan" .  } UNION { ?e <pred:name> "Frank Marshall" . ?e_1 <cast_member> ?e . ?e_1 <pred:name> "Raiders of the Lost Ark" .   } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Abhishek Bachchan
function: Find
inputs: Raiders of the Lost Ark
function: Relate
dependencies: 1
inputs: cast member
forward
function: Find
inputs: Frank Marshall
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: number of children
greater